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>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename IdT = Aws::String>
40 m_idHasBeenSet =
true;
41 m_id = std::forward<IdT>(value);
43 template <
typename IdT = Aws::String>
45 SetId(std::forward<IdT>(value));
55 template <
typename AuthorizedPrincipalsT = Aws::Vector<Aws::String>>
57 m_authorizedPrincipalsHasBeenSet =
true;
58 m_authorizedPrincipals = std::forward<AuthorizedPrincipalsT>(value);
60 template <
typename AuthorizedPrincipalsT = Aws::Vector<Aws::String>>
65 template <
typename AuthorizedPrincipalsT = Aws::String>
67 m_authorizedPrincipalsHasBeenSet =
true;
68 m_authorizedPrincipals.emplace_back(std::forward<AuthorizedPrincipalsT>(value));
79 template <
typename DomainIdT = Aws::String>
81 m_domainIdHasBeenSet =
true;
82 m_domainId = std::forward<DomainIdT>(value);
84 template <
typename DomainIdT = Aws::String>
96 template <
typename ProjectIdT = Aws::String>
98 m_projectIdHasBeenSet =
true;
99 m_projectId = std::forward<ProjectIdT>(value);
101 template <
typename ProjectIdT = Aws::String>
113 template <
typename EnvironmentIdT = Aws::String>
115 m_environmentIdHasBeenSet =
true;
116 m_environmentId = std::forward<EnvironmentIdT>(value);
118 template <
typename EnvironmentIdT = Aws::String>
130 template <
typename NameT = Aws::String>
132 m_nameHasBeenSet =
true;
133 m_name = std::forward<NameT>(value);
135 template <
typename NameT = Aws::String>
137 SetName(std::forward<NameT>(value));
147 template <
typename TypeT = Aws::String>
149 m_typeHasBeenSet =
true;
150 m_type = std::forward<TypeT>(value);
152 template <
typename TypeT = Aws::String>
154 SetType(std::forward<TypeT>(value));
164 template <
typename CreatedByT = Aws::String>
166 m_createdByHasBeenSet =
true;
167 m_createdBy = std::forward<CreatedByT>(value);
169 template <
typename CreatedByT = Aws::String>
181 template <
typename UpdatedByT = Aws::String>
183 m_updatedByHasBeenSet =
true;
184 m_updatedBy = std::forward<UpdatedByT>(value);
186 template <
typename UpdatedByT = Aws::String>
198 template <
typename CreatedAtT = Aws::Utils::DateTime>
200 m_createdAtHasBeenSet =
true;
201 m_createdAt = std::forward<CreatedAtT>(value);
203 template <
typename CreatedAtT = Aws::Utils::DateTime>
215 template <
typename UpdatedAtT = Aws::Utils::DateTime>
217 m_updatedAtHasBeenSet =
true;
218 m_updatedAt = std::forward<UpdatedAtT>(value);
220 template <
typename UpdatedAtT = Aws::Utils::DateTime>
232 template <
typename ManageAccessRoleT = Aws::String>
234 m_manageAccessRoleHasBeenSet =
true;
235 m_manageAccessRole = std::forward<ManageAccessRoleT>(value);
237 template <
typename ManageAccessRoleT = Aws::String>
249 template <
typename ApplicableAssetTypesT = Aws::Vector<Aws::String>>
251 m_applicableAssetTypesHasBeenSet =
true;
252 m_applicableAssetTypes = std::forward<ApplicableAssetTypesT>(value);
254 template <
typename ApplicableAssetTypesT = Aws::Vector<Aws::String>>
259 template <
typename ApplicableAssetTypesT = Aws::String>
261 m_applicableAssetTypesHasBeenSet =
true;
262 m_applicableAssetTypes.emplace_back(std::forward<ApplicableAssetTypesT>(value));
272 template <
typename SubscriptionTargetConfigT = Aws::Vector<SubscriptionTargetForm>>
274 m_subscriptionTargetConfigHasBeenSet =
true;
275 m_subscriptionTargetConfig = std::forward<SubscriptionTargetConfigT>(value);
277 template <
typename SubscriptionTargetConfigT = Aws::Vector<SubscriptionTargetForm>>
282 template <
typename SubscriptionTargetConfigT = SubscriptionTargetForm>
284 m_subscriptionTargetConfigHasBeenSet =
true;
285 m_subscriptionTargetConfig.emplace_back(std::forward<SubscriptionTargetConfigT>(value));
295 template <
typename Prov
iderT = Aws::String>
297 m_providerHasBeenSet =
true;
298 m_provider = std::forward<ProviderT>(value);
300 template <
typename Prov
iderT = Aws::String>
314 m_subscriptionGrantCreationModeHasBeenSet =
true;
315 m_subscriptionGrantCreationMode = value;
326 template <
typename RequestIdT = Aws::String>
328 m_requestIdHasBeenSet =
true;
329 m_requestId = std::forward<RequestIdT>(value);
331 template <
typename RequestIdT = Aws::String>
371 bool m_idHasBeenSet =
false;
372 bool m_authorizedPrincipalsHasBeenSet =
false;
373 bool m_domainIdHasBeenSet =
false;
374 bool m_projectIdHasBeenSet =
false;
375 bool m_environmentIdHasBeenSet =
false;
376 bool m_nameHasBeenSet =
false;
377 bool m_typeHasBeenSet =
false;
378 bool m_createdByHasBeenSet =
false;
379 bool m_updatedByHasBeenSet =
false;
380 bool m_createdAtHasBeenSet =
false;
381 bool m_updatedAtHasBeenSet =
false;
382 bool m_manageAccessRoleHasBeenSet =
false;
383 bool m_applicableAssetTypesHasBeenSet =
false;
384 bool m_subscriptionTargetConfigHasBeenSet =
false;
385 bool m_providerHasBeenSet =
false;
386 bool m_subscriptionGrantCreationModeHasBeenSet =
false;
387 bool m_requestIdHasBeenSet =
false;
CreateSubscriptionTargetResult & WithCreatedAt(CreatedAtT &&value)
void SetName(NameT &&value)
void SetEnvironmentId(EnvironmentIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
CreateSubscriptionTargetResult & WithSubscriptionTargetConfig(SubscriptionTargetConfigT &&value)
const Aws::String & GetDomainId() const
CreateSubscriptionTargetResult & WithCreatedBy(CreatedByT &&value)
const Aws::Vector< Aws::String > & GetAuthorizedPrincipals() const
CreateSubscriptionTargetResult & WithApplicableAssetTypes(ApplicableAssetTypesT &&value)
AWS_DATAZONE_API CreateSubscriptionTargetResult()=default
const Aws::String & GetCreatedBy() const
void SetDomainId(DomainIdT &&value)
const Aws::String & GetUpdatedBy() const
AWS_DATAZONE_API CreateSubscriptionTargetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSubscriptionTargetResult & WithProvider(ProviderT &&value)
const Aws::String & GetProjectId() const
void SetRequestId(RequestIdT &&value)
void SetType(TypeT &&value)
CreateSubscriptionTargetResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetType() const
CreateSubscriptionTargetResult & WithManageAccessRole(ManageAccessRoleT &&value)
const Aws::String & GetRequestId() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Vector< Aws::String > & GetApplicableAssetTypes() const
CreateSubscriptionTargetResult & AddApplicableAssetTypes(ApplicableAssetTypesT &&value)
const Aws::String & GetProvider() const
CreateSubscriptionTargetResult & WithUpdatedAt(UpdatedAtT &&value)
CreateSubscriptionTargetResult & AddSubscriptionTargetConfig(SubscriptionTargetConfigT &&value)
CreateSubscriptionTargetResult & WithType(TypeT &&value)
void SetManageAccessRole(ManageAccessRoleT &&value)
CreateSubscriptionTargetResult & AddAuthorizedPrincipals(AuthorizedPrincipalsT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
void SetSubscriptionTargetConfig(SubscriptionTargetConfigT &&value)
CreateSubscriptionTargetResult & WithProjectId(ProjectIdT &&value)
void SetSubscriptionGrantCreationMode(SubscriptionGrantCreationMode value)
void SetProjectId(ProjectIdT &&value)
const Aws::String & GetId() const
void SetProvider(ProviderT &&value)
CreateSubscriptionTargetResult & WithSubscriptionGrantCreationMode(SubscriptionGrantCreationMode value)
CreateSubscriptionTargetResult & WithAuthorizedPrincipals(AuthorizedPrincipalsT &&value)
const Aws::String & GetName() const
CreateSubscriptionTargetResult & WithId(IdT &&value)
CreateSubscriptionTargetResult & WithUpdatedBy(UpdatedByT &&value)
const Aws::String & GetManageAccessRole() const
void SetUpdatedBy(UpdatedByT &&value)
void SetCreatedBy(CreatedByT &&value)
SubscriptionGrantCreationMode GetSubscriptionGrantCreationMode() const
CreateSubscriptionTargetResult & WithEnvironmentId(EnvironmentIdT &&value)
void SetApplicableAssetTypes(ApplicableAssetTypesT &&value)
CreateSubscriptionTargetResult & WithDomainId(DomainIdT &&value)
CreateSubscriptionTargetResult & WithName(NameT &&value)
const Aws::Vector< SubscriptionTargetForm > & GetSubscriptionTargetConfig() const
const Aws::String & GetEnvironmentId() const
void SetAuthorizedPrincipals(AuthorizedPrincipalsT &&value)
AWS_DATAZONE_API CreateSubscriptionTargetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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