7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3control/model/Grantee.h>
11#include <aws/s3control/model/AccessGrantsLocationConfiguration.h>
12#include <aws/s3control/model/Permission.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
44 template<
typename CreatedAtT = Aws::Utils::DateTime>
45 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
46 template<
typename CreatedAtT = Aws::Utils::DateTime>
56 template<
typename AccessGrantIdT = Aws::String>
57 void SetAccessGrantId(AccessGrantIdT&& value) { m_accessGrantIdHasBeenSet =
true; m_accessGrantId = std::forward<AccessGrantIdT>(value); }
58 template<
typename AccessGrantIdT = Aws::String>
67 template<
typename AccessGrantArnT = Aws::String>
68 void SetAccessGrantArn(AccessGrantArnT&& value) { m_accessGrantArnHasBeenSet =
true; m_accessGrantArn = std::forward<AccessGrantArnT>(value); }
69 template<
typename AccessGrantArnT = Aws::String>
82 template<
typename GranteeT = Grantee>
83 void SetGrantee(GranteeT&& value) { m_granteeHasBeenSet =
true; m_grantee = std::forward<GranteeT>(value); }
84 template<
typename GranteeT = Grantee>
96 template<
typename AccessGrantsLocationIdT = Aws::String>
97 void SetAccessGrantsLocationId(AccessGrantsLocationIdT&& value) { m_accessGrantsLocationIdHasBeenSet =
true; m_accessGrantsLocationId = std::forward<AccessGrantsLocationIdT>(value); }
98 template<
typename AccessGrantsLocationIdT = Aws::String>
108 template<
typename AccessGrantsLocationConfigurationT = AccessGrantsLocationConfiguration>
109 void SetAccessGrantsLocationConfiguration(AccessGrantsLocationConfigurationT&& value) { m_accessGrantsLocationConfigurationHasBeenSet =
true; m_accessGrantsLocationConfiguration = std::forward<AccessGrantsLocationConfigurationT>(value); }
110 template<
typename AccessGrantsLocationConfigurationT = AccessGrantsLocationConfiguration>
135 template<
typename ApplicationArnT = Aws::String>
136 void SetApplicationArn(ApplicationArnT&& value) { m_applicationArnHasBeenSet =
true; m_applicationArn = std::forward<ApplicationArnT>(value); }
137 template<
typename ApplicationArnT = Aws::String>
147 template<
typename GrantScopeT = Aws::String>
148 void SetGrantScope(GrantScopeT&& value) { m_grantScopeHasBeenSet =
true; m_grantScope = std::forward<GrantScopeT>(value); }
149 template<
typename GrantScopeT = Aws::String>
158 template<
typename RequestIdT = Aws::String>
159 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
160 template<
typename RequestIdT = Aws::String>
169 template<
typename HostIdT = Aws::String>
170 void SetHostId(HostIdT&& value) { m_hostIdHasBeenSet =
true; m_hostId = std::forward<HostIdT>(value); }
171 template<
typename HostIdT = Aws::String>
177 bool m_createdAtHasBeenSet =
false;
180 bool m_accessGrantIdHasBeenSet =
false;
183 bool m_accessGrantArnHasBeenSet =
false;
186 bool m_granteeHasBeenSet =
false;
189 bool m_accessGrantsLocationIdHasBeenSet =
false;
191 AccessGrantsLocationConfiguration m_accessGrantsLocationConfiguration;
192 bool m_accessGrantsLocationConfigurationHasBeenSet =
false;
195 bool m_permissionHasBeenSet =
false;
198 bool m_applicationArnHasBeenSet =
false;
201 bool m_grantScopeHasBeenSet =
false;
204 bool m_requestIdHasBeenSet =
false;
207 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)
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