7#include <aws/auditmanager/AuditManagerRequest.h>
8#include <aws/auditmanager/AuditManager_EXPORTS.h>
9#include <aws/auditmanager/model/AssessmentReportsDestination.h>
10#include <aws/auditmanager/model/Role.h>
11#include <aws/auditmanager/model/Scope.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
18namespace AuditManager {
41 template <
typename AssessmentIdT = Aws::String>
43 m_assessmentIdHasBeenSet =
true;
44 m_assessmentId = std::forward<AssessmentIdT>(value);
46 template <
typename AssessmentIdT = Aws::String>
59 template <
typename AssessmentNameT = Aws::String>
61 m_assessmentNameHasBeenSet =
true;
62 m_assessmentName = std::forward<AssessmentNameT>(value);
64 template <
typename AssessmentNameT = Aws::String>
77 template <
typename AssessmentDescriptionT = Aws::String>
79 m_assessmentDescriptionHasBeenSet =
true;
80 m_assessmentDescription = std::forward<AssessmentDescriptionT>(value);
82 template <
typename AssessmentDescriptionT = Aws::String>
95 template <
typename ScopeT = Scope>
97 m_scopeHasBeenSet =
true;
98 m_scope = std::forward<ScopeT>(value);
100 template <
typename ScopeT = Scope>
102 SetScope(std::forward<ScopeT>(value));
114 template <
typename AssessmentReportsDestinationT = AssessmentReportsDestination>
116 m_assessmentReportsDestinationHasBeenSet =
true;
117 m_assessmentReportsDestination = std::forward<AssessmentReportsDestinationT>(value);
119 template <
typename AssessmentReportsDestinationT = AssessmentReportsDestination>
132 template <
typename RolesT = Aws::Vector<Role>>
134 m_rolesHasBeenSet =
true;
135 m_roles = std::forward<RolesT>(value);
137 template <
typename RolesT = Aws::Vector<Role>>
139 SetRoles(std::forward<RolesT>(value));
142 template <
typename RolesT = Role>
144 m_rolesHasBeenSet =
true;
145 m_roles.emplace_back(std::forward<RolesT>(value));
161 bool m_assessmentIdHasBeenSet =
false;
162 bool m_assessmentNameHasBeenSet =
false;
163 bool m_assessmentDescriptionHasBeenSet =
false;
164 bool m_scopeHasBeenSet =
false;
165 bool m_assessmentReportsDestinationHasBeenSet =
false;
166 bool m_rolesHasBeenSet =
false;
void SetAssessmentDescription(AssessmentDescriptionT &&value)
void SetAssessmentId(AssessmentIdT &&value)
virtual const char * GetServiceRequestName() const override
UpdateAssessmentRequest & WithScope(ScopeT &&value)
bool ScopeHasBeenSet() const
void SetAssessmentReportsDestination(AssessmentReportsDestinationT &&value)
bool AssessmentNameHasBeenSet() const
const Aws::String & GetAssessmentId() const
void SetAssessmentName(AssessmentNameT &&value)
AWS_AUDITMANAGER_API UpdateAssessmentRequest()=default
void SetScope(ScopeT &&value)
bool RolesHasBeenSet() const
const Aws::Vector< Role > & GetRoles() const
bool AssessmentReportsDestinationHasBeenSet() const
bool AssessmentDescriptionHasBeenSet() const
const Aws::String & GetAssessmentName() const
void SetRoles(RolesT &&value)
const Aws::String & GetAssessmentDescription() const
UpdateAssessmentRequest & WithAssessmentReportsDestination(AssessmentReportsDestinationT &&value)
UpdateAssessmentRequest & AddRoles(RolesT &&value)
const AssessmentReportsDestination & GetAssessmentReportsDestination() const
AWS_AUDITMANAGER_API Aws::String SerializePayload() const override
UpdateAssessmentRequest & WithAssessmentDescription(AssessmentDescriptionT &&value)
bool AssessmentIdHasBeenSet() const
UpdateAssessmentRequest & WithAssessmentId(AssessmentIdT &&value)
UpdateAssessmentRequest & WithRoles(RolesT &&value)
const Scope & GetScope() const
UpdateAssessmentRequest & WithAssessmentName(AssessmentNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector