7#include <aws/assurance/AssuranceRequest.h>
8#include <aws/assurance/Assurance_EXPORTS.h>
9#include <aws/assurance/model/AssignmentScope.h>
10#include <aws/assurance/model/PrincipalType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
42 template <
typename EnvironmentArnT = Aws::String>
44 m_environmentArnHasBeenSet =
true;
45 m_environmentArn = std::forward<EnvironmentArnT>(value);
47 template <
typename EnvironmentArnT = Aws::String>
61 m_principalTypeHasBeenSet =
true;
62 m_principalType = value;
76 template <
typename PrincipalIdT = Aws::String>
78 m_principalIdHasBeenSet =
true;
79 m_principalId = std::forward<PrincipalIdT>(value);
81 template <
typename PrincipalIdT = Aws::String>
94 template <
typename PermissionSetIdT = Aws::String>
96 m_permissionSetIdHasBeenSet =
true;
97 m_permissionSetId = std::forward<PermissionSetIdT>(value);
99 template <
typename PermissionSetIdT = Aws::String>
112 template <
typename ScopesT = Aws::Vector<AssignmentScope>>
114 m_scopesHasBeenSet =
true;
115 m_scopes = std::forward<ScopesT>(value);
117 template <
typename ScopesT = Aws::Vector<AssignmentScope>>
122 template <
typename ScopesT = AssignmentScope>
124 m_scopesHasBeenSet =
true;
125 m_scopes.emplace_back(std::forward<ScopesT>(value));
139 bool m_environmentArnHasBeenSet =
false;
140 bool m_principalTypeHasBeenSet =
false;
141 bool m_principalIdHasBeenSet =
false;
142 bool m_permissionSetIdHasBeenSet =
false;
143 bool m_scopesHasBeenSet =
false;
AssignPermissionSetRequest & WithEnvironmentArn(EnvironmentArnT &&value)
AssignPermissionSetRequest & AddScopes(ScopesT &&value)
void SetPermissionSetId(PermissionSetIdT &&value)
AWS_ASSURANCE_API AssignPermissionSetRequest()=default
const Aws::Vector< AssignmentScope > & GetScopes() const
bool PermissionSetIdHasBeenSet() const
bool EnvironmentArnHasBeenSet() const
AWS_ASSURANCE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetScopes(ScopesT &&value)
AWS_ASSURANCE_API Aws::String SerializePayload() const override
const Aws::String & GetEnvironmentArn() const
const Aws::String & GetPermissionSetId() const
void SetPrincipalId(PrincipalIdT &&value)
PrincipalType GetPrincipalType() const
bool PrincipalTypeHasBeenSet() const
AssignPermissionSetRequest & WithPrincipalType(PrincipalType value)
bool ScopesHasBeenSet() const
bool PrincipalIdHasBeenSet() const
AssignPermissionSetRequest & WithPrincipalId(PrincipalIdT &&value)
AssignPermissionSetRequest & WithScopes(ScopesT &&value)
void SetPrincipalType(PrincipalType value)
void SetEnvironmentArn(EnvironmentArnT &&value)
AssignPermissionSetRequest & WithPermissionSetId(PermissionSetIdT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetPrincipalId() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector