7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/datazone/model/SubscriptionTargetForm.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename ApplicableAssetTypesT = Aws::Vector<Aws::String>>
44 void SetApplicableAssetTypes(ApplicableAssetTypesT&& value) { m_applicableAssetTypesHasBeenSet =
true; m_applicableAssetTypes = std::forward<ApplicableAssetTypesT>(value); }
45 template<
typename ApplicableAssetTypesT = Aws::Vector<Aws::String>>
47 template<
typename ApplicableAssetTypesT = Aws::String>
56 template<
typename AuthorizedPrincipalsT = Aws::Vector<Aws::String>>
57 void SetAuthorizedPrincipals(AuthorizedPrincipalsT&& value) { m_authorizedPrincipalsHasBeenSet =
true; m_authorizedPrincipals = std::forward<AuthorizedPrincipalsT>(value); }
58 template<
typename AuthorizedPrincipalsT = Aws::Vector<Aws::String>>
60 template<
typename AuthorizedPrincipalsT = Aws::String>
69 template<
typename CreatedAtT = Aws::Utils::DateTime>
70 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
71 template<
typename CreatedAtT = Aws::Utils::DateTime>
80 template<
typename CreatedByT = Aws::String>
81 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
82 template<
typename CreatedByT = Aws::String>
92 template<
typename DomainIdT = Aws::String>
93 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet =
true; m_domainId = std::forward<DomainIdT>(value); }
94 template<
typename DomainIdT = Aws::String>
103 template<
typename EnvironmentIdT = Aws::String>
104 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet =
true; m_environmentId = std::forward<EnvironmentIdT>(value); }
105 template<
typename EnvironmentIdT = Aws::String>
114 template<
typename IdT = Aws::String>
115 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
116 template<
typename IdT = Aws::String>
125 template<
typename ManageAccessRoleT = Aws::String>
126 void SetManageAccessRole(ManageAccessRoleT&& value) { m_manageAccessRoleHasBeenSet =
true; m_manageAccessRole = std::forward<ManageAccessRoleT>(value); }
127 template<
typename ManageAccessRoleT = Aws::String>
136 template<
typename NameT = Aws::String>
137 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
138 template<
typename NameT = Aws::String>
147 template<
typename ProjectIdT = Aws::String>
148 void SetProjectId(ProjectIdT&& value) { m_projectIdHasBeenSet =
true; m_projectId = std::forward<ProjectIdT>(value); }
149 template<
typename ProjectIdT = Aws::String>
158 template<
typename Prov
iderT = Aws::String>
159 void SetProvider(ProviderT&& value) { m_providerHasBeenSet =
true; m_provider = std::forward<ProviderT>(value); }
160 template<
typename Prov
iderT = Aws::String>
169 template<
typename SubscriptionTargetConfigT = Aws::Vector<SubscriptionTargetForm>>
170 void SetSubscriptionTargetConfig(SubscriptionTargetConfigT&& value) { m_subscriptionTargetConfigHasBeenSet =
true; m_subscriptionTargetConfig = std::forward<SubscriptionTargetConfigT>(value); }
171 template<
typename SubscriptionTargetConfigT = Aws::Vector<SubscriptionTargetForm>>
173 template<
typename SubscriptionTargetConfigT = SubscriptionTargetForm>
182 template<
typename TypeT = Aws::String>
183 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
184 template<
typename TypeT = Aws::String>
193 template<
typename UpdatedAtT = Aws::Utils::DateTime>
194 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
195 template<
typename UpdatedAtT = Aws::Utils::DateTime>
204 template<
typename UpdatedByT = Aws::String>
205 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet =
true; m_updatedBy = std::forward<UpdatedByT>(value); }
206 template<
typename UpdatedByT = Aws::String>
213 template<
typename RequestIdT = Aws::String>
214 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
215 template<
typename RequestIdT = Aws::String>
221 bool m_applicableAssetTypesHasBeenSet =
false;
224 bool m_authorizedPrincipalsHasBeenSet =
false;
227 bool m_createdAtHasBeenSet =
false;
230 bool m_createdByHasBeenSet =
false;
233 bool m_domainIdHasBeenSet =
false;
236 bool m_environmentIdHasBeenSet =
false;
239 bool m_idHasBeenSet =
false;
242 bool m_manageAccessRoleHasBeenSet =
false;
245 bool m_nameHasBeenSet =
false;
248 bool m_projectIdHasBeenSet =
false;
251 bool m_providerHasBeenSet =
false;
254 bool m_subscriptionTargetConfigHasBeenSet =
false;
257 bool m_typeHasBeenSet =
false;
260 bool m_updatedAtHasBeenSet =
false;
263 bool m_updatedByHasBeenSet =
false;
266 bool m_requestIdHasBeenSet =
false;
GetSubscriptionTargetResult & WithProvider(ProviderT &&value)
GetSubscriptionTargetResult & WithEnvironmentId(EnvironmentIdT &&value)
void SetAuthorizedPrincipals(AuthorizedPrincipalsT &&value)
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 & 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
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 SetManageAccessRole(ManageAccessRoleT &&value)
const Aws::Vector< SubscriptionTargetForm > & GetSubscriptionTargetConfig() const
void SetType(TypeT &&value)
void SetUpdatedBy(UpdatedByT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue