AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssessmentFrameworkShareRequest.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/auditmanager/model/ShareRequestStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AuditManager
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_AUDITMANAGER_API AssessmentFrameworkShareRequest();
40 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline AssessmentFrameworkShareRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline AssessmentFrameworkShareRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline AssessmentFrameworkShareRequest& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const Aws::String& GetFrameworkId() const{ return m_frameworkId; }
62 inline bool FrameworkIdHasBeenSet() const { return m_frameworkIdHasBeenSet; }
63 inline void SetFrameworkId(const Aws::String& value) { m_frameworkIdHasBeenSet = true; m_frameworkId = value; }
64 inline void SetFrameworkId(Aws::String&& value) { m_frameworkIdHasBeenSet = true; m_frameworkId = std::move(value); }
65 inline void SetFrameworkId(const char* value) { m_frameworkIdHasBeenSet = true; m_frameworkId.assign(value); }
66 inline AssessmentFrameworkShareRequest& WithFrameworkId(const Aws::String& value) { SetFrameworkId(value); return *this;}
67 inline AssessmentFrameworkShareRequest& WithFrameworkId(Aws::String&& value) { SetFrameworkId(std::move(value)); return *this;}
68 inline AssessmentFrameworkShareRequest& WithFrameworkId(const char* value) { SetFrameworkId(value); return *this;}
70
72
75 inline const Aws::String& GetFrameworkName() const{ return m_frameworkName; }
76 inline bool FrameworkNameHasBeenSet() const { return m_frameworkNameHasBeenSet; }
77 inline void SetFrameworkName(const Aws::String& value) { m_frameworkNameHasBeenSet = true; m_frameworkName = value; }
78 inline void SetFrameworkName(Aws::String&& value) { m_frameworkNameHasBeenSet = true; m_frameworkName = std::move(value); }
79 inline void SetFrameworkName(const char* value) { m_frameworkNameHasBeenSet = true; m_frameworkName.assign(value); }
81 inline AssessmentFrameworkShareRequest& WithFrameworkName(Aws::String&& value) { SetFrameworkName(std::move(value)); return *this;}
82 inline AssessmentFrameworkShareRequest& WithFrameworkName(const char* value) { SetFrameworkName(value); return *this;}
84
86
89 inline const Aws::String& GetFrameworkDescription() const{ return m_frameworkDescription; }
90 inline bool FrameworkDescriptionHasBeenSet() const { return m_frameworkDescriptionHasBeenSet; }
91 inline void SetFrameworkDescription(const Aws::String& value) { m_frameworkDescriptionHasBeenSet = true; m_frameworkDescription = value; }
92 inline void SetFrameworkDescription(Aws::String&& value) { m_frameworkDescriptionHasBeenSet = true; m_frameworkDescription = std::move(value); }
93 inline void SetFrameworkDescription(const char* value) { m_frameworkDescriptionHasBeenSet = true; m_frameworkDescription.assign(value); }
96 inline AssessmentFrameworkShareRequest& WithFrameworkDescription(const char* value) { SetFrameworkDescription(value); return *this;}
98
100
103 inline const ShareRequestStatus& GetStatus() const{ return m_status; }
104 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
105 inline void SetStatus(const ShareRequestStatus& value) { m_statusHasBeenSet = true; m_status = value; }
106 inline void SetStatus(ShareRequestStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
107 inline AssessmentFrameworkShareRequest& WithStatus(const ShareRequestStatus& value) { SetStatus(value); return *this;}
108 inline AssessmentFrameworkShareRequest& WithStatus(ShareRequestStatus&& value) { SetStatus(std::move(value)); return *this;}
110
112
115 inline const Aws::String& GetSourceAccount() const{ return m_sourceAccount; }
116 inline bool SourceAccountHasBeenSet() const { return m_sourceAccountHasBeenSet; }
117 inline void SetSourceAccount(const Aws::String& value) { m_sourceAccountHasBeenSet = true; m_sourceAccount = value; }
118 inline void SetSourceAccount(Aws::String&& value) { m_sourceAccountHasBeenSet = true; m_sourceAccount = std::move(value); }
119 inline void SetSourceAccount(const char* value) { m_sourceAccountHasBeenSet = true; m_sourceAccount.assign(value); }
121 inline AssessmentFrameworkShareRequest& WithSourceAccount(Aws::String&& value) { SetSourceAccount(std::move(value)); return *this;}
122 inline AssessmentFrameworkShareRequest& WithSourceAccount(const char* value) { SetSourceAccount(value); return *this;}
124
126
129 inline const Aws::String& GetDestinationAccount() const{ return m_destinationAccount; }
130 inline bool DestinationAccountHasBeenSet() const { return m_destinationAccountHasBeenSet; }
131 inline void SetDestinationAccount(const Aws::String& value) { m_destinationAccountHasBeenSet = true; m_destinationAccount = value; }
132 inline void SetDestinationAccount(Aws::String&& value) { m_destinationAccountHasBeenSet = true; m_destinationAccount = std::move(value); }
133 inline void SetDestinationAccount(const char* value) { m_destinationAccountHasBeenSet = true; m_destinationAccount.assign(value); }
136 inline AssessmentFrameworkShareRequest& WithDestinationAccount(const char* value) { SetDestinationAccount(value); return *this;}
138
140
143 inline const Aws::String& GetDestinationRegion() const{ return m_destinationRegion; }
144 inline bool DestinationRegionHasBeenSet() const { return m_destinationRegionHasBeenSet; }
145 inline void SetDestinationRegion(const Aws::String& value) { m_destinationRegionHasBeenSet = true; m_destinationRegion = value; }
146 inline void SetDestinationRegion(Aws::String&& value) { m_destinationRegionHasBeenSet = true; m_destinationRegion = std::move(value); }
147 inline void SetDestinationRegion(const char* value) { m_destinationRegionHasBeenSet = true; m_destinationRegion.assign(value); }
150 inline AssessmentFrameworkShareRequest& WithDestinationRegion(const char* value) { SetDestinationRegion(value); return *this;}
152
154
157 inline const Aws::Utils::DateTime& GetExpirationTime() const{ return m_expirationTime; }
158 inline bool ExpirationTimeHasBeenSet() const { return m_expirationTimeHasBeenSet; }
159 inline void SetExpirationTime(const Aws::Utils::DateTime& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = value; }
160 inline void SetExpirationTime(Aws::Utils::DateTime&& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = std::move(value); }
164
166
169 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
170 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
171 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
172 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
176
178
181 inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; }
182 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
183 inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; }
184 inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); }
186 inline AssessmentFrameworkShareRequest& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;}
188
190
193 inline const Aws::String& GetComment() const{ return m_comment; }
194 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
195 inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
196 inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
197 inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
198 inline AssessmentFrameworkShareRequest& WithComment(const Aws::String& value) { SetComment(value); return *this;}
199 inline AssessmentFrameworkShareRequest& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
200 inline AssessmentFrameworkShareRequest& WithComment(const char* value) { SetComment(value); return *this;}
202
204
208 inline int GetStandardControlsCount() const{ return m_standardControlsCount; }
209 inline bool StandardControlsCountHasBeenSet() const { return m_standardControlsCountHasBeenSet; }
210 inline void SetStandardControlsCount(int value) { m_standardControlsCountHasBeenSet = true; m_standardControlsCount = value; }
213
215
219 inline int GetCustomControlsCount() const{ return m_customControlsCount; }
220 inline bool CustomControlsCountHasBeenSet() const { return m_customControlsCountHasBeenSet; }
221 inline void SetCustomControlsCount(int value) { m_customControlsCountHasBeenSet = true; m_customControlsCount = value; }
224
226
230 inline const Aws::String& GetComplianceType() const{ return m_complianceType; }
231 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
232 inline void SetComplianceType(const Aws::String& value) { m_complianceTypeHasBeenSet = true; m_complianceType = value; }
233 inline void SetComplianceType(Aws::String&& value) { m_complianceTypeHasBeenSet = true; m_complianceType = std::move(value); }
234 inline void SetComplianceType(const char* value) { m_complianceTypeHasBeenSet = true; m_complianceType.assign(value); }
236 inline AssessmentFrameworkShareRequest& WithComplianceType(Aws::String&& value) { SetComplianceType(std::move(value)); return *this;}
237 inline AssessmentFrameworkShareRequest& WithComplianceType(const char* value) { SetComplianceType(value); return *this;}
239 private:
240
241 Aws::String m_id;
242 bool m_idHasBeenSet = false;
243
244 Aws::String m_frameworkId;
245 bool m_frameworkIdHasBeenSet = false;
246
247 Aws::String m_frameworkName;
248 bool m_frameworkNameHasBeenSet = false;
249
250 Aws::String m_frameworkDescription;
251 bool m_frameworkDescriptionHasBeenSet = false;
252
253 ShareRequestStatus m_status;
254 bool m_statusHasBeenSet = false;
255
256 Aws::String m_sourceAccount;
257 bool m_sourceAccountHasBeenSet = false;
258
259 Aws::String m_destinationAccount;
260 bool m_destinationAccountHasBeenSet = false;
261
262 Aws::String m_destinationRegion;
263 bool m_destinationRegionHasBeenSet = false;
264
265 Aws::Utils::DateTime m_expirationTime;
266 bool m_expirationTimeHasBeenSet = false;
267
268 Aws::Utils::DateTime m_creationTime;
269 bool m_creationTimeHasBeenSet = false;
270
271 Aws::Utils::DateTime m_lastUpdated;
272 bool m_lastUpdatedHasBeenSet = false;
273
274 Aws::String m_comment;
275 bool m_commentHasBeenSet = false;
276
277 int m_standardControlsCount;
278 bool m_standardControlsCountHasBeenSet = false;
279
280 int m_customControlsCount;
281 bool m_customControlsCountHasBeenSet = false;
282
283 Aws::String m_complianceType;
284 bool m_complianceTypeHasBeenSet = false;
285 };
286
287} // namespace Model
288} // namespace AuditManager
289} // namespace Aws
AssessmentFrameworkShareRequest & WithFrameworkName(const Aws::String &value)
AssessmentFrameworkShareRequest & WithFrameworkDescription(const Aws::String &value)
AssessmentFrameworkShareRequest & WithExpirationTime(Aws::Utils::DateTime &&value)
AssessmentFrameworkShareRequest & WithFrameworkDescription(Aws::String &&value)
AssessmentFrameworkShareRequest & WithSourceAccount(const char *value)
AssessmentFrameworkShareRequest & WithStatus(ShareRequestStatus &&value)
AssessmentFrameworkShareRequest & WithDestinationRegion(const char *value)
AssessmentFrameworkShareRequest & WithFrameworkId(const char *value)
AssessmentFrameworkShareRequest & WithExpirationTime(const Aws::Utils::DateTime &value)
AWS_AUDITMANAGER_API AssessmentFrameworkShareRequest(Aws::Utils::Json::JsonView jsonValue)
AssessmentFrameworkShareRequest & WithId(const char *value)
AssessmentFrameworkShareRequest & WithComment(Aws::String &&value)
AssessmentFrameworkShareRequest & WithId(Aws::String &&value)
AssessmentFrameworkShareRequest & WithComplianceType(Aws::String &&value)
AssessmentFrameworkShareRequest & WithComplianceType(const Aws::String &value)
AssessmentFrameworkShareRequest & WithStatus(const ShareRequestStatus &value)
AssessmentFrameworkShareRequest & WithFrameworkId(const Aws::String &value)
AssessmentFrameworkShareRequest & WithComment(const char *value)
AssessmentFrameworkShareRequest & WithDestinationAccount(const Aws::String &value)
AssessmentFrameworkShareRequest & WithCreationTime(Aws::Utils::DateTime &&value)
AssessmentFrameworkShareRequest & WithFrameworkName(Aws::String &&value)
AssessmentFrameworkShareRequest & WithStandardControlsCount(int value)
AssessmentFrameworkShareRequest & WithDestinationRegion(Aws::String &&value)
AssessmentFrameworkShareRequest & WithComment(const Aws::String &value)
AssessmentFrameworkShareRequest & WithSourceAccount(const Aws::String &value)
AWS_AUDITMANAGER_API AssessmentFrameworkShareRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AssessmentFrameworkShareRequest & WithComplianceType(const char *value)
AssessmentFrameworkShareRequest & WithFrameworkDescription(const char *value)
AssessmentFrameworkShareRequest & WithDestinationRegion(const Aws::String &value)
AssessmentFrameworkShareRequest & WithLastUpdated(const Aws::Utils::DateTime &value)
AssessmentFrameworkShareRequest & WithFrameworkId(Aws::String &&value)
AssessmentFrameworkShareRequest & WithFrameworkName(const char *value)
AssessmentFrameworkShareRequest & WithId(const Aws::String &value)
AssessmentFrameworkShareRequest & WithDestinationAccount(Aws::String &&value)
AssessmentFrameworkShareRequest & WithSourceAccount(Aws::String &&value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AssessmentFrameworkShareRequest & WithLastUpdated(Aws::Utils::DateTime &&value)
AssessmentFrameworkShareRequest & WithCreationTime(const Aws::Utils::DateTime &value)
AssessmentFrameworkShareRequest & WithDestinationAccount(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue