7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/auditmanager/model/ControlMappingSource.h>
9#include <aws/auditmanager/model/ControlState.h>
10#include <aws/auditmanager/model/ControlType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
25namespace AuditManager {
46 template <
typename ArnT = Aws::String>
48 m_arnHasBeenSet =
true;
49 m_arn = std::forward<ArnT>(value);
51 template <
typename ArnT = Aws::String>
53 SetArn(std::forward<ArnT>(value));
64 template <
typename IdT = Aws::String>
66 m_idHasBeenSet =
true;
67 m_id = std::forward<IdT>(value);
69 template <
typename IdT = Aws::String>
71 SetId(std::forward<IdT>(value));
83 m_typeHasBeenSet =
true;
98 template <
typename NameT = Aws::String>
100 m_nameHasBeenSet =
true;
101 m_name = std::forward<NameT>(value);
103 template <
typename NameT = Aws::String>
105 SetName(std::forward<NameT>(value));
116 template <
typename DescriptionT = Aws::String>
118 m_descriptionHasBeenSet =
true;
119 m_description = std::forward<DescriptionT>(value);
121 template <
typename DescriptionT = Aws::String>
135 template <
typename TestingInformationT = Aws::String>
137 m_testingInformationHasBeenSet =
true;
138 m_testingInformation = std::forward<TestingInformationT>(value);
140 template <
typename TestingInformationT = Aws::String>
153 template <
typename ActionPlanTitleT = Aws::String>
155 m_actionPlanTitleHasBeenSet =
true;
156 m_actionPlanTitle = std::forward<ActionPlanTitleT>(value);
158 template <
typename ActionPlanTitleT = Aws::String>
171 template <
typename ActionPlanInstructionsT = Aws::String>
173 m_actionPlanInstructionsHasBeenSet =
true;
174 m_actionPlanInstructions = std::forward<ActionPlanInstructionsT>(value);
176 template <
typename ActionPlanInstructionsT = Aws::String>
190 template <
typename ControlSourcesT = Aws::String>
192 m_controlSourcesHasBeenSet =
true;
193 m_controlSources = std::forward<ControlSourcesT>(value);
195 template <
typename ControlSourcesT = Aws::String>
208 template <
typename ControlMappingSourcesT = Aws::Vector<ControlMappingSource>>
210 m_controlMappingSourcesHasBeenSet =
true;
211 m_controlMappingSources = std::forward<ControlMappingSourcesT>(value);
213 template <
typename ControlMappingSourcesT = Aws::Vector<ControlMappingSource>>
218 template <
typename ControlMappingSourcesT = ControlMappingSource>
220 m_controlMappingSourcesHasBeenSet =
true;
221 m_controlMappingSources.emplace_back(std::forward<ControlMappingSourcesT>(value));
232 template <
typename CreatedAtT = Aws::Utils::DateTime>
234 m_createdAtHasBeenSet =
true;
235 m_createdAt = std::forward<CreatedAtT>(value);
237 template <
typename CreatedAtT = Aws::Utils::DateTime>
250 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
252 m_lastUpdatedAtHasBeenSet =
true;
253 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
255 template <
typename LastUpdatedAtT = Aws::Utils::DateTime>
268 template <
typename CreatedByT = Aws::String>
270 m_createdByHasBeenSet =
true;
271 m_createdBy = std::forward<CreatedByT>(value);
273 template <
typename CreatedByT = Aws::String>
286 template <
typename LastUpdatedByT = Aws::String>
288 m_lastUpdatedByHasBeenSet =
true;
289 m_lastUpdatedBy = std::forward<LastUpdatedByT>(value);
291 template <
typename LastUpdatedByT = Aws::String>
304 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
306 m_tagsHasBeenSet =
true;
307 m_tags = std::forward<TagsT>(value);
309 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
311 SetTags(std::forward<TagsT>(value));
314 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
316 m_tagsHasBeenSet =
true;
317 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
332 m_stateHasBeenSet =
true;
372 bool m_arnHasBeenSet =
false;
373 bool m_idHasBeenSet =
false;
374 bool m_typeHasBeenSet =
false;
375 bool m_nameHasBeenSet =
false;
376 bool m_descriptionHasBeenSet =
false;
377 bool m_testingInformationHasBeenSet =
false;
378 bool m_actionPlanTitleHasBeenSet =
false;
379 bool m_actionPlanInstructionsHasBeenSet =
false;
380 bool m_controlSourcesHasBeenSet =
false;
381 bool m_controlMappingSourcesHasBeenSet =
false;
382 bool m_createdAtHasBeenSet =
false;
383 bool m_lastUpdatedAtHasBeenSet =
false;
384 bool m_createdByHasBeenSet =
false;
385 bool m_lastUpdatedByHasBeenSet =
false;
386 bool m_tagsHasBeenSet =
false;
387 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