AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
51 template<typename IdT = Aws::String>
52 AssessmentFrameworkShareRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_frameworkIdHasBeenSet = true; m_frameworkId = std::forward<FrameworkIdT>(value); }
63 template<typename FrameworkIdT = Aws::String>
64 AssessmentFrameworkShareRequest& WithFrameworkId(FrameworkIdT&& value) { SetFrameworkId(std::forward<FrameworkIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetFrameworkName() const { return m_frameworkName; }
72 inline bool FrameworkNameHasBeenSet() const { return m_frameworkNameHasBeenSet; }
73 template<typename FrameworkNameT = Aws::String>
74 void SetFrameworkName(FrameworkNameT&& value) { m_frameworkNameHasBeenSet = true; m_frameworkName = std::forward<FrameworkNameT>(value); }
75 template<typename FrameworkNameT = Aws::String>
76 AssessmentFrameworkShareRequest& WithFrameworkName(FrameworkNameT&& value) { SetFrameworkName(std::forward<FrameworkNameT>(value)); return *this;}
78
80
83 inline const Aws::String& GetFrameworkDescription() const { return m_frameworkDescription; }
84 inline bool FrameworkDescriptionHasBeenSet() const { return m_frameworkDescriptionHasBeenSet; }
85 template<typename FrameworkDescriptionT = Aws::String>
86 void SetFrameworkDescription(FrameworkDescriptionT&& value) { m_frameworkDescriptionHasBeenSet = true; m_frameworkDescription = std::forward<FrameworkDescriptionT>(value); }
87 template<typename FrameworkDescriptionT = Aws::String>
88 AssessmentFrameworkShareRequest& WithFrameworkDescription(FrameworkDescriptionT&& value) { SetFrameworkDescription(std::forward<FrameworkDescriptionT>(value)); return *this;}
90
92
95 inline ShareRequestStatus GetStatus() const { return m_status; }
96 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
97 inline void SetStatus(ShareRequestStatus value) { m_statusHasBeenSet = true; m_status = value; }
100
102
105 inline const Aws::String& GetSourceAccount() const { return m_sourceAccount; }
106 inline bool SourceAccountHasBeenSet() const { return m_sourceAccountHasBeenSet; }
107 template<typename SourceAccountT = Aws::String>
108 void SetSourceAccount(SourceAccountT&& value) { m_sourceAccountHasBeenSet = true; m_sourceAccount = std::forward<SourceAccountT>(value); }
109 template<typename SourceAccountT = Aws::String>
110 AssessmentFrameworkShareRequest& WithSourceAccount(SourceAccountT&& value) { SetSourceAccount(std::forward<SourceAccountT>(value)); return *this;}
112
114
117 inline const Aws::String& GetDestinationAccount() const { return m_destinationAccount; }
118 inline bool DestinationAccountHasBeenSet() const { return m_destinationAccountHasBeenSet; }
119 template<typename DestinationAccountT = Aws::String>
120 void SetDestinationAccount(DestinationAccountT&& value) { m_destinationAccountHasBeenSet = true; m_destinationAccount = std::forward<DestinationAccountT>(value); }
121 template<typename DestinationAccountT = Aws::String>
122 AssessmentFrameworkShareRequest& WithDestinationAccount(DestinationAccountT&& value) { SetDestinationAccount(std::forward<DestinationAccountT>(value)); return *this;}
124
126
129 inline const Aws::String& GetDestinationRegion() const { return m_destinationRegion; }
130 inline bool DestinationRegionHasBeenSet() const { return m_destinationRegionHasBeenSet; }
131 template<typename DestinationRegionT = Aws::String>
132 void SetDestinationRegion(DestinationRegionT&& value) { m_destinationRegionHasBeenSet = true; m_destinationRegion = std::forward<DestinationRegionT>(value); }
133 template<typename DestinationRegionT = Aws::String>
134 AssessmentFrameworkShareRequest& WithDestinationRegion(DestinationRegionT&& value) { SetDestinationRegion(std::forward<DestinationRegionT>(value)); return *this;}
136
138
141 inline const Aws::Utils::DateTime& GetExpirationTime() const { return m_expirationTime; }
142 inline bool ExpirationTimeHasBeenSet() const { return m_expirationTimeHasBeenSet; }
143 template<typename ExpirationTimeT = Aws::Utils::DateTime>
144 void SetExpirationTime(ExpirationTimeT&& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = std::forward<ExpirationTimeT>(value); }
145 template<typename ExpirationTimeT = Aws::Utils::DateTime>
146 AssessmentFrameworkShareRequest& WithExpirationTime(ExpirationTimeT&& value) { SetExpirationTime(std::forward<ExpirationTimeT>(value)); return *this;}
148
150
153 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
154 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
155 template<typename CreationTimeT = Aws::Utils::DateTime>
156 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
157 template<typename CreationTimeT = Aws::Utils::DateTime>
158 AssessmentFrameworkShareRequest& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
160
162
165 inline const Aws::Utils::DateTime& GetLastUpdated() const { return m_lastUpdated; }
166 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
167 template<typename LastUpdatedT = Aws::Utils::DateTime>
168 void SetLastUpdated(LastUpdatedT&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::forward<LastUpdatedT>(value); }
169 template<typename LastUpdatedT = Aws::Utils::DateTime>
170 AssessmentFrameworkShareRequest& WithLastUpdated(LastUpdatedT&& value) { SetLastUpdated(std::forward<LastUpdatedT>(value)); return *this;}
172
174
177 inline const Aws::String& GetComment() const { return m_comment; }
178 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
179 template<typename CommentT = Aws::String>
180 void SetComment(CommentT&& value) { m_commentHasBeenSet = true; m_comment = std::forward<CommentT>(value); }
181 template<typename CommentT = Aws::String>
182 AssessmentFrameworkShareRequest& WithComment(CommentT&& value) { SetComment(std::forward<CommentT>(value)); return *this;}
184
186
190 inline int GetStandardControlsCount() const { return m_standardControlsCount; }
191 inline bool StandardControlsCountHasBeenSet() const { return m_standardControlsCountHasBeenSet; }
192 inline void SetStandardControlsCount(int value) { m_standardControlsCountHasBeenSet = true; m_standardControlsCount = value; }
195
197
201 inline int GetCustomControlsCount() const { return m_customControlsCount; }
202 inline bool CustomControlsCountHasBeenSet() const { return m_customControlsCountHasBeenSet; }
203 inline void SetCustomControlsCount(int value) { m_customControlsCountHasBeenSet = true; m_customControlsCount = value; }
206
208
212 inline const Aws::String& GetComplianceType() const { return m_complianceType; }
213 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
214 template<typename ComplianceTypeT = Aws::String>
215 void SetComplianceType(ComplianceTypeT&& value) { m_complianceTypeHasBeenSet = true; m_complianceType = std::forward<ComplianceTypeT>(value); }
216 template<typename ComplianceTypeT = Aws::String>
217 AssessmentFrameworkShareRequest& WithComplianceType(ComplianceTypeT&& value) { SetComplianceType(std::forward<ComplianceTypeT>(value)); return *this;}
219 private:
220
221 Aws::String m_id;
222 bool m_idHasBeenSet = false;
223
224 Aws::String m_frameworkId;
225 bool m_frameworkIdHasBeenSet = false;
226
227 Aws::String m_frameworkName;
228 bool m_frameworkNameHasBeenSet = false;
229
230 Aws::String m_frameworkDescription;
231 bool m_frameworkDescriptionHasBeenSet = false;
232
234 bool m_statusHasBeenSet = false;
235
236 Aws::String m_sourceAccount;
237 bool m_sourceAccountHasBeenSet = false;
238
239 Aws::String m_destinationAccount;
240 bool m_destinationAccountHasBeenSet = false;
241
242 Aws::String m_destinationRegion;
243 bool m_destinationRegionHasBeenSet = false;
244
245 Aws::Utils::DateTime m_expirationTime{};
246 bool m_expirationTimeHasBeenSet = false;
247
248 Aws::Utils::DateTime m_creationTime{};
249 bool m_creationTimeHasBeenSet = false;
250
251 Aws::Utils::DateTime m_lastUpdated{};
252 bool m_lastUpdatedHasBeenSet = false;
253
254 Aws::String m_comment;
255 bool m_commentHasBeenSet = false;
256
257 int m_standardControlsCount{0};
258 bool m_standardControlsCountHasBeenSet = false;
259
260 int m_customControlsCount{0};
261 bool m_customControlsCountHasBeenSet = false;
262
263 Aws::String m_complianceType;
264 bool m_complianceTypeHasBeenSet = false;
265 };
266
267} // namespace Model
268} // namespace AuditManager
269} // 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