7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/SubscriptionGrantCreationMode.h>
12#include <aws/datazone/model/SubscriptionTargetForm.h>
44 template <
typename IdT = Aws::String>
46 m_idHasBeenSet =
true;
47 m_id = std::forward<IdT>(value);
49 template <
typename IdT = Aws::String>
51 SetId(std::forward<IdT>(value));
62 template <
typename AuthorizedPrincipalsT = Aws::Vector<Aws::String>>
64 m_authorizedPrincipalsHasBeenSet =
true;
65 m_authorizedPrincipals = std::forward<AuthorizedPrincipalsT>(value);
67 template <
typename AuthorizedPrincipalsT = Aws::Vector<Aws::String>>
72 template <
typename AuthorizedPrincipalsT = Aws::String>
74 m_authorizedPrincipalsHasBeenSet =
true;
75 m_authorizedPrincipals.emplace_back(std::forward<AuthorizedPrincipalsT>(value));
87 template <
typename DomainIdT = Aws::String>
89 m_domainIdHasBeenSet =
true;
90 m_domainId = std::forward<DomainIdT>(value);
92 template <
typename DomainIdT = Aws::String>
105 template <
typename ProjectIdT = Aws::String>
107 m_projectIdHasBeenSet =
true;
108 m_projectId = std::forward<ProjectIdT>(value);
110 template <
typename ProjectIdT = Aws::String>
123 template <
typename EnvironmentIdT = Aws::String>
125 m_environmentIdHasBeenSet =
true;
126 m_environmentId = std::forward<EnvironmentIdT>(value);
128 template <
typename EnvironmentIdT = Aws::String>
141 template <
typename NameT = Aws::String>
143 m_nameHasBeenSet =
true;
144 m_name = std::forward<NameT>(value);
146 template <
typename NameT = Aws::String>
148 SetName(std::forward<NameT>(value));
159 template <
typename TypeT = Aws::String>
161 m_typeHasBeenSet =
true;
162 m_type = std::forward<TypeT>(value);
164 template <
typename TypeT = Aws::String>
166 SetType(std::forward<TypeT>(value));
177 template <
typename CreatedByT = Aws::String>
179 m_createdByHasBeenSet =
true;
180 m_createdBy = std::forward<CreatedByT>(value);
182 template <
typename CreatedByT = Aws::String>
195 template <
typename UpdatedByT = Aws::String>
197 m_updatedByHasBeenSet =
true;
198 m_updatedBy = std::forward<UpdatedByT>(value);
200 template <
typename UpdatedByT = Aws::String>
213 template <
typename CreatedAtT = Aws::Utils::DateTime>
215 m_createdAtHasBeenSet =
true;
216 m_createdAt = std::forward<CreatedAtT>(value);
218 template <
typename CreatedAtT = Aws::Utils::DateTime>
231 template <
typename UpdatedAtT = Aws::Utils::DateTime>
233 m_updatedAtHasBeenSet =
true;
234 m_updatedAt = std::forward<UpdatedAtT>(value);
236 template <
typename UpdatedAtT = Aws::Utils::DateTime>
249 template <
typename ManageAccessRoleT = Aws::String>
251 m_manageAccessRoleHasBeenSet =
true;
252 m_manageAccessRole = std::forward<ManageAccessRoleT>(value);
254 template <
typename ManageAccessRoleT = Aws::String>
267 template <
typename ApplicableAssetTypesT = Aws::Vector<Aws::String>>
269 m_applicableAssetTypesHasBeenSet =
true;
270 m_applicableAssetTypes = std::forward<ApplicableAssetTypesT>(value);
272 template <
typename ApplicableAssetTypesT = Aws::Vector<Aws::String>>
277 template <
typename ApplicableAssetTypesT = Aws::String>
279 m_applicableAssetTypesHasBeenSet =
true;
280 m_applicableAssetTypes.emplace_back(std::forward<ApplicableAssetTypesT>(value));
291 template <
typename SubscriptionTargetConfigT = Aws::Vector<SubscriptionTargetForm>>
293 m_subscriptionTargetConfigHasBeenSet =
true;
294 m_subscriptionTargetConfig = std::forward<SubscriptionTargetConfigT>(value);
296 template <
typename SubscriptionTargetConfigT = Aws::Vector<SubscriptionTargetForm>>
301 template <
typename SubscriptionTargetConfigT = SubscriptionTargetForm>
303 m_subscriptionTargetConfigHasBeenSet =
true;
304 m_subscriptionTargetConfig.emplace_back(std::forward<SubscriptionTargetConfigT>(value));
315 template <
typename Prov
iderT = Aws::String>
317 m_providerHasBeenSet =
true;
318 m_provider = std::forward<ProviderT>(value);
320 template <
typename Prov
iderT = Aws::String>
335 m_subscriptionGrantCreationModeHasBeenSet =
true;
336 m_subscriptionGrantCreationMode = value;
375 bool m_idHasBeenSet =
false;
376 bool m_authorizedPrincipalsHasBeenSet =
false;
377 bool m_domainIdHasBeenSet =
false;
378 bool m_projectIdHasBeenSet =
false;
379 bool m_environmentIdHasBeenSet =
false;
380 bool m_nameHasBeenSet =
false;
381 bool m_typeHasBeenSet =
false;
382 bool m_createdByHasBeenSet =
false;
383 bool m_updatedByHasBeenSet =
false;
384 bool m_createdAtHasBeenSet =
false;
385 bool m_updatedAtHasBeenSet =
false;
386 bool m_manageAccessRoleHasBeenSet =
false;
387 bool m_applicableAssetTypesHasBeenSet =
false;
388 bool m_subscriptionTargetConfigHasBeenSet =
false;
389 bool m_providerHasBeenSet =
false;
390 bool m_subscriptionGrantCreationModeHasBeenSet =
false;
bool SubscriptionTargetConfigHasBeenSet() const
void SetAuthorizedPrincipals(AuthorizedPrincipalsT &&value)
void SetManageAccessRole(ManageAccessRoleT &&value)
SubscriptionTargetSummary & WithType(TypeT &&value)
void SetEnvironmentId(EnvironmentIdT &&value)
SubscriptionTargetSummary & WithSubscriptionTargetConfig(SubscriptionTargetConfigT &&value)
void SetCreatedBy(CreatedByT &&value)
SubscriptionTargetSummary & AddApplicableAssetTypes(ApplicableAssetTypesT &&value)
void SetApplicableAssetTypes(ApplicableAssetTypesT &&value)
void SetProvider(ProviderT &&value)
SubscriptionTargetSummary & WithApplicableAssetTypes(ApplicableAssetTypesT &&value)
SubscriptionTargetSummary & WithId(IdT &&value)
bool SubscriptionGrantCreationModeHasBeenSet() const
bool AuthorizedPrincipalsHasBeenSet() const
SubscriptionTargetSummary & WithName(NameT &&value)
const Aws::String & GetUpdatedBy() const
SubscriptionTargetSummary & WithProvider(ProviderT &&value)
const Aws::String & GetProjectId() const
bool UpdatedAtHasBeenSet() const
bool CreatedByHasBeenSet() const
SubscriptionTargetSummary & WithEnvironmentId(EnvironmentIdT &&value)
const Aws::String & GetDomainId() const
void SetCreatedAt(CreatedAtT &&value)
bool DomainIdHasBeenSet() const
bool EnvironmentIdHasBeenSet() const
const Aws::Vector< Aws::String > & GetApplicableAssetTypes() const
const Aws::String & GetProvider() const
bool TypeHasBeenSet() const
void SetProjectId(ProjectIdT &&value)
SubscriptionGrantCreationMode GetSubscriptionGrantCreationMode() const
SubscriptionTargetSummary & WithSubscriptionGrantCreationMode(SubscriptionGrantCreationMode value)
SubscriptionTargetSummary & WithUpdatedBy(UpdatedByT &&value)
bool ProjectIdHasBeenSet() const
AWS_DATAZONE_API SubscriptionTargetSummary(Aws::Utils::Json::JsonView jsonValue)
SubscriptionTargetSummary & WithCreatedBy(CreatedByT &&value)
bool UpdatedByHasBeenSet() const
SubscriptionTargetSummary & AddSubscriptionTargetConfig(SubscriptionTargetConfigT &&value)
const Aws::String & GetType() const
const Aws::String & GetEnvironmentId() const
const Aws::String & GetCreatedBy() const
void SetType(TypeT &&value)
SubscriptionTargetSummary & WithDomainId(DomainIdT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
SubscriptionTargetSummary & WithAuthorizedPrincipals(AuthorizedPrincipalsT &&value)
const Aws::String & GetId() const
SubscriptionTargetSummary & WithManageAccessRole(ManageAccessRoleT &&value)
bool ManageAccessRoleHasBeenSet() const
bool NameHasBeenSet() const
void SetDomainId(DomainIdT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
SubscriptionTargetSummary & WithCreatedAt(CreatedAtT &&value)
SubscriptionTargetSummary & WithUpdatedAt(UpdatedAtT &&value)
bool CreatedAtHasBeenSet() const
bool ProviderHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetName(NameT &&value)
AWS_DATAZONE_API SubscriptionTargetSummary()=default
const Aws::Vector< Aws::String > & GetAuthorizedPrincipals() const
void SetSubscriptionTargetConfig(SubscriptionTargetConfigT &&value)
void SetSubscriptionGrantCreationMode(SubscriptionGrantCreationMode value)
AWS_DATAZONE_API SubscriptionTargetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ApplicableAssetTypesHasBeenSet() const
void SetUpdatedBy(UpdatedByT &&value)
const Aws::String & GetName() const
SubscriptionTargetSummary & WithProjectId(ProjectIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetManageAccessRole() const
bool IdHasBeenSet() const
const Aws::Vector< SubscriptionTargetForm > & GetSubscriptionTargetConfig() const
SubscriptionTargetSummary & AddAuthorizedPrincipals(AuthorizedPrincipalsT &&value)
SubscriptionGrantCreationMode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue