AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ShareInvitationSummary.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wellarchitected/model/PermissionType.h>
10#include <aws/wellarchitected/model/ShareResourceType.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 WellArchitected
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_WELLARCHITECTED_API ShareInvitationSummary();
37 AWS_WELLARCHITECTED_API ShareInvitationSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WELLARCHITECTED_API ShareInvitationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetShareInvitationId() const{ return m_shareInvitationId; }
47 inline bool ShareInvitationIdHasBeenSet() const { return m_shareInvitationIdHasBeenSet; }
48 inline void SetShareInvitationId(const Aws::String& value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId = value; }
49 inline void SetShareInvitationId(Aws::String&& value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId = std::move(value); }
50 inline void SetShareInvitationId(const char* value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId.assign(value); }
52 inline ShareInvitationSummary& WithShareInvitationId(Aws::String&& value) { SetShareInvitationId(std::move(value)); return *this;}
53 inline ShareInvitationSummary& WithShareInvitationId(const char* value) { SetShareInvitationId(value); return *this;}
55
57
58 inline const Aws::String& GetSharedBy() const{ return m_sharedBy; }
59 inline bool SharedByHasBeenSet() const { return m_sharedByHasBeenSet; }
60 inline void SetSharedBy(const Aws::String& value) { m_sharedByHasBeenSet = true; m_sharedBy = value; }
61 inline void SetSharedBy(Aws::String&& value) { m_sharedByHasBeenSet = true; m_sharedBy = std::move(value); }
62 inline void SetSharedBy(const char* value) { m_sharedByHasBeenSet = true; m_sharedBy.assign(value); }
63 inline ShareInvitationSummary& WithSharedBy(const Aws::String& value) { SetSharedBy(value); return *this;}
64 inline ShareInvitationSummary& WithSharedBy(Aws::String&& value) { SetSharedBy(std::move(value)); return *this;}
65 inline ShareInvitationSummary& WithSharedBy(const char* value) { SetSharedBy(value); return *this;}
67
69
70 inline const Aws::String& GetSharedWith() const{ return m_sharedWith; }
71 inline bool SharedWithHasBeenSet() const { return m_sharedWithHasBeenSet; }
72 inline void SetSharedWith(const Aws::String& value) { m_sharedWithHasBeenSet = true; m_sharedWith = value; }
73 inline void SetSharedWith(Aws::String&& value) { m_sharedWithHasBeenSet = true; m_sharedWith = std::move(value); }
74 inline void SetSharedWith(const char* value) { m_sharedWithHasBeenSet = true; m_sharedWith.assign(value); }
75 inline ShareInvitationSummary& WithSharedWith(const Aws::String& value) { SetSharedWith(value); return *this;}
76 inline ShareInvitationSummary& WithSharedWith(Aws::String&& value) { SetSharedWith(std::move(value)); return *this;}
77 inline ShareInvitationSummary& WithSharedWith(const char* value) { SetSharedWith(value); return *this;}
79
81
82 inline const PermissionType& GetPermissionType() const{ return m_permissionType; }
83 inline bool PermissionTypeHasBeenSet() const { return m_permissionTypeHasBeenSet; }
84 inline void SetPermissionType(const PermissionType& value) { m_permissionTypeHasBeenSet = true; m_permissionType = value; }
85 inline void SetPermissionType(PermissionType&& value) { m_permissionTypeHasBeenSet = true; m_permissionType = std::move(value); }
86 inline ShareInvitationSummary& WithPermissionType(const PermissionType& value) { SetPermissionType(value); return *this;}
87 inline ShareInvitationSummary& WithPermissionType(PermissionType&& value) { SetPermissionType(std::move(value)); return *this;}
89
91
94 inline const ShareResourceType& GetShareResourceType() const{ return m_shareResourceType; }
95 inline bool ShareResourceTypeHasBeenSet() const { return m_shareResourceTypeHasBeenSet; }
96 inline void SetShareResourceType(const ShareResourceType& value) { m_shareResourceTypeHasBeenSet = true; m_shareResourceType = value; }
97 inline void SetShareResourceType(ShareResourceType&& value) { m_shareResourceTypeHasBeenSet = true; m_shareResourceType = std::move(value); }
99 inline ShareInvitationSummary& WithShareResourceType(ShareResourceType&& value) { SetShareResourceType(std::move(value)); return *this;}
101
103
104 inline const Aws::String& GetWorkloadName() const{ return m_workloadName; }
105 inline bool WorkloadNameHasBeenSet() const { return m_workloadNameHasBeenSet; }
106 inline void SetWorkloadName(const Aws::String& value) { m_workloadNameHasBeenSet = true; m_workloadName = value; }
107 inline void SetWorkloadName(Aws::String&& value) { m_workloadNameHasBeenSet = true; m_workloadName = std::move(value); }
108 inline void SetWorkloadName(const char* value) { m_workloadNameHasBeenSet = true; m_workloadName.assign(value); }
109 inline ShareInvitationSummary& WithWorkloadName(const Aws::String& value) { SetWorkloadName(value); return *this;}
110 inline ShareInvitationSummary& WithWorkloadName(Aws::String&& value) { SetWorkloadName(std::move(value)); return *this;}
111 inline ShareInvitationSummary& WithWorkloadName(const char* value) { SetWorkloadName(value); return *this;}
113
115
116 inline const Aws::String& GetWorkloadId() const{ return m_workloadId; }
117 inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
118 inline void SetWorkloadId(const Aws::String& value) { m_workloadIdHasBeenSet = true; m_workloadId = value; }
119 inline void SetWorkloadId(Aws::String&& value) { m_workloadIdHasBeenSet = true; m_workloadId = std::move(value); }
120 inline void SetWorkloadId(const char* value) { m_workloadIdHasBeenSet = true; m_workloadId.assign(value); }
121 inline ShareInvitationSummary& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;}
122 inline ShareInvitationSummary& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;}
123 inline ShareInvitationSummary& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;}
125
127
128 inline const Aws::String& GetLensName() const{ return m_lensName; }
129 inline bool LensNameHasBeenSet() const { return m_lensNameHasBeenSet; }
130 inline void SetLensName(const Aws::String& value) { m_lensNameHasBeenSet = true; m_lensName = value; }
131 inline void SetLensName(Aws::String&& value) { m_lensNameHasBeenSet = true; m_lensName = std::move(value); }
132 inline void SetLensName(const char* value) { m_lensNameHasBeenSet = true; m_lensName.assign(value); }
133 inline ShareInvitationSummary& WithLensName(const Aws::String& value) { SetLensName(value); return *this;}
134 inline ShareInvitationSummary& WithLensName(Aws::String&& value) { SetLensName(std::move(value)); return *this;}
135 inline ShareInvitationSummary& WithLensName(const char* value) { SetLensName(value); return *this;}
137
139
142 inline const Aws::String& GetLensArn() const{ return m_lensArn; }
143 inline bool LensArnHasBeenSet() const { return m_lensArnHasBeenSet; }
144 inline void SetLensArn(const Aws::String& value) { m_lensArnHasBeenSet = true; m_lensArn = value; }
145 inline void SetLensArn(Aws::String&& value) { m_lensArnHasBeenSet = true; m_lensArn = std::move(value); }
146 inline void SetLensArn(const char* value) { m_lensArnHasBeenSet = true; m_lensArn.assign(value); }
147 inline ShareInvitationSummary& WithLensArn(const Aws::String& value) { SetLensArn(value); return *this;}
148 inline ShareInvitationSummary& WithLensArn(Aws::String&& value) { SetLensArn(std::move(value)); return *this;}
149 inline ShareInvitationSummary& WithLensArn(const char* value) { SetLensArn(value); return *this;}
151
153
156 inline const Aws::String& GetProfileName() const{ return m_profileName; }
157 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
158 inline void SetProfileName(const Aws::String& value) { m_profileNameHasBeenSet = true; m_profileName = value; }
159 inline void SetProfileName(Aws::String&& value) { m_profileNameHasBeenSet = true; m_profileName = std::move(value); }
160 inline void SetProfileName(const char* value) { m_profileNameHasBeenSet = true; m_profileName.assign(value); }
161 inline ShareInvitationSummary& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;}
162 inline ShareInvitationSummary& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;}
163 inline ShareInvitationSummary& WithProfileName(const char* value) { SetProfileName(value); return *this;}
165
167
170 inline const Aws::String& GetProfileArn() const{ return m_profileArn; }
171 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
172 inline void SetProfileArn(const Aws::String& value) { m_profileArnHasBeenSet = true; m_profileArn = value; }
173 inline void SetProfileArn(Aws::String&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::move(value); }
174 inline void SetProfileArn(const char* value) { m_profileArnHasBeenSet = true; m_profileArn.assign(value); }
175 inline ShareInvitationSummary& WithProfileArn(const Aws::String& value) { SetProfileArn(value); return *this;}
176 inline ShareInvitationSummary& WithProfileArn(Aws::String&& value) { SetProfileArn(std::move(value)); return *this;}
177 inline ShareInvitationSummary& WithProfileArn(const char* value) { SetProfileArn(value); return *this;}
179
181
184 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
185 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
186 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
187 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
188 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
189 inline ShareInvitationSummary& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
190 inline ShareInvitationSummary& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
191 inline ShareInvitationSummary& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
193
195
198 inline const Aws::String& GetTemplateArn() const{ return m_templateArn; }
199 inline bool TemplateArnHasBeenSet() const { return m_templateArnHasBeenSet; }
200 inline void SetTemplateArn(const Aws::String& value) { m_templateArnHasBeenSet = true; m_templateArn = value; }
201 inline void SetTemplateArn(Aws::String&& value) { m_templateArnHasBeenSet = true; m_templateArn = std::move(value); }
202 inline void SetTemplateArn(const char* value) { m_templateArnHasBeenSet = true; m_templateArn.assign(value); }
203 inline ShareInvitationSummary& WithTemplateArn(const Aws::String& value) { SetTemplateArn(value); return *this;}
204 inline ShareInvitationSummary& WithTemplateArn(Aws::String&& value) { SetTemplateArn(std::move(value)); return *this;}
205 inline ShareInvitationSummary& WithTemplateArn(const char* value) { SetTemplateArn(value); return *this;}
207 private:
208
209 Aws::String m_shareInvitationId;
210 bool m_shareInvitationIdHasBeenSet = false;
211
212 Aws::String m_sharedBy;
213 bool m_sharedByHasBeenSet = false;
214
215 Aws::String m_sharedWith;
216 bool m_sharedWithHasBeenSet = false;
217
218 PermissionType m_permissionType;
219 bool m_permissionTypeHasBeenSet = false;
220
221 ShareResourceType m_shareResourceType;
222 bool m_shareResourceTypeHasBeenSet = false;
223
224 Aws::String m_workloadName;
225 bool m_workloadNameHasBeenSet = false;
226
227 Aws::String m_workloadId;
228 bool m_workloadIdHasBeenSet = false;
229
230 Aws::String m_lensName;
231 bool m_lensNameHasBeenSet = false;
232
233 Aws::String m_lensArn;
234 bool m_lensArnHasBeenSet = false;
235
236 Aws::String m_profileName;
237 bool m_profileNameHasBeenSet = false;
238
239 Aws::String m_profileArn;
240 bool m_profileArnHasBeenSet = false;
241
242 Aws::String m_templateName;
243 bool m_templateNameHasBeenSet = false;
244
245 Aws::String m_templateArn;
246 bool m_templateArnHasBeenSet = false;
247 };
248
249} // namespace Model
250} // namespace WellArchitected
251} // namespace Aws
ShareInvitationSummary & WithTemplateName(const Aws::String &value)
ShareInvitationSummary & WithWorkloadId(const char *value)
ShareInvitationSummary & WithLensName(const Aws::String &value)
AWS_WELLARCHITECTED_API ShareInvitationSummary(Aws::Utils::Json::JsonView jsonValue)
ShareInvitationSummary & WithTemplateArn(const Aws::String &value)
ShareInvitationSummary & WithProfileArn(const char *value)
ShareInvitationSummary & WithWorkloadName(Aws::String &&value)
ShareInvitationSummary & WithWorkloadName(const Aws::String &value)
ShareInvitationSummary & WithWorkloadId(const Aws::String &value)
ShareInvitationSummary & WithSharedBy(const Aws::String &value)
ShareInvitationSummary & WithProfileArn(const Aws::String &value)
ShareInvitationSummary & WithLensName(const char *value)
ShareInvitationSummary & WithLensArn(const char *value)
ShareInvitationSummary & WithWorkloadId(Aws::String &&value)
ShareInvitationSummary & WithTemplateName(const char *value)
ShareInvitationSummary & WithSharedBy(const char *value)
ShareInvitationSummary & WithSharedWith(Aws::String &&value)
ShareInvitationSummary & WithWorkloadName(const char *value)
ShareInvitationSummary & WithShareInvitationId(const Aws::String &value)
ShareInvitationSummary & WithPermissionType(const PermissionType &value)
ShareInvitationSummary & WithLensArn(const Aws::String &value)
ShareInvitationSummary & WithSharedBy(Aws::String &&value)
ShareInvitationSummary & WithPermissionType(PermissionType &&value)
ShareInvitationSummary & WithProfileName(Aws::String &&value)
ShareInvitationSummary & WithShareInvitationId(Aws::String &&value)
ShareInvitationSummary & WithTemplateName(Aws::String &&value)
ShareInvitationSummary & WithShareResourceType(ShareResourceType &&value)
ShareInvitationSummary & WithProfileName(const char *value)
void SetShareResourceType(const ShareResourceType &value)
ShareInvitationSummary & WithTemplateArn(Aws::String &&value)
ShareInvitationSummary & WithProfileArn(Aws::String &&value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
ShareInvitationSummary & WithSharedWith(const char *value)
ShareInvitationSummary & WithSharedWith(const Aws::String &value)
AWS_WELLARCHITECTED_API ShareInvitationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ShareInvitationSummary & WithLensName(Aws::String &&value)
ShareInvitationSummary & WithShareResourceType(const ShareResourceType &value)
ShareInvitationSummary & WithProfileName(const Aws::String &value)
ShareInvitationSummary & WithLensArn(Aws::String &&value)
ShareInvitationSummary & WithShareInvitationId(const char *value)
ShareInvitationSummary & WithTemplateArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue