7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datazone/DataZone_EXPORTS.h>
12#include <aws/datazone/model/SubscriptionGrantCreationMode.h>
13#include <aws/datazone/model/SubscriptionTargetForm.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
39 template <
typename IdT = Aws::String>
41 m_idHasBeenSet =
true;
42 m_id = std::forward<IdT>(value);
44 template <
typename IdT = Aws::String>
46 SetId(std::forward<IdT>(value));
56 template <
typename AuthorizedPrincipalsT = Aws::Vector<Aws::String>>
58 m_authorizedPrincipalsHasBeenSet =
true;
59 m_authorizedPrincipals = std::forward<AuthorizedPrincipalsT>(value);
61 template <
typename AuthorizedPrincipalsT = Aws::Vector<Aws::String>>
66 template <
typename AuthorizedPrincipalsT = Aws::String>
68 m_authorizedPrincipalsHasBeenSet =
true;
69 m_authorizedPrincipals.emplace_back(std::forward<AuthorizedPrincipalsT>(value));
80 template <
typename DomainIdT = Aws::String>
82 m_domainIdHasBeenSet =
true;
83 m_domainId = std::forward<DomainIdT>(value);
85 template <
typename DomainIdT = Aws::String>
97 template <
typename ProjectIdT = Aws::String>
99 m_projectIdHasBeenSet =
true;
100 m_projectId = std::forward<ProjectIdT>(value);
102 template <
typename ProjectIdT = Aws::String>
114 template <
typename EnvironmentIdT = Aws::String>
116 m_environmentIdHasBeenSet =
true;
117 m_environmentId = std::forward<EnvironmentIdT>(value);
119 template <
typename EnvironmentIdT = Aws::String>
131 template <
typename NameT = Aws::String>
133 m_nameHasBeenSet =
true;
134 m_name = std::forward<NameT>(value);
136 template <
typename NameT = Aws::String>
138 SetName(std::forward<NameT>(value));
148 template <
typename TypeT = Aws::String>
150 m_typeHasBeenSet =
true;
151 m_type = std::forward<TypeT>(value);
153 template <
typename TypeT = Aws::String>
155 SetType(std::forward<TypeT>(value));
165 template <
typename CreatedByT = Aws::String>
167 m_createdByHasBeenSet =
true;
168 m_createdBy = std::forward<CreatedByT>(value);
170 template <
typename CreatedByT = Aws::String>
182 template <
typename UpdatedByT = Aws::String>
184 m_updatedByHasBeenSet =
true;
185 m_updatedBy = std::forward<UpdatedByT>(value);
187 template <
typename UpdatedByT = Aws::String>
199 template <
typename CreatedAtT = Aws::Utils::DateTime>
201 m_createdAtHasBeenSet =
true;
202 m_createdAt = std::forward<CreatedAtT>(value);
204 template <
typename CreatedAtT = Aws::Utils::DateTime>
216 template <
typename UpdatedAtT = Aws::Utils::DateTime>
218 m_updatedAtHasBeenSet =
true;
219 m_updatedAt = std::forward<UpdatedAtT>(value);
221 template <
typename UpdatedAtT = Aws::Utils::DateTime>
233 template <
typename ManageAccessRoleT = Aws::String>
235 m_manageAccessRoleHasBeenSet =
true;
236 m_manageAccessRole = std::forward<ManageAccessRoleT>(value);
238 template <
typename ManageAccessRoleT = Aws::String>
250 template <
typename ApplicableAssetTypesT = Aws::Vector<Aws::String>>
252 m_applicableAssetTypesHasBeenSet =
true;
253 m_applicableAssetTypes = std::forward<ApplicableAssetTypesT>(value);
255 template <
typename ApplicableAssetTypesT = Aws::Vector<Aws::String>>
260 template <
typename ApplicableAssetTypesT = Aws::String>
262 m_applicableAssetTypesHasBeenSet =
true;
263 m_applicableAssetTypes.emplace_back(std::forward<ApplicableAssetTypesT>(value));
273 template <
typename SubscriptionTargetConfigT = Aws::Vector<SubscriptionTargetForm>>
275 m_subscriptionTargetConfigHasBeenSet =
true;
276 m_subscriptionTargetConfig = std::forward<SubscriptionTargetConfigT>(value);
278 template <
typename SubscriptionTargetConfigT = Aws::Vector<SubscriptionTargetForm>>
283 template <
typename SubscriptionTargetConfigT = SubscriptionTargetForm>
285 m_subscriptionTargetConfigHasBeenSet =
true;
286 m_subscriptionTargetConfig.emplace_back(std::forward<SubscriptionTargetConfigT>(value));
296 template <
typename Prov
iderT = Aws::String>
298 m_providerHasBeenSet =
true;
299 m_provider = std::forward<ProviderT>(value);
301 template <
typename Prov
iderT = Aws::String>
315 m_subscriptionGrantCreationModeHasBeenSet =
true;
316 m_subscriptionGrantCreationMode = value;
327 template <
typename RequestIdT = Aws::String>
329 m_requestIdHasBeenSet =
true;
330 m_requestId = std::forward<RequestIdT>(value);
332 template <
typename RequestIdT = Aws::String>
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;
391 bool m_requestIdHasBeenSet =
false;
GetSubscriptionTargetResult & WithProvider(ProviderT &&value)
GetSubscriptionTargetResult & WithEnvironmentId(EnvironmentIdT &&value)
void SetAuthorizedPrincipals(AuthorizedPrincipalsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Vector< Aws::String > & GetApplicableAssetTypes() const
const Aws::String & GetRequestId() const
GetSubscriptionTargetResult & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetEnvironmentId() const
const Aws::String & GetProvider() const
const Aws::String & GetDomainId() const
GetSubscriptionTargetResult & WithSubscriptionGrantCreationMode(SubscriptionGrantCreationMode value)
GetSubscriptionTargetResult & WithApplicableAssetTypes(ApplicableAssetTypesT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetSubscriptionTargetResult & WithCreatedBy(CreatedByT &&value)
GetSubscriptionTargetResult & WithProjectId(ProjectIdT &&value)
const Aws::String & GetUpdatedBy() const
const Aws::String & GetProjectId() const
void SetRequestId(RequestIdT &&value)
GetSubscriptionTargetResult & WithType(TypeT &&value)
GetSubscriptionTargetResult & AddAuthorizedPrincipals(AuthorizedPrincipalsT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::Vector< Aws::String > & GetAuthorizedPrincipals() const
SubscriptionGrantCreationMode GetSubscriptionGrantCreationMode() const
const Aws::String & GetCreatedBy() const
GetSubscriptionTargetResult & AddApplicableAssetTypes(ApplicableAssetTypesT &&value)
GetSubscriptionTargetResult & WithId(IdT &&value)
void SetProjectId(ProjectIdT &&value)
const Aws::String & GetManageAccessRole() const
void SetProvider(ProviderT &&value)
GetSubscriptionTargetResult & WithManageAccessRole(ManageAccessRoleT &&value)
GetSubscriptionTargetResult & WithDomainId(DomainIdT &&value)
GetSubscriptionTargetResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetType() const
const Aws::String & GetName() const
GetSubscriptionTargetResult & WithRequestId(RequestIdT &&value)
void SetDomainId(DomainIdT &&value)
GetSubscriptionTargetResult & WithAuthorizedPrincipals(AuthorizedPrincipalsT &&value)
AWS_DATAZONE_API GetSubscriptionTargetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSubscriptionTargetResult & WithName(NameT &&value)
AWS_DATAZONE_API GetSubscriptionTargetResult()=default
void SetEnvironmentId(EnvironmentIdT &&value)
void SetApplicableAssetTypes(ApplicableAssetTypesT &&value)
void SetCreatedBy(CreatedByT &&value)
void SetSubscriptionTargetConfig(SubscriptionTargetConfigT &&value)
const Aws::String & GetId() const
GetSubscriptionTargetResult & WithUpdatedBy(UpdatedByT &&value)
GetSubscriptionTargetResult & AddSubscriptionTargetConfig(SubscriptionTargetConfigT &&value)
AWS_DATAZONE_API GetSubscriptionTargetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSubscriptionTargetResult & WithSubscriptionTargetConfig(SubscriptionTargetConfigT &&value)
void SetName(NameT &&value)
void SetSubscriptionGrantCreationMode(SubscriptionGrantCreationMode value)
void SetManageAccessRole(ManageAccessRoleT &&value)
const Aws::Vector< SubscriptionTargetForm > & GetSubscriptionTargetConfig() const
void SetType(TypeT &&value)
void SetUpdatedBy(UpdatedByT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
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