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;
159 inline void SetGrantScope(
const char* value) { m_grantScope.assign(value); }
170 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
CreateAccessGrantResult & WithPermission(Permission &&value)
void SetAccessGrantId(const Aws::String &value)
CreateAccessGrantResult & WithGrantScope(const char *value)
CreateAccessGrantResult & WithAccessGrantId(Aws::String &&value)
const Aws::String & GetAccessGrantId() const
void SetPermission(const Permission &value)
void SetApplicationArn(const char *value)
void SetAccessGrantsLocationId(const char *value)
const Aws::String & GetAccessGrantsLocationId() const
CreateAccessGrantResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetGrantee(const Grantee &value)
const Aws::String & GetRequestId() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
AWS_S3CONTROL_API CreateAccessGrantResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetAccessGrantsLocationId(const Aws::String &value)
CreateAccessGrantResult & WithCreatedAt(Aws::Utils::DateTime &&value)
CreateAccessGrantResult & WithAccessGrantArn(const Aws::String &value)
void SetRequestId(Aws::String &&value)
void SetAccessGrantsLocationId(Aws::String &&value)
void SetPermission(Permission &&value)
CreateAccessGrantResult & WithAccessGrantsLocationConfiguration(AccessGrantsLocationConfiguration &&value)
CreateAccessGrantResult & WithGrantee(const Grantee &value)
const Aws::String & GetApplicationArn() const
CreateAccessGrantResult & WithAccessGrantArn(const char *value)
AWS_S3CONTROL_API CreateAccessGrantResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateAccessGrantResult & WithAccessGrantId(const Aws::String &value)
CreateAccessGrantResult & WithAccessGrantId(const char *value)
CreateAccessGrantResult & WithApplicationArn(Aws::String &&value)
const Aws::String & GetAccessGrantArn() const
void SetAccessGrantId(const char *value)
void SetRequestId(const char *value)
CreateAccessGrantResult & WithAccessGrantsLocationId(Aws::String &&value)
const Grantee & GetGrantee() const
CreateAccessGrantResult & WithRequestId(const Aws::String &value)
CreateAccessGrantResult & WithRequestId(const char *value)
void SetAccessGrantArn(Aws::String &&value)
const Aws::String & GetGrantScope() const
CreateAccessGrantResult & WithApplicationArn(const Aws::String &value)
void SetRequestId(const Aws::String &value)
void SetApplicationArn(Aws::String &&value)
CreateAccessGrantResult & WithAccessGrantsLocationId(const Aws::String &value)
CreateAccessGrantResult & WithAccessGrantsLocationId(const char *value)
void SetAccessGrantId(Aws::String &&value)
CreateAccessGrantResult & WithRequestId(Aws::String &&value)
void SetAccessGrantArn(const Aws::String &value)
CreateAccessGrantResult & WithGrantee(Grantee &&value)
void SetGrantScope(const char *value)
AWS_S3CONTROL_API CreateAccessGrantResult()
CreateAccessGrantResult & WithAccessGrantsLocationConfiguration(const AccessGrantsLocationConfiguration &value)
CreateAccessGrantResult & WithGrantScope(Aws::String &&value)
CreateAccessGrantResult & WithGrantScope(const Aws::String &value)
CreateAccessGrantResult & WithAccessGrantArn(Aws::String &&value)
void SetAccessGrantsLocationConfiguration(const AccessGrantsLocationConfiguration &value)
void SetApplicationArn(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetGrantScope(const Aws::String &value)
const AccessGrantsLocationConfiguration & GetAccessGrantsLocationConfiguration() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Permission & GetPermission() const
CreateAccessGrantResult & WithApplicationArn(const char *value)
void SetAccessGrantArn(const char *value)
CreateAccessGrantResult & WithPermission(const Permission &value)
void SetGrantScope(Aws::String &&value)
void SetGrantee(Grantee &&value)
void SetAccessGrantsLocationConfiguration(AccessGrantsLocationConfiguration &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument