AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SubscriptionTargetSummary.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/datazone/model/SubscriptionTargetForm.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DataZone
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_DATAZONE_API SubscriptionTargetSummary();
40 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<Aws::String>& GetApplicableAssetTypes() const{ return m_applicableAssetTypes; }
48 inline bool ApplicableAssetTypesHasBeenSet() const { return m_applicableAssetTypesHasBeenSet; }
49 inline void SetApplicableAssetTypes(const Aws::Vector<Aws::String>& value) { m_applicableAssetTypesHasBeenSet = true; m_applicableAssetTypes = value; }
50 inline void SetApplicableAssetTypes(Aws::Vector<Aws::String>&& value) { m_applicableAssetTypesHasBeenSet = true; m_applicableAssetTypes = std::move(value); }
53 inline SubscriptionTargetSummary& AddApplicableAssetTypes(const Aws::String& value) { m_applicableAssetTypesHasBeenSet = true; m_applicableAssetTypes.push_back(value); return *this; }
54 inline SubscriptionTargetSummary& AddApplicableAssetTypes(Aws::String&& value) { m_applicableAssetTypesHasBeenSet = true; m_applicableAssetTypes.push_back(std::move(value)); return *this; }
55 inline SubscriptionTargetSummary& AddApplicableAssetTypes(const char* value) { m_applicableAssetTypesHasBeenSet = true; m_applicableAssetTypes.push_back(value); return *this; }
57
59
62 inline const Aws::Vector<Aws::String>& GetAuthorizedPrincipals() const{ return m_authorizedPrincipals; }
63 inline bool AuthorizedPrincipalsHasBeenSet() const { return m_authorizedPrincipalsHasBeenSet; }
64 inline void SetAuthorizedPrincipals(const Aws::Vector<Aws::String>& value) { m_authorizedPrincipalsHasBeenSet = true; m_authorizedPrincipals = value; }
65 inline void SetAuthorizedPrincipals(Aws::Vector<Aws::String>&& value) { m_authorizedPrincipalsHasBeenSet = true; m_authorizedPrincipals = std::move(value); }
68 inline SubscriptionTargetSummary& AddAuthorizedPrincipals(const Aws::String& value) { m_authorizedPrincipalsHasBeenSet = true; m_authorizedPrincipals.push_back(value); return *this; }
69 inline SubscriptionTargetSummary& AddAuthorizedPrincipals(Aws::String&& value) { m_authorizedPrincipalsHasBeenSet = true; m_authorizedPrincipals.push_back(std::move(value)); return *this; }
70 inline SubscriptionTargetSummary& AddAuthorizedPrincipals(const char* value) { m_authorizedPrincipalsHasBeenSet = true; m_authorizedPrincipals.push_back(value); return *this; }
72
74
77 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
78 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
79 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
80 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
81 inline SubscriptionTargetSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
82 inline SubscriptionTargetSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
84
86
89 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
90 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
91 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
92 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
93 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
94 inline SubscriptionTargetSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
95 inline SubscriptionTargetSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
96 inline SubscriptionTargetSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
98
100
104 inline const Aws::String& GetDomainId() const{ return m_domainId; }
105 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
106 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
107 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
108 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
109 inline SubscriptionTargetSummary& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
110 inline SubscriptionTargetSummary& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
111 inline SubscriptionTargetSummary& WithDomainId(const char* value) { SetDomainId(value); return *this;}
113
115
118 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
119 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
120 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
121 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
122 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
123 inline SubscriptionTargetSummary& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
124 inline SubscriptionTargetSummary& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
125 inline SubscriptionTargetSummary& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
127
129
132 inline const Aws::String& GetId() const{ return m_id; }
133 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
134 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
135 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
136 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
137 inline SubscriptionTargetSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
138 inline SubscriptionTargetSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
139 inline SubscriptionTargetSummary& WithId(const char* value) { SetId(value); return *this;}
141
143
146 inline const Aws::String& GetManageAccessRole() const{ return m_manageAccessRole; }
147 inline bool ManageAccessRoleHasBeenSet() const { return m_manageAccessRoleHasBeenSet; }
148 inline void SetManageAccessRole(const Aws::String& value) { m_manageAccessRoleHasBeenSet = true; m_manageAccessRole = value; }
149 inline void SetManageAccessRole(Aws::String&& value) { m_manageAccessRoleHasBeenSet = true; m_manageAccessRole = std::move(value); }
150 inline void SetManageAccessRole(const char* value) { m_manageAccessRoleHasBeenSet = true; m_manageAccessRole.assign(value); }
152 inline SubscriptionTargetSummary& WithManageAccessRole(Aws::String&& value) { SetManageAccessRole(std::move(value)); return *this;}
153 inline SubscriptionTargetSummary& WithManageAccessRole(const char* value) { SetManageAccessRole(value); return *this;}
155
157
160 inline const Aws::String& GetName() const{ return m_name; }
161 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
162 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
163 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
164 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
165 inline SubscriptionTargetSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
166 inline SubscriptionTargetSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
167 inline SubscriptionTargetSummary& WithName(const char* value) { SetName(value); return *this;}
169
171
174 inline const Aws::String& GetProjectId() const{ return m_projectId; }
175 inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; }
176 inline void SetProjectId(const Aws::String& value) { m_projectIdHasBeenSet = true; m_projectId = value; }
177 inline void SetProjectId(Aws::String&& value) { m_projectIdHasBeenSet = true; m_projectId = std::move(value); }
178 inline void SetProjectId(const char* value) { m_projectIdHasBeenSet = true; m_projectId.assign(value); }
179 inline SubscriptionTargetSummary& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
180 inline SubscriptionTargetSummary& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
181 inline SubscriptionTargetSummary& WithProjectId(const char* value) { SetProjectId(value); return *this;}
183
185
188 inline const Aws::String& GetProvider() const{ return m_provider; }
189 inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
190 inline void SetProvider(const Aws::String& value) { m_providerHasBeenSet = true; m_provider = value; }
191 inline void SetProvider(Aws::String&& value) { m_providerHasBeenSet = true; m_provider = std::move(value); }
192 inline void SetProvider(const char* value) { m_providerHasBeenSet = true; m_provider.assign(value); }
193 inline SubscriptionTargetSummary& WithProvider(const Aws::String& value) { SetProvider(value); return *this;}
194 inline SubscriptionTargetSummary& WithProvider(Aws::String&& value) { SetProvider(std::move(value)); return *this;}
195 inline SubscriptionTargetSummary& WithProvider(const char* value) { SetProvider(value); return *this;}
197
199
202 inline const Aws::Vector<SubscriptionTargetForm>& GetSubscriptionTargetConfig() const{ return m_subscriptionTargetConfig; }
203 inline bool SubscriptionTargetConfigHasBeenSet() const { return m_subscriptionTargetConfigHasBeenSet; }
204 inline void SetSubscriptionTargetConfig(const Aws::Vector<SubscriptionTargetForm>& value) { m_subscriptionTargetConfigHasBeenSet = true; m_subscriptionTargetConfig = value; }
205 inline void SetSubscriptionTargetConfig(Aws::Vector<SubscriptionTargetForm>&& value) { m_subscriptionTargetConfigHasBeenSet = true; m_subscriptionTargetConfig = std::move(value); }
208 inline SubscriptionTargetSummary& AddSubscriptionTargetConfig(const SubscriptionTargetForm& value) { m_subscriptionTargetConfigHasBeenSet = true; m_subscriptionTargetConfig.push_back(value); return *this; }
209 inline SubscriptionTargetSummary& AddSubscriptionTargetConfig(SubscriptionTargetForm&& value) { m_subscriptionTargetConfigHasBeenSet = true; m_subscriptionTargetConfig.push_back(std::move(value)); return *this; }
211
213
216 inline const Aws::String& GetType() const{ return m_type; }
217 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
218 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
219 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
220 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
221 inline SubscriptionTargetSummary& WithType(const Aws::String& value) { SetType(value); return *this;}
222 inline SubscriptionTargetSummary& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
223 inline SubscriptionTargetSummary& WithType(const char* value) { SetType(value); return *this;}
225
227
230 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
231 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
232 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
233 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
234 inline SubscriptionTargetSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
235 inline SubscriptionTargetSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
237
239
242 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
243 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
244 inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; }
245 inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); }
246 inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); }
247 inline SubscriptionTargetSummary& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
248 inline SubscriptionTargetSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
249 inline SubscriptionTargetSummary& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
251 private:
252
253 Aws::Vector<Aws::String> m_applicableAssetTypes;
254 bool m_applicableAssetTypesHasBeenSet = false;
255
256 Aws::Vector<Aws::String> m_authorizedPrincipals;
257 bool m_authorizedPrincipalsHasBeenSet = false;
258
259 Aws::Utils::DateTime m_createdAt;
260 bool m_createdAtHasBeenSet = false;
261
262 Aws::String m_createdBy;
263 bool m_createdByHasBeenSet = false;
264
265 Aws::String m_domainId;
266 bool m_domainIdHasBeenSet = false;
267
268 Aws::String m_environmentId;
269 bool m_environmentIdHasBeenSet = false;
270
271 Aws::String m_id;
272 bool m_idHasBeenSet = false;
273
274 Aws::String m_manageAccessRole;
275 bool m_manageAccessRoleHasBeenSet = false;
276
277 Aws::String m_name;
278 bool m_nameHasBeenSet = false;
279
280 Aws::String m_projectId;
281 bool m_projectIdHasBeenSet = false;
282
283 Aws::String m_provider;
284 bool m_providerHasBeenSet = false;
285
286 Aws::Vector<SubscriptionTargetForm> m_subscriptionTargetConfig;
287 bool m_subscriptionTargetConfigHasBeenSet = false;
288
289 Aws::String m_type;
290 bool m_typeHasBeenSet = false;
291
292 Aws::Utils::DateTime m_updatedAt;
293 bool m_updatedAtHasBeenSet = false;
294
295 Aws::String m_updatedBy;
296 bool m_updatedByHasBeenSet = false;
297 };
298
299} // namespace Model
300} // namespace DataZone
301} // namespace Aws
void SetAuthorizedPrincipals(Aws::Vector< Aws::String > &&value)
SubscriptionTargetSummary & WithName(Aws::String &&value)
SubscriptionTargetSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
SubscriptionTargetSummary & WithType(const Aws::String &value)
SubscriptionTargetSummary & WithDomainId(const Aws::String &value)
SubscriptionTargetSummary & WithUpdatedBy(Aws::String &&value)
SubscriptionTargetSummary & WithId(const Aws::String &value)
SubscriptionTargetSummary & WithProjectId(const char *value)
SubscriptionTargetSummary & WithCreatedBy(const char *value)
SubscriptionTargetSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
SubscriptionTargetSummary & WithId(const char *value)
SubscriptionTargetSummary & AddApplicableAssetTypes(const char *value)
SubscriptionTargetSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
SubscriptionTargetSummary & WithProvider(const char *value)
const Aws::Vector< Aws::String > & GetApplicableAssetTypes() const
SubscriptionTargetSummary & WithAuthorizedPrincipals(const Aws::Vector< Aws::String > &value)
void SetApplicableAssetTypes(Aws::Vector< Aws::String > &&value)
SubscriptionTargetSummary & WithProvider(Aws::String &&value)
SubscriptionTargetSummary & AddAuthorizedPrincipals(const char *value)
AWS_DATAZONE_API SubscriptionTargetSummary(Aws::Utils::Json::JsonView jsonValue)
void SetAuthorizedPrincipals(const Aws::Vector< Aws::String > &value)
SubscriptionTargetSummary & WithUpdatedBy(const char *value)
void SetSubscriptionTargetConfig(const Aws::Vector< SubscriptionTargetForm > &value)
SubscriptionTargetSummary & WithName(const Aws::String &value)
SubscriptionTargetSummary & WithType(Aws::String &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
SubscriptionTargetSummary & WithEnvironmentId(Aws::String &&value)
SubscriptionTargetSummary & WithProvider(const Aws::String &value)
SubscriptionTargetSummary & WithApplicableAssetTypes(const Aws::Vector< Aws::String > &value)
SubscriptionTargetSummary & WithEnvironmentId(const char *value)
SubscriptionTargetSummary & WithAuthorizedPrincipals(Aws::Vector< Aws::String > &&value)
SubscriptionTargetSummary & WithType(const char *value)
SubscriptionTargetSummary & AddApplicableAssetTypes(const Aws::String &value)
SubscriptionTargetSummary & WithSubscriptionTargetConfig(Aws::Vector< SubscriptionTargetForm > &&value)
SubscriptionTargetSummary & WithManageAccessRole(Aws::String &&value)
SubscriptionTargetSummary & WithDomainId(const char *value)
SubscriptionTargetSummary & WithUpdatedBy(const Aws::String &value)
SubscriptionTargetSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
SubscriptionTargetSummary & WithCreatedBy(Aws::String &&value)
SubscriptionTargetSummary & WithManageAccessRole(const char *value)
const Aws::Vector< Aws::String > & GetAuthorizedPrincipals() const
SubscriptionTargetSummary & WithId(Aws::String &&value)
SubscriptionTargetSummary & WithEnvironmentId(const Aws::String &value)
void SetApplicableAssetTypes(const Aws::Vector< Aws::String > &value)
AWS_DATAZONE_API SubscriptionTargetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SubscriptionTargetSummary & WithApplicableAssetTypes(Aws::Vector< Aws::String > &&value)
SubscriptionTargetSummary & AddAuthorizedPrincipals(Aws::String &&value)
SubscriptionTargetSummary & AddSubscriptionTargetConfig(SubscriptionTargetForm &&value)
SubscriptionTargetSummary & WithProjectId(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetSubscriptionTargetConfig(Aws::Vector< SubscriptionTargetForm > &&value)
SubscriptionTargetSummary & WithProjectId(const Aws::String &value)
SubscriptionTargetSummary & WithManageAccessRole(const Aws::String &value)
const Aws::Vector< SubscriptionTargetForm > & GetSubscriptionTargetConfig() const
SubscriptionTargetSummary & AddSubscriptionTargetConfig(const SubscriptionTargetForm &value)
SubscriptionTargetSummary & WithSubscriptionTargetConfig(const Aws::Vector< SubscriptionTargetForm > &value)
SubscriptionTargetSummary & AddAuthorizedPrincipals(const Aws::String &value)
SubscriptionTargetSummary & WithName(const char *value)
SubscriptionTargetSummary & WithDomainId(Aws::String &&value)
SubscriptionTargetSummary & AddApplicableAssetTypes(Aws::String &&value)
SubscriptionTargetSummary & WithCreatedBy(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue