7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/auditmanager/model/ControlType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/auditmanager/model/ControlState.h>
14#include <aws/auditmanager/model/ControlMappingSource.h>
53 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
54 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
67 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
68 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
94 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
108 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
123 inline void SetTestingInformation(
const char* value) { m_testingInformationHasBeenSet =
true; m_testingInformation.assign(value); }
137 inline void SetActionPlanTitle(
const char* value) { m_actionPlanTitleHasBeenSet =
true; m_actionPlanTitle.assign(value); }
151 inline void SetActionPlanInstructions(
const char* value) { m_actionPlanInstructionsHasBeenSet =
true; m_actionPlanInstructions.assign(value); }
166 inline void SetControlSources(
const char* value) { m_controlSourcesHasBeenSet =
true; m_controlSources.assign(value); }
218 inline void SetCreatedBy(
const char* value) { m_createdByHasBeenSet =
true; m_createdBy.assign(value); }
232 inline void SetLastUpdatedBy(
const char* value) { m_lastUpdatedByHasBeenSet =
true; m_lastUpdatedBy.assign(value); }
252 inline Control&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
253 inline Control&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
254 inline Control&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
274 bool m_arnHasBeenSet =
false;
277 bool m_idHasBeenSet =
false;
280 bool m_typeHasBeenSet =
false;
283 bool m_nameHasBeenSet =
false;
286 bool m_descriptionHasBeenSet =
false;
289 bool m_testingInformationHasBeenSet =
false;
292 bool m_actionPlanTitleHasBeenSet =
false;
295 bool m_actionPlanInstructionsHasBeenSet =
false;
298 bool m_controlSourcesHasBeenSet =
false;
301 bool m_controlMappingSourcesHasBeenSet =
false;
304 bool m_createdAtHasBeenSet =
false;
307 bool m_lastUpdatedAtHasBeenSet =
false;
310 bool m_createdByHasBeenSet =
false;
313 bool m_lastUpdatedByHasBeenSet =
false;
316 bool m_tagsHasBeenSet =
false;
319 bool m_stateHasBeenSet =
false;
const ControlState & GetState() const
Control & WithControlSources(const Aws::String &value)
const Aws::String & GetCreatedBy() const
Control & AddTags(const char *key, const char *value)
const Aws::String & GetName() const
void SetControlMappingSources(const Aws::Vector< ControlMappingSource > &value)
void SetId(Aws::String &&value)
Control & WithLastUpdatedBy(const Aws::String &value)
const ControlType & GetType() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
Control & WithName(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Control & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Control & AddTags(const char *key, Aws::String &&value)
void SetControlSources(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetActionPlanInstructions(Aws::String &&value)
Control & WithTestingInformation(const Aws::String &value)
bool IdHasBeenSet() const
void SetName(const char *value)
Control & WithName(const char *value)
void SetLastUpdatedBy(const Aws::String &value)
Control & WithType(const ControlType &value)
bool LastUpdatedAtHasBeenSet() const
const Aws::String & GetDescription() const
void SetArn(const char *value)
const Aws::Vector< ControlMappingSource > & GetControlMappingSources() const
Control & WithName(const Aws::String &value)
void SetDescription(const char *value)
Control & WithControlSources(Aws::String &&value)
Control & AddControlMappingSources(ControlMappingSource &&value)
const Aws::String & GetControlSources() const
AWS_AUDITMANAGER_API Control & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetControlSources(Aws::String &&value)
void SetLastUpdatedBy(Aws::String &&value)
Control & AddTags(const Aws::String &key, Aws::String &&value)
void SetType(ControlType &&value)
bool TestingInformationHasBeenSet() const
void SetArn(const Aws::String &value)
Control & AddTags(Aws::String &&key, const char *value)
bool ArnHasBeenSet() const
Control & WithDescription(const char *value)
void SetId(const Aws::String &value)
AWS_AUDITMANAGER_API Control()
void SetActionPlanTitle(Aws::String &&value)
bool TypeHasBeenSet() const
Control & WithCreatedBy(const Aws::String &value)
bool ControlSourcesHasBeenSet() const
Control & WithState(ControlState &&value)
Control & WithCreatedAt(const Aws::Utils::DateTime &value)
bool CreatedAtHasBeenSet() const
void SetDescription(const Aws::String &value)
void SetState(const ControlState &value)
Control & WithActionPlanTitle(Aws::String &&value)
Control & WithTestingInformation(const char *value)
Control & WithId(Aws::String &&value)
Control & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
bool DescriptionHasBeenSet() const
Control & AddControlMappingSources(const ControlMappingSource &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetCreatedBy(const char *value)
Control & WithId(const char *value)
const Aws::String & GetActionPlanTitle() const
Control & WithCreatedBy(Aws::String &&value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
Control & WithActionPlanTitle(const char *value)
Control & WithId(const Aws::String &value)
Control & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetControlMappingSources(Aws::Vector< ControlMappingSource > &&value)
bool LastUpdatedByHasBeenSet() const
bool StateHasBeenSet() const
Control & WithState(const ControlState &value)
const Aws::String & GetId() const
Control & WithArn(const char *value)
Control & WithCreatedAt(Aws::Utils::DateTime &&value)
bool ControlMappingSourcesHasBeenSet() const
void SetActionPlanInstructions(const char *value)
Control & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::String & GetLastUpdatedBy() const
void SetCreatedBy(const Aws::String &value)
Control & WithCreatedBy(const char *value)
void SetDescription(Aws::String &&value)
void SetType(const ControlType &value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetName(const Aws::String &value)
Control & WithActionPlanInstructions(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
Control & WithDescription(Aws::String &&value)
void SetName(Aws::String &&value)
Control & WithDescription(const Aws::String &value)
const Aws::String & GetTestingInformation() const
const Aws::String & GetArn() const
Control & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::String & GetActionPlanInstructions() const
AWS_AUDITMANAGER_API Control(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedBy(const char *value)
bool NameHasBeenSet() const
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
Control & WithLastUpdatedBy(const char *value)
void SetControlSources(const char *value)
Control & WithType(ControlType &&value)
void SetActionPlanTitle(const Aws::String &value)
void SetCreatedBy(Aws::String &&value)
Control & WithControlMappingSources(const Aws::Vector< ControlMappingSource > &value)
Control & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
void SetActionPlanTitle(const char *value)
void SetActionPlanInstructions(const Aws::String &value)
void SetTestingInformation(const Aws::String &value)
Control & WithLastUpdatedBy(Aws::String &&value)
Control & WithActionPlanInstructions(Aws::String &&value)
Control & AddTags(Aws::String &&key, const Aws::String &value)
bool CreatedByHasBeenSet() const
void SetTestingInformation(const char *value)
Control & WithArn(const Aws::String &value)
void SetState(ControlState &&value)
Control & WithControlMappingSources(Aws::Vector< ControlMappingSource > &&value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
Control & WithActionPlanTitle(const Aws::String &value)
bool ActionPlanTitleHasBeenSet() const
void SetTestingInformation(Aws::String &&value)
Control & WithControlSources(const char *value)
void SetId(const char *value)
bool TagsHasBeenSet() const
Control & WithActionPlanInstructions(const Aws::String &value)
Control & WithTestingInformation(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetArn(Aws::String &&value)
Control & WithArn(Aws::String &&value)
bool ActionPlanInstructionsHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue