7#include <aws/auditmanager/AuditManagerRequest.h>
8#include <aws/auditmanager/AuditManager_EXPORTS.h>
9#include <aws/auditmanager/model/CreateControlMappingSource.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17namespace AuditManager {
40 template <
typename NameT = Aws::String>
42 m_nameHasBeenSet =
true;
43 m_name = std::forward<NameT>(value);
45 template <
typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
58 template <
typename DescriptionT = Aws::String>
60 m_descriptionHasBeenSet =
true;
61 m_description = std::forward<DescriptionT>(value);
63 template <
typename DescriptionT = Aws::String>
76 template <
typename TestingInformationT = Aws::String>
78 m_testingInformationHasBeenSet =
true;
79 m_testingInformation = std::forward<TestingInformationT>(value);
81 template <
typename TestingInformationT = Aws::String>
94 template <
typename ActionPlanTitleT = Aws::String>
96 m_actionPlanTitleHasBeenSet =
true;
97 m_actionPlanTitle = std::forward<ActionPlanTitleT>(value);
99 template <
typename ActionPlanTitleT = Aws::String>
112 template <
typename ActionPlanInstructionsT = Aws::String>
114 m_actionPlanInstructionsHasBeenSet =
true;
115 m_actionPlanInstructions = std::forward<ActionPlanInstructionsT>(value);
117 template <
typename ActionPlanInstructionsT = Aws::String>
130 template <
typename ControlMappingSourcesT = Aws::Vector<CreateControlMappingSource>>
132 m_controlMappingSourcesHasBeenSet =
true;
133 m_controlMappingSources = std::forward<ControlMappingSourcesT>(value);
135 template <
typename ControlMappingSourcesT = Aws::Vector<CreateControlMappingSource>>
140 template <
typename ControlMappingSourcesT = CreateControlMappingSource>
142 m_controlMappingSourcesHasBeenSet =
true;
143 m_controlMappingSources.emplace_back(std::forward<ControlMappingSourcesT>(value));
154 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
156 m_tagsHasBeenSet =
true;
157 m_tags = std::forward<TagsT>(value);
159 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
161 SetTags(std::forward<TagsT>(value));
164 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
166 m_tagsHasBeenSet =
true;
167 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
185 bool m_nameHasBeenSet =
false;
186 bool m_descriptionHasBeenSet =
false;
187 bool m_testingInformationHasBeenSet =
false;
188 bool m_actionPlanTitleHasBeenSet =
false;
189 bool m_actionPlanInstructionsHasBeenSet =
false;
190 bool m_controlMappingSourcesHasBeenSet =
false;
191 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