AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename ShareInvitationIdT = Aws::String>
49 void SetShareInvitationId(ShareInvitationIdT&& value) { m_shareInvitationIdHasBeenSet = true; m_shareInvitationId = std::forward<ShareInvitationIdT>(value); }
50 template<typename ShareInvitationIdT = Aws::String>
51 ShareInvitationSummary& WithShareInvitationId(ShareInvitationIdT&& value) { SetShareInvitationId(std::forward<ShareInvitationIdT>(value)); return *this;}
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) { m_sharedByHasBeenSet = true; m_sharedBy = std::forward<SharedByT>(value); }
60 template<typename SharedByT = Aws::String>
61 ShareInvitationSummary& WithSharedBy(SharedByT&& value) { SetSharedBy(std::forward<SharedByT>(value)); return *this;}
63
65
66 inline const Aws::String& GetSharedWith() const { return m_sharedWith; }
67 inline bool SharedWithHasBeenSet() const { return m_sharedWithHasBeenSet; }
68 template<typename SharedWithT = Aws::String>
69 void SetSharedWith(SharedWithT&& value) { m_sharedWithHasBeenSet = true; m_sharedWith = std::forward<SharedWithT>(value); }
70 template<typename SharedWithT = Aws::String>
71 ShareInvitationSummary& WithSharedWith(SharedWithT&& value) { SetSharedWith(std::forward<SharedWithT>(value)); return *this;}
73
75
76 inline PermissionType GetPermissionType() const { return m_permissionType; }
77 inline bool PermissionTypeHasBeenSet() const { return m_permissionTypeHasBeenSet; }
78 inline void SetPermissionType(PermissionType value) { m_permissionTypeHasBeenSet = true; m_permissionType = value; }
81
83
86 inline ShareResourceType GetShareResourceType() const { return m_shareResourceType; }
87 inline bool ShareResourceTypeHasBeenSet() const { return m_shareResourceTypeHasBeenSet; }
88 inline void SetShareResourceType(ShareResourceType value) { m_shareResourceTypeHasBeenSet = true; m_shareResourceType = value; }
91
93
94 inline const Aws::String& GetWorkloadName() const { return m_workloadName; }
95 inline bool WorkloadNameHasBeenSet() const { return m_workloadNameHasBeenSet; }
96 template<typename WorkloadNameT = Aws::String>
97 void SetWorkloadName(WorkloadNameT&& value) { m_workloadNameHasBeenSet = true; m_workloadName = std::forward<WorkloadNameT>(value); }
98 template<typename WorkloadNameT = Aws::String>
99 ShareInvitationSummary& WithWorkloadName(WorkloadNameT&& value) { SetWorkloadName(std::forward<WorkloadNameT>(value)); return *this;}
101
103
104 inline const Aws::String& GetWorkloadId() const { return m_workloadId; }
105 inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
106 template<typename WorkloadIdT = Aws::String>
107 void SetWorkloadId(WorkloadIdT&& value) { m_workloadIdHasBeenSet = true; m_workloadId = std::forward<WorkloadIdT>(value); }
108 template<typename WorkloadIdT = Aws::String>
109 ShareInvitationSummary& WithWorkloadId(WorkloadIdT&& value) { SetWorkloadId(std::forward<WorkloadIdT>(value)); return *this;}
111
113
114 inline const Aws::String& GetLensName() const { return m_lensName; }
115 inline bool LensNameHasBeenSet() const { return m_lensNameHasBeenSet; }
116 template<typename LensNameT = Aws::String>
117 void SetLensName(LensNameT&& value) { m_lensNameHasBeenSet = true; m_lensName = std::forward<LensNameT>(value); }
118 template<typename LensNameT = Aws::String>
119 ShareInvitationSummary& WithLensName(LensNameT&& value) { SetLensName(std::forward<LensNameT>(value)); return *this;}
121
123
126 inline const Aws::String& GetLensArn() const { return m_lensArn; }
127 inline bool LensArnHasBeenSet() const { return m_lensArnHasBeenSet; }
128 template<typename LensArnT = Aws::String>
129 void SetLensArn(LensArnT&& value) { m_lensArnHasBeenSet = true; m_lensArn = std::forward<LensArnT>(value); }
130 template<typename LensArnT = Aws::String>
131 ShareInvitationSummary& WithLensArn(LensArnT&& value) { SetLensArn(std::forward<LensArnT>(value)); return *this;}
133
135
138 inline const Aws::String& GetProfileName() const { return m_profileName; }
139 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
140 template<typename ProfileNameT = Aws::String>
141 void SetProfileName(ProfileNameT&& value) { m_profileNameHasBeenSet = true; m_profileName = std::forward<ProfileNameT>(value); }
142 template<typename ProfileNameT = Aws::String>
143 ShareInvitationSummary& WithProfileName(ProfileNameT&& value) { SetProfileName(std::forward<ProfileNameT>(value)); return *this;}
145
147
150 inline const Aws::String& GetProfileArn() const { return m_profileArn; }
151 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
152 template<typename ProfileArnT = Aws::String>
153 void SetProfileArn(ProfileArnT&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::forward<ProfileArnT>(value); }
154 template<typename ProfileArnT = Aws::String>
155 ShareInvitationSummary& WithProfileArn(ProfileArnT&& value) { SetProfileArn(std::forward<ProfileArnT>(value)); return *this;}
157
159
162 inline const Aws::String& GetTemplateName() const { return m_templateName; }
163 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
164 template<typename TemplateNameT = Aws::String>
165 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet = true; m_templateName = std::forward<TemplateNameT>(value); }
166 template<typename TemplateNameT = Aws::String>
167 ShareInvitationSummary& WithTemplateName(TemplateNameT&& value) { SetTemplateName(std::forward<TemplateNameT>(value)); return *this;}
169
171
174 inline const Aws::String& GetTemplateArn() const { return m_templateArn; }
175 inline bool TemplateArnHasBeenSet() const { return m_templateArnHasBeenSet; }
176 template<typename TemplateArnT = Aws::String>
177 void SetTemplateArn(TemplateArnT&& value) { m_templateArnHasBeenSet = true; m_templateArn = std::forward<TemplateArnT>(value); }
178 template<typename TemplateArnT = Aws::String>
179 ShareInvitationSummary& WithTemplateArn(TemplateArnT&& value) { SetTemplateArn(std::forward<TemplateArnT>(value)); return *this;}
181 private:
182
183 Aws::String m_shareInvitationId;
184 bool m_shareInvitationIdHasBeenSet = false;
185
186 Aws::String m_sharedBy;
187 bool m_sharedByHasBeenSet = false;
188
189 Aws::String m_sharedWith;
190 bool m_sharedWithHasBeenSet = false;
191
192 PermissionType m_permissionType{PermissionType::NOT_SET};
193 bool m_permissionTypeHasBeenSet = false;
194
196 bool m_shareResourceTypeHasBeenSet = false;
197
198 Aws::String m_workloadName;
199 bool m_workloadNameHasBeenSet = false;
200
201 Aws::String m_workloadId;
202 bool m_workloadIdHasBeenSet = false;
203
204 Aws::String m_lensName;
205 bool m_lensNameHasBeenSet = false;
206
207 Aws::String m_lensArn;
208 bool m_lensArnHasBeenSet = false;
209
210 Aws::String m_profileName;
211 bool m_profileNameHasBeenSet = false;
212
213 Aws::String m_profileArn;
214 bool m_profileArnHasBeenSet = false;
215
216 Aws::String m_templateName;
217 bool m_templateNameHasBeenSet = false;
218
219 Aws::String m_templateArn;
220 bool m_templateArnHasBeenSet = false;
221 };
222
223} // namespace Model
224} // namespace WellArchitected
225} // 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