7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3control/S3Control_EXPORTS.h>
11#include <aws/s3control/model/AccessGrantsLocationConfiguration.h>
12#include <aws/s3control/model/Grantee.h>
13#include <aws/s3control/model/Permission.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
39 template <
typename CreatedAtT = Aws::Utils::DateTime>
41 m_createdAtHasBeenSet =
true;
42 m_createdAt = std::forward<CreatedAtT>(value);
44 template <
typename CreatedAtT = Aws::Utils::DateTime>
57 template <
typename AccessGrantIdT = Aws::String>
59 m_accessGrantIdHasBeenSet =
true;
60 m_accessGrantId = std::forward<AccessGrantIdT>(value);
62 template <
typename AccessGrantIdT = Aws::String>
74 template <
typename AccessGrantArnT = Aws::String>
76 m_accessGrantArnHasBeenSet =
true;
77 m_accessGrantArn = std::forward<AccessGrantArnT>(value);
79 template <
typename AccessGrantArnT = Aws::String>
95 template <
typename GranteeT = Grantee>
97 m_granteeHasBeenSet =
true;
98 m_grantee = std::forward<GranteeT>(value);
100 template <
typename GranteeT = Grantee>
115 template <
typename AccessGrantsLocationIdT = Aws::String>
117 m_accessGrantsLocationIdHasBeenSet =
true;
118 m_accessGrantsLocationId = std::forward<AccessGrantsLocationIdT>(value);
120 template <
typename AccessGrantsLocationIdT = Aws::String>
133 return m_accessGrantsLocationConfiguration;
135 template <
typename AccessGrantsLocationConfigurationT = AccessGrantsLocationConfiguration>
137 m_accessGrantsLocationConfigurationHasBeenSet =
true;
138 m_accessGrantsLocationConfiguration = std::forward<AccessGrantsLocationConfigurationT>(value);
140 template <
typename AccessGrantsLocationConfigurationT = AccessGrantsLocationConfiguration>
157 m_permissionHasBeenSet =
true;
158 m_permission = value;
174 template <
typename ApplicationArnT = Aws::String>
176 m_applicationArnHasBeenSet =
true;
177 m_applicationArn = std::forward<ApplicationArnT>(value);
179 template <
typename ApplicationArnT = Aws::String>
192 template <
typename GrantScopeT = Aws::String>
194 m_grantScopeHasBeenSet =
true;
195 m_grantScope = std::forward<GrantScopeT>(value);
197 template <
typename GrantScopeT = Aws::String>
209 template <
typename RequestIdT = Aws::String>
211 m_requestIdHasBeenSet =
true;
212 m_requestId = std::forward<RequestIdT>(value);
214 template <
typename RequestIdT = Aws::String>
226 template <
typename HostIdT = Aws::String>
228 m_hostIdHasBeenSet =
true;
229 m_hostId = std::forward<HostIdT>(value);
231 template <
typename HostIdT = Aws::String>
250 AccessGrantsLocationConfiguration m_accessGrantsLocationConfiguration;
262 bool m_createdAtHasBeenSet =
false;
263 bool m_accessGrantIdHasBeenSet =
false;
264 bool m_accessGrantArnHasBeenSet =
false;
265 bool m_granteeHasBeenSet =
false;
266 bool m_accessGrantsLocationIdHasBeenSet =
false;
267 bool m_accessGrantsLocationConfigurationHasBeenSet =
false;
268 bool m_permissionHasBeenSet =
false;
269 bool m_applicationArnHasBeenSet =
false;
270 bool m_grantScopeHasBeenSet =
false;
271 bool m_requestIdHasBeenSet =
false;
272 bool m_hostIdHasBeenSet =
false;
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetHostId() const
const Aws::String & GetAccessGrantId() const
void SetGrantScope(GrantScopeT &&value)
const Aws::String & GetAccessGrantsLocationId() const
CreateAccessGrantResult & WithAccessGrantsLocationConfiguration(AccessGrantsLocationConfigurationT &&value)
const Aws::String & GetRequestId() const
AWS_S3CONTROL_API CreateAccessGrantResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_S3CONTROL_API CreateAccessGrantResult()=default
CreateAccessGrantResult & WithAccessGrantId(AccessGrantIdT &&value)
void SetGrantee(GranteeT &&value)
CreateAccessGrantResult & WithGrantee(GranteeT &&value)
const Aws::String & GetApplicationArn() const
AWS_S3CONTROL_API CreateAccessGrantResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::String & GetAccessGrantArn() const
void SetAccessGrantId(AccessGrantIdT &&value)
void SetApplicationArn(ApplicationArnT &&value)
const Grantee & GetGrantee() const
CreateAccessGrantResult & WithAccessGrantsLocationId(AccessGrantsLocationIdT &&value)
void SetAccessGrantArn(AccessGrantArnT &&value)
CreateAccessGrantResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetGrantScope() const
void SetHostId(HostIdT &&value)
CreateAccessGrantResult & WithApplicationArn(ApplicationArnT &&value)
void SetAccessGrantsLocationConfiguration(AccessGrantsLocationConfigurationT &&value)
void SetPermission(Permission value)
CreateAccessGrantResult & WithHostId(HostIdT &&value)
CreateAccessGrantResult & WithPermission(Permission value)
CreateAccessGrantResult & WithGrantScope(GrantScopeT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetAccessGrantsLocationId(AccessGrantsLocationIdT &&value)
CreateAccessGrantResult & WithCreatedAt(CreatedAtT &&value)
CreateAccessGrantResult & WithAccessGrantArn(AccessGrantArnT &&value)
void SetRequestId(RequestIdT &&value)
const AccessGrantsLocationConfiguration & GetAccessGrantsLocationConfiguration() const
const Aws::Utils::DateTime & GetCreatedAt() const
Permission GetPermission() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument