7#include <aws/secretsmanager/SecretsManager_EXPORTS.h>
8#include <aws/secretsmanager/SecretsManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace SecretsManager
46 inline void SetSecretId(
const char* value) { m_secretIdHasBeenSet =
true; m_secretId.assign(value); }
64 inline void SetResourcePolicy(
const char* value) { m_resourcePolicyHasBeenSet =
true; m_resourcePolicy.assign(value); }
72 bool m_secretIdHasBeenSet =
false;
75 bool m_resourcePolicyHasBeenSet =
false;
void SetResourcePolicy(const char *value)
AWS_SECRETSMANAGER_API ValidateResourcePolicyRequest()
void SetSecretId(Aws::String &&value)
ValidateResourcePolicyRequest & WithResourcePolicy(const char *value)
const Aws::String & GetResourcePolicy() const
void SetResourcePolicy(Aws::String &&value)
ValidateResourcePolicyRequest & WithSecretId(const char *value)
void SetSecretId(const char *value)
AWS_SECRETSMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ValidateResourcePolicyRequest & WithResourcePolicy(const Aws::String &value)
ValidateResourcePolicyRequest & WithResourcePolicy(Aws::String &&value)
void SetResourcePolicy(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetSecretId() const
ValidateResourcePolicyRequest & WithSecretId(const Aws::String &value)
bool SecretIdHasBeenSet() const
void SetSecretId(const Aws::String &value)
ValidateResourcePolicyRequest & WithSecretId(Aws::String &&value)
AWS_SECRETSMANAGER_API Aws::String SerializePayload() const override
bool ResourcePolicyHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String