7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
56 bool m_policyHasBeenSet =
false;
VaultAccessPolicy & WithPolicy(Aws::String &&value)
VaultAccessPolicy & WithPolicy(const Aws::String &value)
AWS_GLACIER_API VaultAccessPolicy(Aws::Utils::Json::JsonView jsonValue)
void SetPolicy(const Aws::String &value)
AWS_GLACIER_API VaultAccessPolicy()
void SetPolicy(const char *value)
const Aws::String & GetPolicy() const
bool PolicyHasBeenSet() const
AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLACIER_API VaultAccessPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
VaultAccessPolicy & WithPolicy(const char *value)
void SetPolicy(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue