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>
52 template<
typename ArnT = Aws::String>
53 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
54 template<
typename ArnT = Aws::String>
64 template<
typename IdT = Aws::String>
65 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
66 template<
typename IdT = Aws::String>
86 template<
typename NameT = Aws::String>
87 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
88 template<
typename NameT = Aws::String>
98 template<
typename DescriptionT = Aws::String>
99 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
100 template<
typename DescriptionT = Aws::String>
111 template<
typename TestingInformationT = Aws::String>
112 void SetTestingInformation(TestingInformationT&& value) { m_testingInformationHasBeenSet =
true; m_testingInformation = std::forward<TestingInformationT>(value); }
113 template<
typename TestingInformationT = Aws::String>
123 template<
typename ActionPlanTitleT = Aws::String>
124 void SetActionPlanTitle(ActionPlanTitleT&& value) { m_actionPlanTitleHasBeenSet =
true; m_actionPlanTitle = std::forward<ActionPlanTitleT>(value); }
125 template<
typename ActionPlanTitleT = Aws::String>
135 template<
typename ActionPlanInstructionsT = Aws::String>
136 void SetActionPlanInstructions(ActionPlanInstructionsT&& value) { m_actionPlanInstructionsHasBeenSet =
true; m_actionPlanInstructions = std::forward<ActionPlanInstructionsT>(value); }
137 template<
typename ActionPlanInstructionsT = Aws::String>
148 template<
typename ControlSourcesT = Aws::String>
149 void SetControlSources(ControlSourcesT&& value) { m_controlSourcesHasBeenSet =
true; m_controlSources = std::forward<ControlSourcesT>(value); }
150 template<
typename ControlSourcesT = Aws::String>
160 template<
typename ControlMappingSourcesT = Aws::Vector<ControlMappingSource>>
161 void SetControlMappingSources(ControlMappingSourcesT&& value) { m_controlMappingSourcesHasBeenSet =
true; m_controlMappingSources = std::forward<ControlMappingSourcesT>(value); }
162 template<
typename ControlMappingSourcesT = Aws::Vector<ControlMappingSource>>
164 template<
typename ControlMappingSourcesT = ControlMappingSource>
165 Control&
AddControlMappingSources(ControlMappingSourcesT&& value) { m_controlMappingSourcesHasBeenSet =
true; m_controlMappingSources.emplace_back(std::forward<ControlMappingSourcesT>(value));
return *
this; }
174 template<
typename CreatedAtT = Aws::Utils::DateTime>
175 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
176 template<
typename CreatedAtT = Aws::Utils::DateTime>
186 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
187 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
188 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
198 template<
typename CreatedByT = Aws::String>
199 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
200 template<
typename CreatedByT = Aws::String>
210 template<
typename LastUpdatedByT = Aws::String>
211 void SetLastUpdatedBy(LastUpdatedByT&& value) { m_lastUpdatedByHasBeenSet =
true; m_lastUpdatedBy = std::forward<LastUpdatedByT>(value); }
212 template<
typename LastUpdatedByT = Aws::String>
222 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
223 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
224 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
226 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
228 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
247 bool m_arnHasBeenSet =
false;
250 bool m_idHasBeenSet =
false;
253 bool m_typeHasBeenSet =
false;
256 bool m_nameHasBeenSet =
false;
259 bool m_descriptionHasBeenSet =
false;
262 bool m_testingInformationHasBeenSet =
false;
265 bool m_actionPlanTitleHasBeenSet =
false;
268 bool m_actionPlanInstructionsHasBeenSet =
false;
271 bool m_controlSourcesHasBeenSet =
false;
274 bool m_controlMappingSourcesHasBeenSet =
false;
277 bool m_createdAtHasBeenSet =
false;
280 bool m_lastUpdatedAtHasBeenSet =
false;
283 bool m_createdByHasBeenSet =
false;
286 bool m_lastUpdatedByHasBeenSet =
false;
289 bool m_tagsHasBeenSet =
false;
292 bool m_stateHasBeenSet =
false;
const Aws::String & GetCreatedBy() const
void SetCreatedBy(CreatedByT &&value)
const Aws::String & GetName() const
void SetName(NameT &&value)
void SetLastUpdatedBy(LastUpdatedByT &&value)
Control & WithTags(TagsT &&value)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
Control & WithDescription(DescriptionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Control & WithId(IdT &&value)
Control & WithArn(ArnT &&value)
bool IdHasBeenSet() const
Control & WithLastUpdatedAt(LastUpdatedAtT &&value)
ControlType GetType() const
bool LastUpdatedAtHasBeenSet() const
const Aws::String & GetDescription() const
void SetActionPlanInstructions(ActionPlanInstructionsT &&value)
Control & WithName(NameT &&value)
const Aws::Vector< ControlMappingSource > & GetControlMappingSources() const
const Aws::String & GetControlSources() const
void SetControlSources(ControlSourcesT &&value)
AWS_AUDITMANAGER_API Control & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
Control & WithTestingInformation(TestingInformationT &&value)
void SetTags(TagsT &&value)
bool TestingInformationHasBeenSet() const
bool ArnHasBeenSet() const
void SetState(ControlState value)
bool TypeHasBeenSet() const
bool ControlSourcesHasBeenSet() const
bool CreatedAtHasBeenSet() const
void SetTestingInformation(TestingInformationT &&value)
void SetControlMappingSources(ControlMappingSourcesT &&value)
Control & WithControlSources(ControlSourcesT &&value)
bool DescriptionHasBeenSet() const
void SetActionPlanTitle(ActionPlanTitleT &&value)
const Aws::String & GetActionPlanTitle() const
void SetType(ControlType value)
void SetArn(ArnT &&value)
bool LastUpdatedByHasBeenSet() const
bool StateHasBeenSet() const
const Aws::String & GetId() const
bool ControlMappingSourcesHasBeenSet() const
Control & WithType(ControlType value)
const Aws::String & GetLastUpdatedBy() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Control & WithCreatedBy(CreatedByT &&value)
Control & WithControlMappingSources(ControlMappingSourcesT &&value)
const Aws::String & GetTestingInformation() const
const Aws::String & GetArn() const
const Aws::String & GetActionPlanInstructions() const
AWS_AUDITMANAGER_API Control(Aws::Utils::Json::JsonView jsonValue)
Control & WithState(ControlState value)
bool NameHasBeenSet() const
Control & WithActionPlanInstructions(ActionPlanInstructionsT &&value)
Control & WithActionPlanTitle(ActionPlanTitleT &&value)
bool CreatedByHasBeenSet() const
AWS_AUDITMANAGER_API Control()=default
Control & WithCreatedAt(CreatedAtT &&value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ActionPlanTitleHasBeenSet() const
Control & AddTags(TagsKeyT &&key, TagsValueT &&value)
Control & AddControlMappingSources(ControlMappingSourcesT &&value)
Control & WithLastUpdatedBy(LastUpdatedByT &&value)
bool TagsHasBeenSet() const
ControlState GetState() const
const Aws::Utils::DateTime & GetCreatedAt() const
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