7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/auditmanager/model/DelegationStatus.h>
10#include <aws/auditmanager/model/RoleType.h>
11#include <aws/core/utils/DateTime.h>
51 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
52 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
66 inline void SetAssessmentName(
const char* value) { m_assessmentNameHasBeenSet =
true; m_assessmentName.assign(value); }
81 inline void SetAssessmentId(
const char* value) { m_assessmentIdHasBeenSet =
true; m_assessmentId.assign(value); }
107 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
163 inline void SetControlSetId(
const char* value) { m_controlSetIdHasBeenSet =
true; m_controlSetId.assign(value); }
177 inline void SetComment(
const char* value) { m_commentHasBeenSet =
true; m_comment.assign(value); }
191 inline void SetCreatedBy(
const char* value) { m_createdByHasBeenSet =
true; m_createdBy.assign(value); }
199 bool m_idHasBeenSet =
false;
202 bool m_assessmentNameHasBeenSet =
false;
205 bool m_assessmentIdHasBeenSet =
false;
208 bool m_statusHasBeenSet =
false;
211 bool m_roleArnHasBeenSet =
false;
214 bool m_roleTypeHasBeenSet =
false;
217 bool m_creationTimeHasBeenSet =
false;
220 bool m_lastUpdatedHasBeenSet =
false;
223 bool m_controlSetIdHasBeenSet =
false;
226 bool m_commentHasBeenSet =
false;
229 bool m_createdByHasBeenSet =
false;
void SetRoleType(const RoleType &value)
AWS_AUDITMANAGER_API Delegation & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CreationTimeHasBeenSet() const
Delegation & WithCreatedBy(Aws::String &&value)
void SetRoleArn(Aws::String &&value)
void SetAssessmentId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTime() const
bool CommentHasBeenSet() const
void SetRoleArn(const Aws::String &value)
Delegation & WithStatus(DelegationStatus &&value)
bool AssessmentNameHasBeenSet() const
void SetId(Aws::String &&value)
Delegation & WithComment(const char *value)
Delegation & WithAssessmentName(const Aws::String &value)
Delegation & WithId(Aws::String &&value)
void SetAssessmentId(const char *value)
Delegation & WithAssessmentName(Aws::String &&value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreatedBy(const Aws::String &value)
const Aws::String & GetAssessmentId() const
void SetAssessmentId(const Aws::String &value)
Delegation & WithRoleArn(const Aws::String &value)
bool RoleTypeHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdated() const
Delegation & WithRoleArn(Aws::String &&value)
Delegation & WithComment(const Aws::String &value)
const Aws::String & GetId() const
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetId(const Aws::String &value)
Delegation & WithRoleArn(const char *value)
AWS_AUDITMANAGER_API Delegation()
void SetControlSetId(const char *value)
Delegation & WithControlSetId(Aws::String &&value)
Delegation & WithControlSetId(const char *value)
void SetStatus(DelegationStatus &&value)
void SetAssessmentName(const char *value)
void SetControlSetId(const Aws::String &value)
Delegation & WithAssessmentId(const char *value)
const Aws::String & GetAssessmentName() const
Delegation & WithStatus(const DelegationStatus &value)
bool CreatedByHasBeenSet() const
Delegation & WithCreationTime(Aws::Utils::DateTime &&value)
void SetComment(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
Delegation & WithCreationTime(const Aws::Utils::DateTime &value)
bool AssessmentIdHasBeenSet() const
Delegation & WithId(const Aws::String &value)
void SetRoleArn(const char *value)
bool RoleArnHasBeenSet() const
const Aws::String & GetComment() const
bool ControlSetIdHasBeenSet() const
Delegation & WithId(const char *value)
Delegation & WithLastUpdated(const Aws::Utils::DateTime &value)
void SetAssessmentName(const Aws::String &value)
bool LastUpdatedHasBeenSet() const
void SetLastUpdated(Aws::Utils::DateTime &&value)
Delegation & WithAssessmentId(const Aws::String &value)
Delegation & WithRoleType(const RoleType &value)
Delegation & WithControlSetId(const Aws::String &value)
void SetLastUpdated(const Aws::Utils::DateTime &value)
bool IdHasBeenSet() const
Delegation & WithLastUpdated(Aws::Utils::DateTime &&value)
AWS_AUDITMANAGER_API Delegation(Aws::Utils::Json::JsonView jsonValue)
Delegation & WithRoleType(RoleType &&value)
Delegation & WithComment(Aws::String &&value)
void SetAssessmentName(Aws::String &&value)
const Aws::String & GetCreatedBy() const
void SetControlSetId(Aws::String &&value)
void SetCreatedBy(Aws::String &&value)
void SetStatus(const DelegationStatus &value)
void SetRoleType(RoleType &&value)
Delegation & WithAssessmentName(const char *value)
const Aws::String & GetControlSetId() const
bool StatusHasBeenSet() const
void SetCreatedBy(const char *value)
const DelegationStatus & GetStatus() const
const Aws::String & GetRoleArn() const
void SetComment(Aws::String &&value)
void SetComment(const Aws::String &value)
Delegation & WithCreatedBy(const Aws::String &value)
Delegation & WithCreatedBy(const char *value)
const RoleType & GetRoleType() const
void SetId(const char *value)
Delegation & WithAssessmentId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue