7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3control/S3Control_EXPORTS.h>
10#include <aws/s3control/model/AccessGrantsLocationConfiguration.h>
11#include <aws/s3control/model/Grantee.h>
12#include <aws/s3control/model/Permission.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename CreatedAtT = Aws::Utils::DateTime>
40 m_createdAtHasBeenSet =
true;
41 m_createdAt = std::forward<CreatedAtT>(value);
43 template <
typename CreatedAtT = Aws::Utils::DateTime>
56 template <
typename AccessGrantIdT = Aws::String>
58 m_accessGrantIdHasBeenSet =
true;
59 m_accessGrantId = std::forward<AccessGrantIdT>(value);
61 template <
typename AccessGrantIdT = Aws::String>
73 template <
typename AccessGrantArnT = Aws::String>
75 m_accessGrantArnHasBeenSet =
true;
76 m_accessGrantArn = std::forward<AccessGrantArnT>(value);
78 template <
typename AccessGrantArnT = Aws::String>
94 template <
typename GranteeT = Grantee>
96 m_granteeHasBeenSet =
true;
97 m_grantee = std::forward<GranteeT>(value);
99 template <
typename GranteeT = Grantee>
116 m_permissionHasBeenSet =
true;
117 m_permission = value;
133 template <
typename AccessGrantsLocationIdT = Aws::String>
135 m_accessGrantsLocationIdHasBeenSet =
true;
136 m_accessGrantsLocationId = std::forward<AccessGrantsLocationIdT>(value);
138 template <
typename AccessGrantsLocationIdT = Aws::String>
151 return m_accessGrantsLocationConfiguration;
153 template <
typename AccessGrantsLocationConfigurationT = AccessGrantsLocationConfiguration>
155 m_accessGrantsLocationConfigurationHasBeenSet =
true;
156 m_accessGrantsLocationConfiguration = std::forward<AccessGrantsLocationConfigurationT>(value);
158 template <
typename AccessGrantsLocationConfigurationT = AccessGrantsLocationConfiguration>
171 template <
typename GrantScopeT = Aws::String>
173 m_grantScopeHasBeenSet =
true;
174 m_grantScope = std::forward<GrantScopeT>(value);
176 template <
typename GrantScopeT = Aws::String>
191 template <
typename ApplicationArnT = Aws::String>
193 m_applicationArnHasBeenSet =
true;
194 m_applicationArn = std::forward<ApplicationArnT>(value);
196 template <
typename ApplicationArnT = Aws::String>
208 template <
typename RequestIdT = Aws::String>
210 m_requestIdHasBeenSet =
true;
211 m_requestId = std::forward<RequestIdT>(value);
213 template <
typename RequestIdT = Aws::String>
225 template <
typename HostIdT = Aws::String>
227 m_hostIdHasBeenSet =
true;
228 m_hostId = std::forward<HostIdT>(value);
230 template <
typename HostIdT = Aws::String>
249 AccessGrantsLocationConfiguration m_accessGrantsLocationConfiguration;
258 bool m_createdAtHasBeenSet =
false;
259 bool m_accessGrantIdHasBeenSet =
false;
260 bool m_accessGrantArnHasBeenSet =
false;
261 bool m_granteeHasBeenSet =
false;
262 bool m_permissionHasBeenSet =
false;
263 bool m_accessGrantsLocationIdHasBeenSet =
false;
264 bool m_accessGrantsLocationConfigurationHasBeenSet =
false;
265 bool m_grantScopeHasBeenSet =
false;
266 bool m_applicationArnHasBeenSet =
false;
267 bool m_requestIdHasBeenSet =
false;
268 bool m_hostIdHasBeenSet =
false;
GetAccessGrantResult & WithHostId(HostIdT &&value)
void SetHostId(HostIdT &&value)
void SetApplicationArn(ApplicationArnT &&value)
const Aws::String & GetHostId() const
const Aws::String & GetAccessGrantId() const
void SetRequestId(RequestIdT &&value)
void SetGrantee(GranteeT &&value)
const Aws::String & GetApplicationArn() const
void SetAccessGrantArn(AccessGrantArnT &&value)
GetAccessGrantResult & WithAccessGrantId(AccessGrantIdT &&value)
GetAccessGrantResult & WithAccessGrantArn(AccessGrantArnT &&value)
GetAccessGrantResult & WithGrantee(GranteeT &&value)
void SetAccessGrantsLocationId(AccessGrantsLocationIdT &&value)
const Grantee & GetGrantee() const
void SetCreatedAt(CreatedAtT &&value)
GetAccessGrantResult & WithCreatedAt(CreatedAtT &&value)
GetAccessGrantResult & WithGrantScope(GrantScopeT &&value)
AWS_S3CONTROL_API GetAccessGrantResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetAccessGrantResult & WithRequestId(RequestIdT &&value)
void SetGrantScope(GrantScopeT &&value)
GetAccessGrantResult & WithAccessGrantsLocationConfiguration(AccessGrantsLocationConfigurationT &&value)
GetAccessGrantResult & WithAccessGrantsLocationId(AccessGrantsLocationIdT &&value)
Permission GetPermission() const
const AccessGrantsLocationConfiguration & GetAccessGrantsLocationConfiguration() const
const Aws::String & GetRequestId() const
AWS_S3CONTROL_API GetAccessGrantResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetPermission(Permission value)
GetAccessGrantResult & WithApplicationArn(ApplicationArnT &&value)
const Aws::String & GetAccessGrantsLocationId() const
const Aws::String & GetAccessGrantArn() const
const Aws::String & GetGrantScope() const
void SetAccessGrantId(AccessGrantIdT &&value)
AWS_S3CONTROL_API GetAccessGrantResult()=default
GetAccessGrantResult & WithPermission(Permission value)
void SetAccessGrantsLocationConfiguration(AccessGrantsLocationConfigurationT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument