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/auditmanager/model/AssessmentReportsDestination.h>
11#include <aws/auditmanager/model/Scope.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/auditmanager/model/Role.h>
46 template<
typename NameT = Aws::String>
47 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
48 template<
typename NameT = Aws::String>
58 template<
typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
60 template<
typename DescriptionT = Aws::String>
71 template<
typename AssessmentReportsDestinationT = AssessmentReportsDestination>
72 void SetAssessmentReportsDestination(AssessmentReportsDestinationT&& value) { m_assessmentReportsDestinationHasBeenSet =
true; m_assessmentReportsDestination = std::forward<AssessmentReportsDestinationT>(value); }
73 template<
typename AssessmentReportsDestinationT = AssessmentReportsDestination>
81 template<
typename ScopeT = Scope>
82 void SetScope(ScopeT&& value) { m_scopeHasBeenSet =
true; m_scope = std::forward<ScopeT>(value); }
83 template<
typename ScopeT = Scope>
93 template<
typename RolesT = Aws::Vector<Role>>
94 void SetRoles(RolesT&& value) { m_rolesHasBeenSet =
true; m_roles = std::forward<RolesT>(value); }
95 template<
typename RolesT = Aws::Vector<Role>>
97 template<
typename RolesT = Role>
108 template<
typename FrameworkIdT = Aws::String>
109 void SetFrameworkId(FrameworkIdT&& value) { m_frameworkIdHasBeenSet =
true; m_frameworkId = std::forward<FrameworkIdT>(value); }
110 template<
typename FrameworkIdT = Aws::String>
120 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
121 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
122 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
124 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
126 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
132 bool m_nameHasBeenSet =
false;
135 bool m_descriptionHasBeenSet =
false;
138 bool m_assessmentReportsDestinationHasBeenSet =
false;
141 bool m_scopeHasBeenSet =
false;
144 bool m_rolesHasBeenSet =
false;
147 bool m_frameworkIdHasBeenSet =
false;
150 bool m_tagsHasBeenSet =
false;
AWS_AUDITMANAGER_API CreateAssessmentRequest()=default
const Aws::String & GetName() const
void SetRoles(RolesT &&value)
bool DescriptionHasBeenSet() const
CreateAssessmentRequest & WithRoles(RolesT &&value)
const AssessmentReportsDestination & GetAssessmentReportsDestination() const
CreateAssessmentRequest & WithFrameworkId(FrameworkIdT &&value)
void SetName(NameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateAssessmentRequest & WithTags(TagsT &&value)
const Aws::String & GetDescription() const
bool TagsHasBeenSet() const
bool NameHasBeenSet() const
bool FrameworkIdHasBeenSet() const
const Aws::String & GetFrameworkId() const
void SetAssessmentReportsDestination(AssessmentReportsDestinationT &&value)
bool ScopeHasBeenSet() const
void SetScope(ScopeT &&value)
CreateAssessmentRequest & WithScope(ScopeT &&value)
bool AssessmentReportsDestinationHasBeenSet() const
const Aws::Vector< Role > & GetRoles() const
AWS_AUDITMANAGER_API Aws::String SerializePayload() const override
void SetTags(TagsT &&value)
void SetDescription(DescriptionT &&value)
bool RolesHasBeenSet() const
CreateAssessmentRequest & WithName(NameT &&value)
virtual const char * GetServiceRequestName() const override
CreateAssessmentRequest & AddRoles(RolesT &&value)
const Scope & GetScope() const
CreateAssessmentRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetFrameworkId(FrameworkIdT &&value)
CreateAssessmentRequest & WithAssessmentReportsDestination(AssessmentReportsDestinationT &&value)
CreateAssessmentRequest & WithDescription(DescriptionT &&value)
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