7#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
8#include <aws/sso-admin/SSOAdminRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sso-admin/model/PrincipalType.h>
11#include <aws/sso-admin/model/TargetType.h>
51 inline void SetInstanceArn(
const char* value) { m_instanceArnHasBeenSet =
true; m_instanceArn.assign(value); }
66 inline void SetPermissionSetArn(
const char* value) { m_permissionSetArnHasBeenSet =
true; m_permissionSetArn.assign(value); }
84 inline void SetPrincipalId(
const char* value) { m_principalIdHasBeenSet =
true; m_principalId.assign(value); }
111 inline void SetTargetId(
const char* value) { m_targetIdHasBeenSet =
true; m_targetId.assign(value); }
131 bool m_instanceArnHasBeenSet =
false;
134 bool m_permissionSetArnHasBeenSet =
false;
137 bool m_principalIdHasBeenSet =
false;
140 bool m_principalTypeHasBeenSet =
false;
143 bool m_targetIdHasBeenSet =
false;
146 bool m_targetTypeHasBeenSet =
false;
CreateAccountAssignmentRequest & WithInstanceArn(Aws::String &&value)
void SetPrincipalType(const PrincipalType &value)
bool PrincipalTypeHasBeenSet() const
bool PrincipalIdHasBeenSet() const
CreateAccountAssignmentRequest & WithPrincipalId(Aws::String &&value)
bool PermissionSetArnHasBeenSet() const
bool TargetIdHasBeenSet() const
CreateAccountAssignmentRequest & WithTargetId(Aws::String &&value)
const Aws::String & GetPermissionSetArn() const
CreateAccountAssignmentRequest & WithInstanceArn(const Aws::String &value)
CreateAccountAssignmentRequest & WithPrincipalId(const char *value)
AWS_SSOADMIN_API CreateAccountAssignmentRequest()
bool InstanceArnHasBeenSet() const
void SetPrincipalId(Aws::String &&value)
bool TargetTypeHasBeenSet() const
CreateAccountAssignmentRequest & WithPrincipalId(const Aws::String &value)
const TargetType & GetTargetType() const
void SetTargetId(const char *value)
const Aws::String & GetPrincipalId() const
const Aws::String & GetInstanceArn() const
void SetTargetType(TargetType &&value)
void SetPermissionSetArn(const Aws::String &value)
const Aws::String & GetTargetId() const
CreateAccountAssignmentRequest & WithPermissionSetArn(Aws::String &&value)
CreateAccountAssignmentRequest & WithPrincipalType(const PrincipalType &value)
void SetTargetId(const Aws::String &value)
const PrincipalType & GetPrincipalType() const
CreateAccountAssignmentRequest & WithPermissionSetArn(const Aws::String &value)
void SetTargetType(const TargetType &value)
void SetInstanceArn(const Aws::String &value)
CreateAccountAssignmentRequest & WithTargetId(const char *value)
CreateAccountAssignmentRequest & WithInstanceArn(const char *value)
void SetPrincipalId(const Aws::String &value)
void SetPermissionSetArn(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_SSOADMIN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateAccountAssignmentRequest & WithTargetType(const TargetType &value)
AWS_SSOADMIN_API Aws::String SerializePayload() const override
void SetPrincipalId(const char *value)
CreateAccountAssignmentRequest & WithPermissionSetArn(const char *value)
CreateAccountAssignmentRequest & WithTargetId(const Aws::String &value)
void SetTargetId(Aws::String &&value)
void SetInstanceArn(const char *value)
CreateAccountAssignmentRequest & WithPrincipalType(PrincipalType &&value)
void SetPermissionSetArn(const char *value)
CreateAccountAssignmentRequest & WithTargetType(TargetType &&value)
void SetPrincipalType(PrincipalType &&value)
void SetInstanceArn(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String