7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/auditmanager/model/RoleType.h>
48 template<
typename CommentT = Aws::String>
49 void SetComment(CommentT&& value) { m_commentHasBeenSet =
true; m_comment = std::forward<CommentT>(value); }
50 template<
typename CommentT = Aws::String>
60 template<
typename ControlSetIdT = Aws::String>
61 void SetControlSetId(ControlSetIdT&& value) { m_controlSetIdHasBeenSet =
true; m_controlSetId = std::forward<ControlSetIdT>(value); }
62 template<
typename ControlSetIdT = Aws::String>
72 template<
typename RoleArnT = Aws::String>
73 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
74 template<
typename RoleArnT = Aws::String>
95 bool m_commentHasBeenSet =
false;
98 bool m_controlSetIdHasBeenSet =
false;
101 bool m_roleArnHasBeenSet =
false;
104 bool m_roleTypeHasBeenSet =
false;
CreateDelegationRequest & WithRoleType(RoleType value)
CreateDelegationRequest & WithRoleArn(RoleArnT &&value)
RoleType GetRoleType() const
bool RoleTypeHasBeenSet() const
AWS_AUDITMANAGER_API CreateDelegationRequest()=default
AWS_AUDITMANAGER_API CreateDelegationRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetControlSetId() const
bool RoleArnHasBeenSet() const
void SetControlSetId(ControlSetIdT &&value)
const Aws::String & GetComment() const
AWS_AUDITMANAGER_API CreateDelegationRequest(Aws::Utils::Json::JsonView jsonValue)
void SetRoleArn(RoleArnT &&value)
CreateDelegationRequest & WithControlSetId(ControlSetIdT &&value)
const Aws::String & GetRoleArn() const
bool CommentHasBeenSet() const
void SetRoleType(RoleType value)
void SetComment(CommentT &&value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ControlSetIdHasBeenSet() const
CreateDelegationRequest & WithComment(CommentT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue