7#include <aws/secretsmanager/SecretsManager_EXPORTS.h>
8#include <aws/secretsmanager/SecretsManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace SecretsManager
49 inline void SetSecretId(
const char* value) { m_secretIdHasBeenSet =
true; m_secretId.assign(value); }
66 inline void SetResourcePolicy(
const char* value) { m_resourcePolicyHasBeenSet =
true; m_resourcePolicy.assign(value); }
91 inline void SetBlockPublicPolicy(
bool value) { m_blockPublicPolicyHasBeenSet =
true; m_blockPublicPolicy = value; }
97 bool m_secretIdHasBeenSet =
false;
100 bool m_resourcePolicyHasBeenSet =
false;
102 bool m_blockPublicPolicy;
103 bool m_blockPublicPolicyHasBeenSet =
false;
AWS_SECRETSMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool BlockPublicPolicyHasBeenSet() const
PutResourcePolicyRequest & WithSecretId(const char *value)
bool SecretIdHasBeenSet() const
PutResourcePolicyRequest & WithResourcePolicy(const Aws::String &value)
bool GetBlockPublicPolicy() const
void SetSecretId(const char *value)
void SetSecretId(Aws::String &&value)
void SetResourcePolicy(Aws::String &&value)
PutResourcePolicyRequest & WithBlockPublicPolicy(bool value)
PutResourcePolicyRequest & WithSecretId(const Aws::String &value)
void SetSecretId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetResourcePolicy() const
AWS_SECRETSMANAGER_API PutResourcePolicyRequest()
bool ResourcePolicyHasBeenSet() const
void SetResourcePolicy(const char *value)
const Aws::String & GetSecretId() const
PutResourcePolicyRequest & WithResourcePolicy(Aws::String &&value)
AWS_SECRETSMANAGER_API Aws::String SerializePayload() const override
void SetResourcePolicy(const Aws::String &value)
PutResourcePolicyRequest & WithSecretId(Aws::String &&value)
PutResourcePolicyRequest & WithResourcePolicy(const char *value)
void SetBlockPublicPolicy(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String