AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
AssessmentFrameworkShareRequest.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/auditmanager/model/ShareRequestStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AuditManager {
22namespace Model {
23
31 public:
32 AWS_AUDITMANAGER_API AssessmentFrameworkShareRequest() = default;
35 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template <typename IdT = Aws::String>
44 void SetId(IdT&& value) {
45 m_idHasBeenSet = true;
46 m_id = std::forward<IdT>(value);
47 }
48 template <typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetFrameworkId() const { return m_frameworkId; }
60 inline bool FrameworkIdHasBeenSet() const { return m_frameworkIdHasBeenSet; }
61 template <typename FrameworkIdT = Aws::String>
62 void SetFrameworkId(FrameworkIdT&& value) {
63 m_frameworkIdHasBeenSet = true;
64 m_frameworkId = std::forward<FrameworkIdT>(value);
65 }
66 template <typename FrameworkIdT = Aws::String>
68 SetFrameworkId(std::forward<FrameworkIdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetFrameworkName() const { return m_frameworkName; }
78 inline bool FrameworkNameHasBeenSet() const { return m_frameworkNameHasBeenSet; }
79 template <typename FrameworkNameT = Aws::String>
80 void SetFrameworkName(FrameworkNameT&& value) {
81 m_frameworkNameHasBeenSet = true;
82 m_frameworkName = std::forward<FrameworkNameT>(value);
83 }
84 template <typename FrameworkNameT = Aws::String>
86 SetFrameworkName(std::forward<FrameworkNameT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetFrameworkDescription() const { return m_frameworkDescription; }
96 inline bool FrameworkDescriptionHasBeenSet() const { return m_frameworkDescriptionHasBeenSet; }
97 template <typename FrameworkDescriptionT = Aws::String>
98 void SetFrameworkDescription(FrameworkDescriptionT&& value) {
99 m_frameworkDescriptionHasBeenSet = true;
100 m_frameworkDescription = std::forward<FrameworkDescriptionT>(value);
101 }
102 template <typename FrameworkDescriptionT = Aws::String>
104 SetFrameworkDescription(std::forward<FrameworkDescriptionT>(value));
105 return *this;
106 }
108
110
113 inline ShareRequestStatus GetStatus() const { return m_status; }
114 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
115 inline void SetStatus(ShareRequestStatus value) {
116 m_statusHasBeenSet = true;
117 m_status = value;
118 }
120 SetStatus(value);
121 return *this;
122 }
124
126
129 inline const Aws::String& GetSourceAccount() const { return m_sourceAccount; }
130 inline bool SourceAccountHasBeenSet() const { return m_sourceAccountHasBeenSet; }
131 template <typename SourceAccountT = Aws::String>
132 void SetSourceAccount(SourceAccountT&& value) {
133 m_sourceAccountHasBeenSet = true;
134 m_sourceAccount = std::forward<SourceAccountT>(value);
135 }
136 template <typename SourceAccountT = Aws::String>
138 SetSourceAccount(std::forward<SourceAccountT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::String& GetDestinationAccount() const { return m_destinationAccount; }
148 inline bool DestinationAccountHasBeenSet() const { return m_destinationAccountHasBeenSet; }
149 template <typename DestinationAccountT = Aws::String>
150 void SetDestinationAccount(DestinationAccountT&& value) {
151 m_destinationAccountHasBeenSet = true;
152 m_destinationAccount = std::forward<DestinationAccountT>(value);
153 }
154 template <typename DestinationAccountT = Aws::String>
156 SetDestinationAccount(std::forward<DestinationAccountT>(value));
157 return *this;
158 }
160
162
165 inline const Aws::String& GetDestinationRegion() const { return m_destinationRegion; }
166 inline bool DestinationRegionHasBeenSet() const { return m_destinationRegionHasBeenSet; }
167 template <typename DestinationRegionT = Aws::String>
168 void SetDestinationRegion(DestinationRegionT&& value) {
169 m_destinationRegionHasBeenSet = true;
170 m_destinationRegion = std::forward<DestinationRegionT>(value);
171 }
172 template <typename DestinationRegionT = Aws::String>
174 SetDestinationRegion(std::forward<DestinationRegionT>(value));
175 return *this;
176 }
178
180
183 inline const Aws::Utils::DateTime& GetExpirationTime() const { return m_expirationTime; }
184 inline bool ExpirationTimeHasBeenSet() const { return m_expirationTimeHasBeenSet; }
185 template <typename ExpirationTimeT = Aws::Utils::DateTime>
186 void SetExpirationTime(ExpirationTimeT&& value) {
187 m_expirationTimeHasBeenSet = true;
188 m_expirationTime = std::forward<ExpirationTimeT>(value);
189 }
190 template <typename ExpirationTimeT = Aws::Utils::DateTime>
192 SetExpirationTime(std::forward<ExpirationTimeT>(value));
193 return *this;
194 }
196
198
201 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
202 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
203 template <typename CreationTimeT = Aws::Utils::DateTime>
204 void SetCreationTime(CreationTimeT&& value) {
205 m_creationTimeHasBeenSet = true;
206 m_creationTime = std::forward<CreationTimeT>(value);
207 }
208 template <typename CreationTimeT = Aws::Utils::DateTime>
210 SetCreationTime(std::forward<CreationTimeT>(value));
211 return *this;
212 }
214
216
219 inline const Aws::Utils::DateTime& GetLastUpdated() const { return m_lastUpdated; }
220 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
221 template <typename LastUpdatedT = Aws::Utils::DateTime>
222 void SetLastUpdated(LastUpdatedT&& value) {
223 m_lastUpdatedHasBeenSet = true;
224 m_lastUpdated = std::forward<LastUpdatedT>(value);
225 }
226 template <typename LastUpdatedT = Aws::Utils::DateTime>
228 SetLastUpdated(std::forward<LastUpdatedT>(value));
229 return *this;
230 }
232
234
237 inline const Aws::String& GetComment() const { return m_comment; }
238 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
239 template <typename CommentT = Aws::String>
240 void SetComment(CommentT&& value) {
241 m_commentHasBeenSet = true;
242 m_comment = std::forward<CommentT>(value);
243 }
244 template <typename CommentT = Aws::String>
246 SetComment(std::forward<CommentT>(value));
247 return *this;
248 }
250
252
256 inline int GetStandardControlsCount() const { return m_standardControlsCount; }
257 inline bool StandardControlsCountHasBeenSet() const { return m_standardControlsCountHasBeenSet; }
258 inline void SetStandardControlsCount(int value) {
259 m_standardControlsCountHasBeenSet = true;
260 m_standardControlsCount = value;
261 }
264 return *this;
265 }
267
269
273 inline int GetCustomControlsCount() const { return m_customControlsCount; }
274 inline bool CustomControlsCountHasBeenSet() const { return m_customControlsCountHasBeenSet; }
275 inline void SetCustomControlsCount(int value) {
276 m_customControlsCountHasBeenSet = true;
277 m_customControlsCount = value;
278 }
281 return *this;
282 }
284
286
290 inline const Aws::String& GetComplianceType() const { return m_complianceType; }
291 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
292 template <typename ComplianceTypeT = Aws::String>
293 void SetComplianceType(ComplianceTypeT&& value) {
294 m_complianceTypeHasBeenSet = true;
295 m_complianceType = std::forward<ComplianceTypeT>(value);
296 }
297 template <typename ComplianceTypeT = Aws::String>
299 SetComplianceType(std::forward<ComplianceTypeT>(value));
300 return *this;
301 }
303 private:
304 Aws::String m_id;
305
306 Aws::String m_frameworkId;
307
308 Aws::String m_frameworkName;
309
310 Aws::String m_frameworkDescription;
311
313
314 Aws::String m_sourceAccount;
315
316 Aws::String m_destinationAccount;
317
318 Aws::String m_destinationRegion;
319
320 Aws::Utils::DateTime m_expirationTime{};
321
322 Aws::Utils::DateTime m_creationTime{};
323
324 Aws::Utils::DateTime m_lastUpdated{};
325
326 Aws::String m_comment;
327
328 int m_standardControlsCount{0};
329
330 int m_customControlsCount{0};
331
332 Aws::String m_complianceType;
333 bool m_idHasBeenSet = false;
334 bool m_frameworkIdHasBeenSet = false;
335 bool m_frameworkNameHasBeenSet = false;
336 bool m_frameworkDescriptionHasBeenSet = false;
337 bool m_statusHasBeenSet = false;
338 bool m_sourceAccountHasBeenSet = false;
339 bool m_destinationAccountHasBeenSet = false;
340 bool m_destinationRegionHasBeenSet = false;
341 bool m_expirationTimeHasBeenSet = false;
342 bool m_creationTimeHasBeenSet = false;
343 bool m_lastUpdatedHasBeenSet = false;
344 bool m_commentHasBeenSet = false;
345 bool m_standardControlsCountHasBeenSet = false;
346 bool m_customControlsCountHasBeenSet = false;
347 bool m_complianceTypeHasBeenSet = false;
348};
349
350} // namespace Model
351} // namespace AuditManager
352} // namespace Aws
AssessmentFrameworkShareRequest & WithStatus(ShareRequestStatus value)
AWS_AUDITMANAGER_API AssessmentFrameworkShareRequest(Aws::Utils::Json::JsonView jsonValue)
AssessmentFrameworkShareRequest & WithComment(CommentT &&value)
AssessmentFrameworkShareRequest & WithFrameworkId(FrameworkIdT &&value)
AssessmentFrameworkShareRequest & WithDestinationAccount(DestinationAccountT &&value)
AWS_AUDITMANAGER_API AssessmentFrameworkShareRequest()=default
AssessmentFrameworkShareRequest & WithStandardControlsCount(int value)
AssessmentFrameworkShareRequest & WithFrameworkName(FrameworkNameT &&value)
AWS_AUDITMANAGER_API AssessmentFrameworkShareRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AssessmentFrameworkShareRequest & WithExpirationTime(ExpirationTimeT &&value)
AssessmentFrameworkShareRequest & WithComplianceType(ComplianceTypeT &&value)
AssessmentFrameworkShareRequest & WithDestinationRegion(DestinationRegionT &&value)
AssessmentFrameworkShareRequest & WithSourceAccount(SourceAccountT &&value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AssessmentFrameworkShareRequest & WithLastUpdated(LastUpdatedT &&value)
AssessmentFrameworkShareRequest & WithCreationTime(CreationTimeT &&value)
AssessmentFrameworkShareRequest & WithFrameworkDescription(FrameworkDescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue