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/GrantedEntity.h>
12#include <aws/datazone/model/SubscribedAsset.h>
13#include <aws/datazone/model/SubscriptionGrantOverallStatus.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 CreatedByT = Aws::String>
58 m_createdByHasBeenSet =
true;
59 m_createdBy = std::forward<CreatedByT>(value);
61 template <
typename CreatedByT = Aws::String>
73 template <
typename UpdatedByT = Aws::String>
75 m_updatedByHasBeenSet =
true;
76 m_updatedBy = std::forward<UpdatedByT>(value);
78 template <
typename UpdatedByT = Aws::String>
91 template <
typename DomainIdT = Aws::String>
93 m_domainIdHasBeenSet =
true;
94 m_domainId = std::forward<DomainIdT>(value);
96 template <
typename DomainIdT = Aws::String>
108 template <
typename CreatedAtT = Aws::Utils::DateTime>
110 m_createdAtHasBeenSet =
true;
111 m_createdAt = std::forward<CreatedAtT>(value);
113 template <
typename CreatedAtT = Aws::Utils::DateTime>
125 template <
typename UpdatedAtT = Aws::Utils::DateTime>
127 m_updatedAtHasBeenSet =
true;
128 m_updatedAt = std::forward<UpdatedAtT>(value);
130 template <
typename UpdatedAtT = Aws::Utils::DateTime>
142 template <
typename EnvironmentIdT = Aws::String>
144 m_environmentIdHasBeenSet =
true;
145 m_environmentId = std::forward<EnvironmentIdT>(value);
147 template <
typename EnvironmentIdT = Aws::String>
160 template <
typename SubscriptionTargetIdT = Aws::String>
162 m_subscriptionTargetIdHasBeenSet =
true;
163 m_subscriptionTargetId = std::forward<SubscriptionTargetIdT>(value);
165 template <
typename SubscriptionTargetIdT = Aws::String>
177 template <
typename GrantedEntityT = GrantedEntity>
179 m_grantedEntityHasBeenSet =
true;
180 m_grantedEntity = std::forward<GrantedEntityT>(value);
182 template <
typename GrantedEntityT = GrantedEntity>
195 m_statusHasBeenSet =
true;
209 template <
typename AssetsT = Aws::Vector<SubscribedAsset>>
211 m_assetsHasBeenSet =
true;
212 m_assets = std::forward<AssetsT>(value);
214 template <
typename AssetsT = Aws::Vector<SubscribedAsset>>
219 template <
typename AssetsT = SubscribedAsset>
221 m_assetsHasBeenSet =
true;
222 m_assets.emplace_back(std::forward<AssetsT>(value));
230 template <
typename RequestIdT = Aws::String>
232 m_requestIdHasBeenSet =
true;
233 m_requestId = std::forward<RequestIdT>(value);
235 template <
typename RequestIdT = Aws::String>
258 GrantedEntity m_grantedEntity;
265 bool m_idHasBeenSet =
false;
266 bool m_createdByHasBeenSet =
false;
267 bool m_updatedByHasBeenSet =
false;
268 bool m_domainIdHasBeenSet =
false;
269 bool m_createdAtHasBeenSet =
false;
270 bool m_updatedAtHasBeenSet =
false;
271 bool m_environmentIdHasBeenSet =
false;
272 bool m_subscriptionTargetIdHasBeenSet =
false;
273 bool m_grantedEntityHasBeenSet =
false;
274 bool m_statusHasBeenSet =
false;
275 bool m_assetsHasBeenSet =
false;
276 bool m_requestIdHasBeenSet =
false;
void SetStatus(SubscriptionGrantOverallStatus value)
CreateSubscriptionGrantResult & AddAssets(AssetsT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
CreateSubscriptionGrantResult & WithEnvironmentId(EnvironmentIdT &&value)
CreateSubscriptionGrantResult & WithCreatedAt(CreatedAtT &&value)
CreateSubscriptionGrantResult & WithCreatedBy(CreatedByT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetUpdatedBy(UpdatedByT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetId() const
void SetSubscriptionTargetId(SubscriptionTargetIdT &&value)
CreateSubscriptionGrantResult & WithUpdatedBy(UpdatedByT &&value)
void SetEnvironmentId(EnvironmentIdT &&value)
const Aws::Vector< SubscribedAsset > & GetAssets() const
CreateSubscriptionGrantResult & WithId(IdT &&value)
CreateSubscriptionGrantResult & WithSubscriptionTargetId(SubscriptionTargetIdT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetCreatedBy(CreatedByT &&value)
const GrantedEntity & GetGrantedEntity() const
CreateSubscriptionGrantResult & WithRequestId(RequestIdT &&value)
void SetDomainId(DomainIdT &&value)
void SetGrantedEntity(GrantedEntityT &&value)
AWS_DATAZONE_API CreateSubscriptionGrantResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAssets(AssetsT &&value)
const Aws::String & GetSubscriptionTargetId() const
CreateSubscriptionGrantResult & WithGrantedEntity(GrantedEntityT &&value)
AWS_DATAZONE_API CreateSubscriptionGrantResult()=default
const Aws::String & GetUpdatedBy() const
CreateSubscriptionGrantResult & WithDomainId(DomainIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
AWS_DATAZONE_API CreateSubscriptionGrantResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetDomainId() const
CreateSubscriptionGrantResult & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetEnvironmentId() const
SubscriptionGrantOverallStatus GetStatus() const
CreateSubscriptionGrantResult & WithStatus(SubscriptionGrantOverallStatus value)
const Aws::String & GetRequestId() const
const Aws::String & GetCreatedBy() const
CreateSubscriptionGrantResult & WithAssets(AssetsT &&value)
SubscriptionGrantOverallStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue