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>
159 template <
typename SubscriptionTargetIdT = Aws::String>
161 m_subscriptionTargetIdHasBeenSet =
true;
162 m_subscriptionTargetId = std::forward<SubscriptionTargetIdT>(value);
164 template <
typename SubscriptionTargetIdT = Aws::String>
176 template <
typename GrantedEntityT = GrantedEntity>
178 m_grantedEntityHasBeenSet =
true;
179 m_grantedEntity = std::forward<GrantedEntityT>(value);
181 template <
typename GrantedEntityT = GrantedEntity>
194 m_statusHasBeenSet =
true;
208 template <
typename AssetsT = Aws::Vector<SubscribedAsset>>
210 m_assetsHasBeenSet =
true;
211 m_assets = std::forward<AssetsT>(value);
213 template <
typename AssetsT = Aws::Vector<SubscribedAsset>>
218 template <
typename AssetsT = SubscribedAsset>
220 m_assetsHasBeenSet =
true;
221 m_assets.emplace_back(std::forward<AssetsT>(value));
229 template <
typename RequestIdT = Aws::String>
231 m_requestIdHasBeenSet =
true;
232 m_requestId = std::forward<RequestIdT>(value);
234 template <
typename RequestIdT = Aws::String>
257 GrantedEntity m_grantedEntity;
264 bool m_idHasBeenSet =
false;
265 bool m_createdByHasBeenSet =
false;
266 bool m_updatedByHasBeenSet =
false;
267 bool m_domainIdHasBeenSet =
false;
268 bool m_createdAtHasBeenSet =
false;
269 bool m_updatedAtHasBeenSet =
false;
270 bool m_environmentIdHasBeenSet =
false;
271 bool m_subscriptionTargetIdHasBeenSet =
false;
272 bool m_grantedEntityHasBeenSet =
false;
273 bool m_statusHasBeenSet =
false;
274 bool m_assetsHasBeenSet =
false;
275 bool m_requestIdHasBeenSet =
false;
GetSubscriptionGrantResult & WithCreatedAt(CreatedAtT &&value)
void SetUpdatedBy(UpdatedByT &&value)
GetSubscriptionGrantResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
GetSubscriptionGrantResult & AddAssets(AssetsT &&value)
GetSubscriptionGrantResult & WithId(IdT &&value)
GetSubscriptionGrantResult & WithStatus(SubscriptionGrantOverallStatus value)
void SetCreatedBy(CreatedByT &&value)
void SetDomainId(DomainIdT &&value)
GetSubscriptionGrantResult & WithAssets(AssetsT &&value)
GetSubscriptionGrantResult & WithGrantedEntity(GrantedEntityT &&value)
const Aws::String & GetRequestId() const
GetSubscriptionGrantResult & WithCreatedBy(CreatedByT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetId() const
AWS_DATAZONE_API GetSubscriptionGrantResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const GrantedEntity & GetGrantedEntity() const
void SetGrantedEntity(GrantedEntityT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetSubscriptionTargetId() const
AWS_DATAZONE_API GetSubscriptionGrantResult()=default
const Aws::Vector< SubscribedAsset > & GetAssets() const
const Aws::String & GetUpdatedBy() const
void SetAssets(AssetsT &&value)
GetSubscriptionGrantResult & WithEnvironmentId(EnvironmentIdT &&value)
GetSubscriptionGrantResult & WithDomainId(DomainIdT &&value)
SubscriptionGrantOverallStatus GetStatus() const
void SetEnvironmentId(EnvironmentIdT &&value)
GetSubscriptionGrantResult & WithUpdatedBy(UpdatedByT &&value)
const Aws::String & GetCreatedBy() const
const Aws::String & GetEnvironmentId() const
GetSubscriptionGrantResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_DATAZONE_API GetSubscriptionGrantResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSubscriptionGrantResult & WithSubscriptionTargetId(SubscriptionTargetIdT &&value)
const Aws::String & GetDomainId() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetSubscriptionTargetId(SubscriptionTargetIdT &&value)
void SetStatus(SubscriptionGrantOverallStatus 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