7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dataexchange/model/DataGrantAcceptanceState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/dataexchange/model/GrantDistributionScope.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
44 template<
typename NameT = Aws::String>
45 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
46 template<
typename NameT = Aws::String>
55 template<
typename SenderPrincipalT = Aws::String>
56 void SetSenderPrincipal(SenderPrincipalT&& value) { m_senderPrincipalHasBeenSet =
true; m_senderPrincipal = std::forward<SenderPrincipalT>(value); }
57 template<
typename SenderPrincipalT = Aws::String>
66 template<
typename ReceiverPrincipalT = Aws::String>
67 void SetReceiverPrincipal(ReceiverPrincipalT&& value) { m_receiverPrincipalHasBeenSet =
true; m_receiverPrincipal = std::forward<ReceiverPrincipalT>(value); }
68 template<
typename ReceiverPrincipalT = Aws::String>
77 template<
typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
79 template<
typename DescriptionT = Aws::String>
97 template<
typename AcceptedAtT = Aws::Utils::DateTime>
98 void SetAcceptedAt(AcceptedAtT&& value) { m_acceptedAtHasBeenSet =
true; m_acceptedAt = std::forward<AcceptedAtT>(value); }
99 template<
typename AcceptedAtT = Aws::Utils::DateTime>
108 template<
typename EndsAtT = Aws::Utils::DateTime>
109 void SetEndsAt(EndsAtT&& value) { m_endsAtHasBeenSet =
true; m_endsAt = std::forward<EndsAtT>(value); }
110 template<
typename EndsAtT = Aws::Utils::DateTime>
128 template<
typename DataSetIdT = Aws::String>
129 void SetDataSetId(DataSetIdT&& value) { m_dataSetIdHasBeenSet =
true; m_dataSetId = std::forward<DataSetIdT>(value); }
130 template<
typename DataSetIdT = Aws::String>
139 template<
typename SourceDataSetIdT = Aws::String>
140 void SetSourceDataSetId(SourceDataSetIdT&& value) { m_sourceDataSetIdHasBeenSet =
true; m_sourceDataSetId = std::forward<SourceDataSetIdT>(value); }
141 template<
typename SourceDataSetIdT = Aws::String>
150 template<
typename IdT = Aws::String>
151 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
152 template<
typename IdT = Aws::String>
161 template<
typename ArnT = Aws::String>
162 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
163 template<
typename ArnT = Aws::String>
172 template<
typename CreatedAtT = Aws::Utils::DateTime>
173 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
174 template<
typename CreatedAtT = Aws::Utils::DateTime>
183 template<
typename UpdatedAtT = Aws::Utils::DateTime>
184 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
185 template<
typename UpdatedAtT = Aws::Utils::DateTime>
194 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
195 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
196 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
198 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
200 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
207 template<
typename RequestIdT = Aws::String>
208 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
209 template<
typename RequestIdT = Aws::String>
215 bool m_nameHasBeenSet =
false;
218 bool m_senderPrincipalHasBeenSet =
false;
221 bool m_receiverPrincipalHasBeenSet =
false;
224 bool m_descriptionHasBeenSet =
false;
227 bool m_acceptanceStateHasBeenSet =
false;
230 bool m_acceptedAtHasBeenSet =
false;
233 bool m_endsAtHasBeenSet =
false;
236 bool m_grantDistributionScopeHasBeenSet =
false;
239 bool m_dataSetIdHasBeenSet =
false;
242 bool m_sourceDataSetIdHasBeenSet =
false;
245 bool m_idHasBeenSet =
false;
248 bool m_arnHasBeenSet =
false;
251 bool m_createdAtHasBeenSet =
false;
254 bool m_updatedAtHasBeenSet =
false;
257 bool m_tagsHasBeenSet =
false;
260 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetArn() const
void SetTags(TagsT &&value)
void SetDataSetId(DataSetIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetArn(ArnT &&value)
void SetAcceptanceState(DataGrantAcceptanceState value)
const Aws::Utils::DateTime & GetAcceptedAt() const
const Aws::String & GetDataSetId() const
void SetReceiverPrincipal(ReceiverPrincipalT &&value)
GetDataGrantResult & WithRequestId(RequestIdT &&value)
GetDataGrantResult & WithEndsAt(EndsAtT &&value)
void SetRequestId(RequestIdT &&value)
GetDataGrantResult & WithTags(TagsT &&value)
const Aws::String & GetDescription() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetUpdatedAt(UpdatedAtT &&value)
GetDataGrantResult & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetRequestId() const
AWS_DATAEXCHANGE_API GetDataGrantResult()=default
void SetName(NameT &&value)
GetDataGrantResult & WithSourceDataSetId(SourceDataSetIdT &&value)
void SetAcceptedAt(AcceptedAtT &&value)
GetDataGrantResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetDataGrantResult & WithSenderPrincipal(SenderPrincipalT &&value)
const Aws::String & GetName() const
void SetSourceDataSetId(SourceDataSetIdT &&value)
GetDataGrantResult & WithId(IdT &&value)
GetDataGrantResult & WithReceiverPrincipal(ReceiverPrincipalT &&value)
GetDataGrantResult & WithCreatedAt(CreatedAtT &&value)
AWS_DATAEXCHANGE_API GetDataGrantResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GrantDistributionScope GetGrantDistributionScope() const
const Aws::String & GetSourceDataSetId() const
GetDataGrantResult & WithName(NameT &&value)
GetDataGrantResult & WithAcceptanceState(DataGrantAcceptanceState value)
AWS_DATAEXCHANGE_API GetDataGrantResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetDataGrantResult & WithDataSetId(DataSetIdT &&value)
DataGrantAcceptanceState GetAcceptanceState() const
void SetEndsAt(EndsAtT &&value)
GetDataGrantResult & WithDescription(DescriptionT &&value)
void SetSenderPrincipal(SenderPrincipalT &&value)
GetDataGrantResult & WithAcceptedAt(AcceptedAtT &&value)
const Aws::Utils::DateTime & GetEndsAt() const
const Aws::String & GetSenderPrincipal() const
const Aws::String & GetId() const
const Aws::String & GetReceiverPrincipal() const
GetDataGrantResult & WithArn(ArnT &&value)
void SetGrantDistributionScope(GrantDistributionScope value)
void SetDescription(DescriptionT &&value)
GetDataGrantResult & WithGrantDistributionScope(GrantDistributionScope value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue