7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/auditmanager/model/RoleType.h>
50 inline void SetComment(
const char* value) { m_commentHasBeenSet =
true; m_comment.assign(value); }
64 inline void SetControlSetId(
const char* value) { m_controlSetIdHasBeenSet =
true; m_controlSetId.assign(value); }
78 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
96 inline void SetRoleType(
RoleType&& value) { m_roleTypeHasBeenSet =
true; m_roleType = std::move(value); }
103 bool m_commentHasBeenSet =
false;
106 bool m_controlSetIdHasBeenSet =
false;
109 bool m_roleArnHasBeenSet =
false;
112 bool m_roleTypeHasBeenSet =
false;
void SetComment(const char *value)
void SetComment(Aws::String &&value)
CreateDelegationRequest & WithRoleArn(Aws::String &&value)
void SetControlSetId(const Aws::String &value)
void SetRoleType(RoleType &&value)
void SetComment(const Aws::String &value)
CreateDelegationRequest & WithControlSetId(Aws::String &&value)
bool RoleTypeHasBeenSet() const
AWS_AUDITMANAGER_API CreateDelegationRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateDelegationRequest & WithComment(const Aws::String &value)
const Aws::String & GetControlSetId() const
bool RoleArnHasBeenSet() const
void SetRoleType(const RoleType &value)
CreateDelegationRequest & WithComment(Aws::String &&value)
CreateDelegationRequest & WithRoleType(RoleType &&value)
void SetControlSetId(const char *value)
const RoleType & GetRoleType() const
const Aws::String & GetComment() const
AWS_AUDITMANAGER_API CreateDelegationRequest(Aws::Utils::Json::JsonView jsonValue)
void SetRoleArn(const Aws::String &value)
CreateDelegationRequest & WithComment(const char *value)
const Aws::String & GetRoleArn() const
AWS_AUDITMANAGER_API CreateDelegationRequest()
CreateDelegationRequest & WithRoleType(const RoleType &value)
void SetControlSetId(Aws::String &&value)
CreateDelegationRequest & WithRoleArn(const char *value)
CreateDelegationRequest & WithControlSetId(const Aws::String &value)
bool CommentHasBeenSet() const
CreateDelegationRequest & WithControlSetId(const char *value)
void SetRoleArn(const char *value)
void SetRoleArn(Aws::String &&value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ControlSetIdHasBeenSet() const
CreateDelegationRequest & WithRoleArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue