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));
58 template <
typename AuthorizedPrincipalsT = Aws::Vector<Aws::String>>
60 m_authorizedPrincipalsHasBeenSet =
true;
61 m_authorizedPrincipals = std::forward<AuthorizedPrincipalsT>(value);
63 template <
typename AuthorizedPrincipalsT = Aws::Vector<Aws::String>>
68 template <
typename AuthorizedPrincipalsT = Aws::String>
70 m_authorizedPrincipalsHasBeenSet =
true;
71 m_authorizedPrincipals.emplace_back(std::forward<AuthorizedPrincipalsT>(value));
82 template <
typename DomainIdT = Aws::String>
84 m_domainIdHasBeenSet =
true;
85 m_domainId = std::forward<DomainIdT>(value);
87 template <
typename DomainIdT = Aws::String>
100 template <
typename ProjectIdT = Aws::String>
102 m_projectIdHasBeenSet =
true;
103 m_projectId = std::forward<ProjectIdT>(value);
105 template <
typename ProjectIdT = Aws::String>
118 template <
typename EnvironmentIdT = Aws::String>
120 m_environmentIdHasBeenSet =
true;
121 m_environmentId = std::forward<EnvironmentIdT>(value);
123 template <
typename EnvironmentIdT = Aws::String>
136 template <
typename NameT = Aws::String>
138 m_nameHasBeenSet =
true;
139 m_name = std::forward<NameT>(value);
141 template <
typename NameT = Aws::String>
143 SetName(std::forward<NameT>(value));
154 template <
typename TypeT = Aws::String>
156 m_typeHasBeenSet =
true;
157 m_type = std::forward<TypeT>(value);
159 template <
typename TypeT = Aws::String>
161 SetType(std::forward<TypeT>(value));
171 template <
typename CreatedByT = Aws::String>
173 m_createdByHasBeenSet =
true;
174 m_createdBy = std::forward<CreatedByT>(value);
176 template <
typename CreatedByT = Aws::String>
188 template <
typename UpdatedByT = Aws::String>
190 m_updatedByHasBeenSet =
true;
191 m_updatedBy = std::forward<UpdatedByT>(value);
193 template <
typename UpdatedByT = Aws::String>
205 template <
typename CreatedAtT = Aws::Utils::DateTime>
207 m_createdAtHasBeenSet =
true;
208 m_createdAt = std::forward<CreatedAtT>(value);
210 template <
typename CreatedAtT = Aws::Utils::DateTime>
222 template <
typename UpdatedAtT = Aws::Utils::DateTime>
224 m_updatedAtHasBeenSet =
true;
225 m_updatedAt = std::forward<UpdatedAtT>(value);
227 template <
typename UpdatedAtT = Aws::Utils::DateTime>
240 template <
typename ManageAccessRoleT = Aws::String>
242 m_manageAccessRoleHasBeenSet =
true;
243 m_manageAccessRole = std::forward<ManageAccessRoleT>(value);
245 template <
typename ManageAccessRoleT = Aws::String>
258 template <
typename ApplicableAssetTypesT = Aws::Vector<Aws::String>>
260 m_applicableAssetTypesHasBeenSet =
true;
261 m_applicableAssetTypes = std::forward<ApplicableAssetTypesT>(value);
263 template <
typename ApplicableAssetTypesT = Aws::Vector<Aws::String>>
268 template <
typename ApplicableAssetTypesT = Aws::String>
270 m_applicableAssetTypesHasBeenSet =
true;
271 m_applicableAssetTypes.emplace_back(std::forward<ApplicableAssetTypesT>(value));
282 template <
typename SubscriptionTargetConfigT = Aws::Vector<SubscriptionTargetForm>>
284 m_subscriptionTargetConfigHasBeenSet =
true;
285 m_subscriptionTargetConfig = std::forward<SubscriptionTargetConfigT>(value);
287 template <
typename SubscriptionTargetConfigT = Aws::Vector<SubscriptionTargetForm>>
292 template <
typename SubscriptionTargetConfigT = SubscriptionTargetForm>
294 m_subscriptionTargetConfigHasBeenSet =
true;
295 m_subscriptionTargetConfig.emplace_back(std::forward<SubscriptionTargetConfigT>(value));
306 template <
typename Prov
iderT = Aws::String>
308 m_providerHasBeenSet =
true;
309 m_provider = std::forward<ProviderT>(value);
311 template <
typename Prov
iderT = Aws::String>
325 m_subscriptionGrantCreationModeHasBeenSet =
true;
326 m_subscriptionGrantCreationMode = value;
337 template <
typename RequestIdT = Aws::String>
339 m_requestIdHasBeenSet =
true;
340 m_requestId = std::forward<RequestIdT>(value);
342 template <
typename RequestIdT = Aws::String>
385 bool m_idHasBeenSet =
false;
386 bool m_authorizedPrincipalsHasBeenSet =
false;
387 bool m_domainIdHasBeenSet =
false;
388 bool m_projectIdHasBeenSet =
false;
389 bool m_environmentIdHasBeenSet =
false;
390 bool m_nameHasBeenSet =
false;
391 bool m_typeHasBeenSet =
false;
392 bool m_createdByHasBeenSet =
false;
393 bool m_updatedByHasBeenSet =
false;
394 bool m_createdAtHasBeenSet =
false;
395 bool m_updatedAtHasBeenSet =
false;
396 bool m_manageAccessRoleHasBeenSet =
false;
397 bool m_applicableAssetTypesHasBeenSet =
false;
398 bool m_subscriptionTargetConfigHasBeenSet =
false;
399 bool m_providerHasBeenSet =
false;
400 bool m_subscriptionGrantCreationModeHasBeenSet =
false;
401 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
Aws::Http::HttpResponseCode GetHttpResponseCode() 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