7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/auditmanager/model/RoleType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace AuditManager {
42 template <
typename CommentT = Aws::String>
44 m_commentHasBeenSet =
true;
45 m_comment = std::forward<CommentT>(value);
47 template <
typename CommentT = Aws::String>
60 template <
typename ControlSetIdT = Aws::String>
62 m_controlSetIdHasBeenSet =
true;
63 m_controlSetId = std::forward<ControlSetIdT>(value);
65 template <
typename ControlSetIdT = Aws::String>
78 template <
typename RoleArnT = Aws::String>
80 m_roleArnHasBeenSet =
true;
81 m_roleArn = std::forward<RoleArnT>(value);
83 template <
typename RoleArnT = Aws::String>
102 m_roleTypeHasBeenSet =
true;
118 bool m_commentHasBeenSet =
false;
119 bool m_controlSetIdHasBeenSet =
false;
120 bool m_roleArnHasBeenSet =
false;
121 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