AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
ShareInvitationSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
9#include <aws/wellarchitected/model/PermissionType.h>
10#include <aws/wellarchitected/model/ShareResourceType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WellArchitected {
22namespace Model {
23
30 public:
31 AWS_WELLARCHITECTED_API ShareInvitationSummary() = default;
32 AWS_WELLARCHITECTED_API ShareInvitationSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_WELLARCHITECTED_API ShareInvitationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetShareInvitationId() const { return m_shareInvitationId; }
41 inline bool ShareInvitationIdHasBeenSet() const { return m_shareInvitationIdHasBeenSet; }
42 template <typename ShareInvitationIdT = Aws::String>
43 void SetShareInvitationId(ShareInvitationIdT&& value) {
44 m_shareInvitationIdHasBeenSet = true;
45 m_shareInvitationId = std::forward<ShareInvitationIdT>(value);
46 }
47 template <typename ShareInvitationIdT = Aws::String>
48 ShareInvitationSummary& WithShareInvitationId(ShareInvitationIdT&& value) {
49 SetShareInvitationId(std::forward<ShareInvitationIdT>(value));
50 return *this;
51 }
53
55
56 inline const Aws::String& GetSharedBy() const { return m_sharedBy; }
57 inline bool SharedByHasBeenSet() const { return m_sharedByHasBeenSet; }
58 template <typename SharedByT = Aws::String>
59 void SetSharedBy(SharedByT&& value) {
60 m_sharedByHasBeenSet = true;
61 m_sharedBy = std::forward<SharedByT>(value);
62 }
63 template <typename SharedByT = Aws::String>
65 SetSharedBy(std::forward<SharedByT>(value));
66 return *this;
67 }
69
71
72 inline const Aws::String& GetSharedWith() const { return m_sharedWith; }
73 inline bool SharedWithHasBeenSet() const { return m_sharedWithHasBeenSet; }
74 template <typename SharedWithT = Aws::String>
75 void SetSharedWith(SharedWithT&& value) {
76 m_sharedWithHasBeenSet = true;
77 m_sharedWith = std::forward<SharedWithT>(value);
78 }
79 template <typename SharedWithT = Aws::String>
80 ShareInvitationSummary& WithSharedWith(SharedWithT&& value) {
81 SetSharedWith(std::forward<SharedWithT>(value));
82 return *this;
83 }
85
87
88 inline PermissionType GetPermissionType() const { return m_permissionType; }
89 inline bool PermissionTypeHasBeenSet() const { return m_permissionTypeHasBeenSet; }
90 inline void SetPermissionType(PermissionType value) {
91 m_permissionTypeHasBeenSet = true;
92 m_permissionType = value;
93 }
95 SetPermissionType(value);
96 return *this;
97 }
99
101
104 inline ShareResourceType GetShareResourceType() const { return m_shareResourceType; }
105 inline bool ShareResourceTypeHasBeenSet() const { return m_shareResourceTypeHasBeenSet; }
107 m_shareResourceTypeHasBeenSet = true;
108 m_shareResourceType = value;
109 }
112 return *this;
113 }
115
117
118 inline const Aws::String& GetWorkloadName() const { return m_workloadName; }
119 inline bool WorkloadNameHasBeenSet() const { return m_workloadNameHasBeenSet; }
120 template <typename WorkloadNameT = Aws::String>
121 void SetWorkloadName(WorkloadNameT&& value) {
122 m_workloadNameHasBeenSet = true;
123 m_workloadName = std::forward<WorkloadNameT>(value);
124 }
125 template <typename WorkloadNameT = Aws::String>
126 ShareInvitationSummary& WithWorkloadName(WorkloadNameT&& value) {
127 SetWorkloadName(std::forward<WorkloadNameT>(value));
128 return *this;
129 }
131
133
134 inline const Aws::String& GetWorkloadId() const { return m_workloadId; }
135 inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
136 template <typename WorkloadIdT = Aws::String>
137 void SetWorkloadId(WorkloadIdT&& value) {
138 m_workloadIdHasBeenSet = true;
139 m_workloadId = std::forward<WorkloadIdT>(value);
140 }
141 template <typename WorkloadIdT = Aws::String>
143 SetWorkloadId(std::forward<WorkloadIdT>(value));
144 return *this;
145 }
147
149
150 inline const Aws::String& GetLensName() const { return m_lensName; }
151 inline bool LensNameHasBeenSet() const { return m_lensNameHasBeenSet; }
152 template <typename LensNameT = Aws::String>
153 void SetLensName(LensNameT&& value) {
154 m_lensNameHasBeenSet = true;
155 m_lensName = std::forward<LensNameT>(value);
156 }
157 template <typename LensNameT = Aws::String>
159 SetLensName(std::forward<LensNameT>(value));
160 return *this;
161 }
163
165
168 inline const Aws::String& GetLensArn() const { return m_lensArn; }
169 inline bool LensArnHasBeenSet() const { return m_lensArnHasBeenSet; }
170 template <typename LensArnT = Aws::String>
171 void SetLensArn(LensArnT&& value) {
172 m_lensArnHasBeenSet = true;
173 m_lensArn = std::forward<LensArnT>(value);
174 }
175 template <typename LensArnT = Aws::String>
177 SetLensArn(std::forward<LensArnT>(value));
178 return *this;
179 }
181
183
186 inline const Aws::String& GetProfileName() const { return m_profileName; }
187 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
188 template <typename ProfileNameT = Aws::String>
189 void SetProfileName(ProfileNameT&& value) {
190 m_profileNameHasBeenSet = true;
191 m_profileName = std::forward<ProfileNameT>(value);
192 }
193 template <typename ProfileNameT = Aws::String>
195 SetProfileName(std::forward<ProfileNameT>(value));
196 return *this;
197 }
199
201
204 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
205 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
206 template <typename ProfileArnT = Aws::String>
207 void SetProfileArn(ProfileArnT&& value) {
208 m_profileArnHasBeenSet = true;
209 m_profileArn = std::forward<ProfileArnT>(value);
210 }
211 template <typename ProfileArnT = Aws::String>
213 SetProfileArn(std::forward<ProfileArnT>(value));
214 return *this;
215 }
217
219
222 inline const Aws::String& GetTemplateName() const { return m_templateName; }
223 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
224 template <typename TemplateNameT = Aws::String>
225 void SetTemplateName(TemplateNameT&& value) {
226 m_templateNameHasBeenSet = true;
227 m_templateName = std::forward<TemplateNameT>(value);
228 }
229 template <typename TemplateNameT = Aws::String>
230 ShareInvitationSummary& WithTemplateName(TemplateNameT&& value) {
231 SetTemplateName(std::forward<TemplateNameT>(value));
232 return *this;
233 }
235
237
240 inline const Aws::String& GetTemplateArn() const { return m_templateArn; }
241 inline bool TemplateArnHasBeenSet() const { return m_templateArnHasBeenSet; }
242 template <typename TemplateArnT = Aws::String>
243 void SetTemplateArn(TemplateArnT&& value) {
244 m_templateArnHasBeenSet = true;
245 m_templateArn = std::forward<TemplateArnT>(value);
246 }
247 template <typename TemplateArnT = Aws::String>
249 SetTemplateArn(std::forward<TemplateArnT>(value));
250 return *this;
251 }
253 private:
254 Aws::String m_shareInvitationId;
255
256 Aws::String m_sharedBy;
257
258 Aws::String m_sharedWith;
259
260 PermissionType m_permissionType{PermissionType::NOT_SET};
261
263
264 Aws::String m_workloadName;
265
266 Aws::String m_workloadId;
267
268 Aws::String m_lensName;
269
270 Aws::String m_lensArn;
271
272 Aws::String m_profileName;
273
274 Aws::String m_profileArn;
275
276 Aws::String m_templateName;
277
278 Aws::String m_templateArn;
279 bool m_shareInvitationIdHasBeenSet = false;
280 bool m_sharedByHasBeenSet = false;
281 bool m_sharedWithHasBeenSet = false;
282 bool m_permissionTypeHasBeenSet = false;
283 bool m_shareResourceTypeHasBeenSet = false;
284 bool m_workloadNameHasBeenSet = false;
285 bool m_workloadIdHasBeenSet = false;
286 bool m_lensNameHasBeenSet = false;
287 bool m_lensArnHasBeenSet = false;
288 bool m_profileNameHasBeenSet = false;
289 bool m_profileArnHasBeenSet = false;
290 bool m_templateNameHasBeenSet = false;
291 bool m_templateArnHasBeenSet = false;
292};
293
294} // namespace Model
295} // namespace WellArchitected
296} // namespace Aws
AWS_WELLARCHITECTED_API ShareInvitationSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API ShareInvitationSummary()=default
ShareInvitationSummary & WithLensArn(LensArnT &&value)
ShareInvitationSummary & WithLensName(LensNameT &&value)
ShareInvitationSummary & WithShareInvitationId(ShareInvitationIdT &&value)
ShareInvitationSummary & WithTemplateArn(TemplateArnT &&value)
ShareInvitationSummary & WithSharedWith(SharedWithT &&value)
ShareInvitationSummary & WithShareResourceType(ShareResourceType value)
ShareInvitationSummary & WithWorkloadId(WorkloadIdT &&value)
ShareInvitationSummary & WithProfileArn(ProfileArnT &&value)
ShareInvitationSummary & WithPermissionType(PermissionType value)
ShareInvitationSummary & WithWorkloadName(WorkloadNameT &&value)
ShareInvitationSummary & WithSharedBy(SharedByT &&value)
ShareInvitationSummary & WithProfileName(ProfileNameT &&value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WELLARCHITECTED_API ShareInvitationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ShareInvitationSummary & WithTemplateName(TemplateNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue