7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/auditmanager/AuditManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/auditmanager/model/CreateControlMappingSource.h>
44 template<
typename NameT = Aws::String>
45 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
46 template<
typename NameT = Aws::String>
56 template<
typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
58 template<
typename DescriptionT = Aws::String>
68 template<
typename TestingInformationT = Aws::String>
69 void SetTestingInformation(TestingInformationT&& value) { m_testingInformationHasBeenSet =
true; m_testingInformation = std::forward<TestingInformationT>(value); }
70 template<
typename TestingInformationT = Aws::String>
80 template<
typename ActionPlanTitleT = Aws::String>
81 void SetActionPlanTitle(ActionPlanTitleT&& value) { m_actionPlanTitleHasBeenSet =
true; m_actionPlanTitle = std::forward<ActionPlanTitleT>(value); }
82 template<
typename ActionPlanTitleT = Aws::String>
92 template<
typename ActionPlanInstructionsT = Aws::String>
93 void SetActionPlanInstructions(ActionPlanInstructionsT&& value) { m_actionPlanInstructionsHasBeenSet =
true; m_actionPlanInstructions = std::forward<ActionPlanInstructionsT>(value); }
94 template<
typename ActionPlanInstructionsT = Aws::String>
104 template<
typename ControlMappingSourcesT = Aws::Vector<CreateControlMappingSource>>
105 void SetControlMappingSources(ControlMappingSourcesT&& value) { m_controlMappingSourcesHasBeenSet =
true; m_controlMappingSources = std::forward<ControlMappingSourcesT>(value); }
106 template<
typename ControlMappingSourcesT = Aws::Vector<CreateControlMappingSource>>
108 template<
typename ControlMappingSourcesT = CreateControlMappingSource>
118 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
119 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
120 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
122 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
124 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
130 bool m_nameHasBeenSet =
false;
133 bool m_descriptionHasBeenSet =
false;
136 bool m_testingInformationHasBeenSet =
false;
139 bool m_actionPlanTitleHasBeenSet =
false;
142 bool m_actionPlanInstructionsHasBeenSet =
false;
145 bool m_controlMappingSourcesHasBeenSet =
false;
148 bool m_tagsHasBeenSet =
false;
void SetActionPlanTitle(ActionPlanTitleT &&value)
bool NameHasBeenSet() const
AWS_AUDITMANAGER_API CreateControlRequest()=default
CreateControlRequest & WithTestingInformation(TestingInformationT &&value)
void SetActionPlanInstructions(ActionPlanInstructionsT &&value)
bool ControlMappingSourcesHasBeenSet() const
bool DescriptionHasBeenSet() const
AWS_AUDITMANAGER_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
CreateControlRequest & WithDescription(DescriptionT &&value)
bool TagsHasBeenSet() const
CreateControlRequest & WithActionPlanInstructions(ActionPlanInstructionsT &&value)
CreateControlRequest & AddControlMappingSources(ControlMappingSourcesT &&value)
bool ActionPlanInstructionsHasBeenSet() const
CreateControlRequest & WithName(NameT &&value)
void SetName(NameT &&value)
void SetDescription(DescriptionT &&value)
CreateControlRequest & WithTags(TagsT &&value)
const Aws::String & GetActionPlanTitle() const
const Aws::String & GetTestingInformation() const
const Aws::String & GetName() const
const Aws::String & GetActionPlanInstructions() const
CreateControlRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Vector< CreateControlMappingSource > & GetControlMappingSources() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetDescription() const
void SetControlMappingSources(ControlMappingSourcesT &&value)
CreateControlRequest & WithActionPlanTitle(ActionPlanTitleT &&value)
CreateControlRequest & WithControlMappingSources(ControlMappingSourcesT &&value)
bool TestingInformationHasBeenSet() const
void SetTags(TagsT &&value)
void SetTestingInformation(TestingInformationT &&value)
bool ActionPlanTitleHasBeenSet() 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