AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateAssessmentFrameworkRequest.h
1
6#pragma once
7#include <aws/auditmanager/AuditManagerRequest.h>
8#include <aws/auditmanager/AuditManager_EXPORTS.h>
9#include <aws/auditmanager/model/UpdateAssessmentFrameworkControlSet.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace AuditManager {
17namespace Model {
18
22 public:
23 AWS_AUDITMANAGER_API UpdateAssessmentFrameworkRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateAssessmentFramework"; }
30
31 AWS_AUDITMANAGER_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetFrameworkId() const { return m_frameworkId; }
38 inline bool FrameworkIdHasBeenSet() const { return m_frameworkIdHasBeenSet; }
39 template <typename FrameworkIdT = Aws::String>
40 void SetFrameworkId(FrameworkIdT&& value) {
41 m_frameworkIdHasBeenSet = true;
42 m_frameworkId = std::forward<FrameworkIdT>(value);
43 }
44 template <typename FrameworkIdT = Aws::String>
46 SetFrameworkId(std::forward<FrameworkIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetName() const { return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 template <typename NameT = Aws::String>
58 void SetName(NameT&& value) {
59 m_nameHasBeenSet = true;
60 m_name = std::forward<NameT>(value);
61 }
62 template <typename NameT = Aws::String>
64 SetName(std::forward<NameT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 template <typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) {
77 m_descriptionHasBeenSet = true;
78 m_description = std::forward<DescriptionT>(value);
79 }
80 template <typename DescriptionT = Aws::String>
82 SetDescription(std::forward<DescriptionT>(value));
83 return *this;
84 }
86
88
92 inline const Aws::String& GetComplianceType() const { return m_complianceType; }
93 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
94 template <typename ComplianceTypeT = Aws::String>
95 void SetComplianceType(ComplianceTypeT&& value) {
96 m_complianceTypeHasBeenSet = true;
97 m_complianceType = std::forward<ComplianceTypeT>(value);
98 }
99 template <typename ComplianceTypeT = Aws::String>
101 SetComplianceType(std::forward<ComplianceTypeT>(value));
102 return *this;
103 }
105
107
113 inline const Aws::Vector<UpdateAssessmentFrameworkControlSet>& GetControlSets() const { return m_controlSets; }
114 inline bool ControlSetsHasBeenSet() const { return m_controlSetsHasBeenSet; }
115 template <typename ControlSetsT = Aws::Vector<UpdateAssessmentFrameworkControlSet>>
116 void SetControlSets(ControlSetsT&& value) {
117 m_controlSetsHasBeenSet = true;
118 m_controlSets = std::forward<ControlSetsT>(value);
119 }
120 template <typename ControlSetsT = Aws::Vector<UpdateAssessmentFrameworkControlSet>>
122 SetControlSets(std::forward<ControlSetsT>(value));
123 return *this;
124 }
125 template <typename ControlSetsT = UpdateAssessmentFrameworkControlSet>
127 m_controlSetsHasBeenSet = true;
128 m_controlSets.emplace_back(std::forward<ControlSetsT>(value));
129 return *this;
130 }
132 private:
133 Aws::String m_frameworkId;
134
135 Aws::String m_name;
136
137 Aws::String m_description;
138
139 Aws::String m_complianceType;
140
142 bool m_frameworkIdHasBeenSet = false;
143 bool m_nameHasBeenSet = false;
144 bool m_descriptionHasBeenSet = false;
145 bool m_complianceTypeHasBeenSet = false;
146 bool m_controlSetsHasBeenSet = false;
147};
148
149} // namespace Model
150} // namespace AuditManager
151} // namespace Aws
UpdateAssessmentFrameworkRequest & AddControlSets(ControlSetsT &&value)
UpdateAssessmentFrameworkRequest & WithFrameworkId(FrameworkIdT &&value)
UpdateAssessmentFrameworkRequest & WithDescription(DescriptionT &&value)
AWS_AUDITMANAGER_API UpdateAssessmentFrameworkRequest()=default
UpdateAssessmentFrameworkRequest & WithComplianceType(ComplianceTypeT &&value)
AWS_AUDITMANAGER_API Aws::String SerializePayload() const override
UpdateAssessmentFrameworkRequest & WithControlSets(ControlSetsT &&value)
const Aws::Vector< UpdateAssessmentFrameworkControlSet > & GetControlSets() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector