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/Permission.h>
12#include <aws/s3control/model/AccessGrantsLocationConfiguration.h>
65 inline void SetAccessGrantId(
const char* value) { m_accessGrantIdHasBeenSet =
true; m_accessGrantId.assign(value); }
79 inline void SetAccessGrantArn(
const char* value) { m_accessGrantArnHasBeenSet =
true; m_accessGrantArn.assign(value); }
95 inline void SetGrantee(
const Grantee& value) { m_granteeHasBeenSet =
true; m_grantee = value; }
96 inline void SetGrantee(
Grantee&& value) { m_granteeHasBeenSet =
true; m_grantee = std::move(value); }
128 inline void SetAccessGrantsLocationId(
const char* value) { m_accessGrantsLocationIdHasBeenSet =
true; m_accessGrantsLocationId.assign(value); }
156 inline void SetGrantScope(
const char* value) { m_grantScopeHasBeenSet =
true; m_grantScope.assign(value); }
173 inline void SetApplicationArn(
const char* value) { m_applicationArnHasBeenSet =
true; m_applicationArn.assign(value); }
181 bool m_createdAtHasBeenSet =
false;
184 bool m_accessGrantIdHasBeenSet =
false;
187 bool m_accessGrantArnHasBeenSet =
false;
190 bool m_granteeHasBeenSet =
false;
193 bool m_permissionHasBeenSet =
false;
196 bool m_accessGrantsLocationIdHasBeenSet =
false;
199 bool m_accessGrantsLocationConfigurationHasBeenSet =
false;
202 bool m_grantScopeHasBeenSet =
false;
205 bool m_applicationArnHasBeenSet =
false;
void SetAccessGrantArn(const char *value)
bool CreatedAtHasBeenSet() const
const Grantee & GetGrantee() const
ListAccessGrantEntry & WithGrantScope(Aws::String &&value)
void SetGrantScope(Aws::String &&value)
void SetPermission(const Permission &value)
AWS_S3CONTROL_API ListAccessGrantEntry(const Aws::Utils::Xml::XmlNode &xmlNode)
ListAccessGrantEntry & WithAccessGrantArn(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
ListAccessGrantEntry & WithAccessGrantsLocationId(const Aws::String &value)
ListAccessGrantEntry & WithAccessGrantId(const Aws::String &value)
ListAccessGrantEntry & WithGrantee(Grantee &&value)
ListAccessGrantEntry & WithAccessGrantId(const char *value)
void SetGrantScope(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
bool AccessGrantArnHasBeenSet() const
void SetAccessGrantsLocationConfiguration(AccessGrantsLocationConfiguration &&value)
ListAccessGrantEntry & WithGrantee(const Grantee &value)
bool AccessGrantIdHasBeenSet() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetAccessGrantId(const Aws::String &value)
AWS_S3CONTROL_API ListAccessGrantEntry & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ListAccessGrantEntry & WithAccessGrantArn(const Aws::String &value)
void SetAccessGrantsLocationConfiguration(const AccessGrantsLocationConfiguration &value)
void SetAccessGrantId(Aws::String &&value)
bool AccessGrantsLocationIdHasBeenSet() const
ListAccessGrantEntry & WithAccessGrantId(Aws::String &&value)
ListAccessGrantEntry & WithAccessGrantArn(const char *value)
void SetApplicationArn(const Aws::String &value)
ListAccessGrantEntry & WithApplicationArn(const Aws::String &value)
ListAccessGrantEntry & WithCreatedAt(const Aws::Utils::DateTime &value)
ListAccessGrantEntry & WithAccessGrantsLocationConfiguration(const AccessGrantsLocationConfiguration &value)
void SetAccessGrantId(const char *value)
void SetGrantee(const Grantee &value)
void SetAccessGrantArn(Aws::String &&value)
void SetAccessGrantsLocationId(const char *value)
ListAccessGrantEntry & WithGrantScope(const Aws::String &value)
void SetAccessGrantArn(const Aws::String &value)
const Aws::String & GetAccessGrantsLocationId() const
bool GranteeHasBeenSet() const
bool ApplicationArnHasBeenSet() const
ListAccessGrantEntry & WithApplicationArn(const char *value)
void SetGrantee(Grantee &&value)
ListAccessGrantEntry & WithPermission(const Permission &value)
void SetApplicationArn(Aws::String &&value)
ListAccessGrantEntry & WithAccessGrantsLocationConfiguration(AccessGrantsLocationConfiguration &&value)
ListAccessGrantEntry & WithApplicationArn(Aws::String &&value)
void SetAccessGrantsLocationId(const Aws::String &value)
bool GrantScopeHasBeenSet() const
ListAccessGrantEntry & WithPermission(Permission &&value)
void SetGrantScope(const char *value)
ListAccessGrantEntry & WithGrantScope(const char *value)
bool AccessGrantsLocationConfigurationHasBeenSet() const
const AccessGrantsLocationConfiguration & GetAccessGrantsLocationConfiguration() const
ListAccessGrantEntry & WithAccessGrantsLocationId(Aws::String &&value)
AWS_S3CONTROL_API ListAccessGrantEntry()
const Aws::String & GetAccessGrantArn() const
const Aws::String & GetGrantScope() const
void SetAccessGrantsLocationId(Aws::String &&value)
ListAccessGrantEntry & WithAccessGrantsLocationId(const char *value)
const Aws::String & GetAccessGrantId() const
ListAccessGrantEntry & WithCreatedAt(Aws::Utils::DateTime &&value)
const Permission & GetPermission() const
void SetPermission(Permission &&value)
void SetApplicationArn(const char *value)
bool PermissionHasBeenSet() const
const Aws::String & GetApplicationArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String