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));
57 template <
typename AuthorizedPrincipalsT = Aws::Vector<Aws::String>>
59 m_authorizedPrincipalsHasBeenSet =
true;
60 m_authorizedPrincipals = std::forward<AuthorizedPrincipalsT>(value);
62 template <
typename AuthorizedPrincipalsT = Aws::Vector<Aws::String>>
67 template <
typename AuthorizedPrincipalsT = Aws::String>
69 m_authorizedPrincipalsHasBeenSet =
true;
70 m_authorizedPrincipals.emplace_back(std::forward<AuthorizedPrincipalsT>(value));
81 template <
typename DomainIdT = Aws::String>
83 m_domainIdHasBeenSet =
true;
84 m_domainId = std::forward<DomainIdT>(value);
86 template <
typename DomainIdT = Aws::String>
99 template <
typename ProjectIdT = Aws::String>
101 m_projectIdHasBeenSet =
true;
102 m_projectId = std::forward<ProjectIdT>(value);
104 template <
typename ProjectIdT = Aws::String>
117 template <
typename EnvironmentIdT = Aws::String>
119 m_environmentIdHasBeenSet =
true;
120 m_environmentId = std::forward<EnvironmentIdT>(value);
122 template <
typename EnvironmentIdT = Aws::String>
135 template <
typename NameT = Aws::String>
137 m_nameHasBeenSet =
true;
138 m_name = std::forward<NameT>(value);
140 template <
typename NameT = Aws::String>
142 SetName(std::forward<NameT>(value));
153 template <
typename TypeT = Aws::String>
155 m_typeHasBeenSet =
true;
156 m_type = std::forward<TypeT>(value);
158 template <
typename TypeT = Aws::String>
160 SetType(std::forward<TypeT>(value));
170 template <
typename CreatedByT = Aws::String>
172 m_createdByHasBeenSet =
true;
173 m_createdBy = std::forward<CreatedByT>(value);
175 template <
typename CreatedByT = Aws::String>
187 template <
typename UpdatedByT = Aws::String>
189 m_updatedByHasBeenSet =
true;
190 m_updatedBy = std::forward<UpdatedByT>(value);
192 template <
typename UpdatedByT = Aws::String>
204 template <
typename CreatedAtT = Aws::Utils::DateTime>
206 m_createdAtHasBeenSet =
true;
207 m_createdAt = std::forward<CreatedAtT>(value);
209 template <
typename CreatedAtT = Aws::Utils::DateTime>
221 template <
typename UpdatedAtT = Aws::Utils::DateTime>
223 m_updatedAtHasBeenSet =
true;
224 m_updatedAt = std::forward<UpdatedAtT>(value);
226 template <
typename UpdatedAtT = Aws::Utils::DateTime>
239 template <
typename ManageAccessRoleT = Aws::String>
241 m_manageAccessRoleHasBeenSet =
true;
242 m_manageAccessRole = std::forward<ManageAccessRoleT>(value);
244 template <
typename ManageAccessRoleT = Aws::String>
257 template <
typename ApplicableAssetTypesT = Aws::Vector<Aws::String>>
259 m_applicableAssetTypesHasBeenSet =
true;
260 m_applicableAssetTypes = std::forward<ApplicableAssetTypesT>(value);
262 template <
typename ApplicableAssetTypesT = Aws::Vector<Aws::String>>
267 template <
typename ApplicableAssetTypesT = Aws::String>
269 m_applicableAssetTypesHasBeenSet =
true;
270 m_applicableAssetTypes.emplace_back(std::forward<ApplicableAssetTypesT>(value));
281 template <
typename SubscriptionTargetConfigT = Aws::Vector<SubscriptionTargetForm>>
283 m_subscriptionTargetConfigHasBeenSet =
true;
284 m_subscriptionTargetConfig = std::forward<SubscriptionTargetConfigT>(value);
286 template <
typename SubscriptionTargetConfigT = Aws::Vector<SubscriptionTargetForm>>
291 template <
typename SubscriptionTargetConfigT = SubscriptionTargetForm>
293 m_subscriptionTargetConfigHasBeenSet =
true;
294 m_subscriptionTargetConfig.emplace_back(std::forward<SubscriptionTargetConfigT>(value));
305 template <
typename Prov
iderT = Aws::String>
307 m_providerHasBeenSet =
true;
308 m_provider = std::forward<ProviderT>(value);
310 template <
typename Prov
iderT = Aws::String>
324 m_subscriptionGrantCreationModeHasBeenSet =
true;
325 m_subscriptionGrantCreationMode = value;
336 template <
typename RequestIdT = Aws::String>
338 m_requestIdHasBeenSet =
true;
339 m_requestId = std::forward<RequestIdT>(value);
341 template <
typename RequestIdT = Aws::String>
381 bool m_idHasBeenSet =
false;
382 bool m_authorizedPrincipalsHasBeenSet =
false;
383 bool m_domainIdHasBeenSet =
false;
384 bool m_projectIdHasBeenSet =
false;
385 bool m_environmentIdHasBeenSet =
false;
386 bool m_nameHasBeenSet =
false;
387 bool m_typeHasBeenSet =
false;
388 bool m_createdByHasBeenSet =
false;
389 bool m_updatedByHasBeenSet =
false;
390 bool m_createdAtHasBeenSet =
false;
391 bool m_updatedAtHasBeenSet =
false;
392 bool m_manageAccessRoleHasBeenSet =
false;
393 bool m_applicableAssetTypesHasBeenSet =
false;
394 bool m_subscriptionTargetConfigHasBeenSet =
false;
395 bool m_providerHasBeenSet =
false;
396 bool m_subscriptionGrantCreationModeHasBeenSet =
false;
397 bool m_requestIdHasBeenSet =
false;
UpdateSubscriptionTargetResult & AddAuthorizedPrincipals(AuthorizedPrincipalsT &&value)
UpdateSubscriptionTargetResult & AddSubscriptionTargetConfig(SubscriptionTargetConfigT &&value)
void SetProjectId(ProjectIdT &&value)
const Aws::String & GetUpdatedBy() const
const Aws::String & GetCreatedBy() const
const Aws::String & GetType() const
UpdateSubscriptionTargetResult & WithType(TypeT &&value)
AWS_DATAZONE_API UpdateSubscriptionTargetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSubscriptionTargetResult & WithCreatedAt(CreatedAtT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::Vector< Aws::String > & GetApplicableAssetTypes() const
UpdateSubscriptionTargetResult & WithDomainId(DomainIdT &&value)
const Aws::String & GetId() const
UpdateSubscriptionTargetResult & WithApplicableAssetTypes(ApplicableAssetTypesT &&value)
void SetApplicableAssetTypes(ApplicableAssetTypesT &&value)
void SetSubscriptionGrantCreationMode(SubscriptionGrantCreationMode value)
UpdateSubscriptionTargetResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
void SetName(NameT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetUpdatedBy(UpdatedByT &&value)
const Aws::String & GetManageAccessRole() const
UpdateSubscriptionTargetResult & WithEnvironmentId(EnvironmentIdT &&value)
void SetCreatedBy(CreatedByT &&value)
UpdateSubscriptionTargetResult & WithName(NameT &&value)
void SetProvider(ProviderT &&value)
UpdateSubscriptionTargetResult & WithManageAccessRole(ManageAccessRoleT &&value)
void SetEnvironmentId(EnvironmentIdT &&value)
void SetDomainId(DomainIdT &&value)
void SetType(TypeT &&value)
const Aws::String & GetEnvironmentId() const
UpdateSubscriptionTargetResult & WithSubscriptionGrantCreationMode(SubscriptionGrantCreationMode value)
const Aws::Vector< Aws::String > & GetAuthorizedPrincipals() const
void SetManageAccessRole(ManageAccessRoleT &&value)
const Aws::String & GetProjectId() const
SubscriptionGrantCreationMode GetSubscriptionGrantCreationMode() const
UpdateSubscriptionTargetResult & WithUpdatedBy(UpdatedByT &&value)
UpdateSubscriptionTargetResult & WithProvider(ProviderT &&value)
UpdateSubscriptionTargetResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_DATAZONE_API UpdateSubscriptionTargetResult()=default
const Aws::Vector< SubscriptionTargetForm > & GetSubscriptionTargetConfig() const
UpdateSubscriptionTargetResult & WithId(IdT &&value)
AWS_DATAZONE_API UpdateSubscriptionTargetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSubscriptionTargetConfig(SubscriptionTargetConfigT &&value)
const Aws::String & GetProvider() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetDomainId() const
UpdateSubscriptionTargetResult & AddApplicableAssetTypes(ApplicableAssetTypesT &&value)
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetCreatedAt() const
UpdateSubscriptionTargetResult & WithProjectId(ProjectIdT &&value)
const Aws::String & GetRequestId() const
UpdateSubscriptionTargetResult & WithCreatedBy(CreatedByT &&value)
UpdateSubscriptionTargetResult & WithAuthorizedPrincipals(AuthorizedPrincipalsT &&value)
void SetAuthorizedPrincipals(AuthorizedPrincipalsT &&value)
UpdateSubscriptionTargetResult & WithSubscriptionTargetConfig(SubscriptionTargetConfigT &&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