7#include <aws/secretsmanager/SecretsManager_EXPORTS.h>
8#include <aws/secretsmanager/SecretsManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace SecretsManager
44 template<
typename SecretIdT = Aws::String>
45 void SetSecretId(SecretIdT&& value) { m_secretIdHasBeenSet =
true; m_secretId = std::forward<SecretIdT>(value); }
46 template<
typename SecretIdT = Aws::String>
60 template<
typename ResourcePolicyT = Aws::String>
61 void SetResourcePolicy(ResourcePolicyT&& value) { m_resourcePolicyHasBeenSet =
true; m_resourcePolicy = std::forward<ResourcePolicyT>(value); }
62 template<
typename ResourcePolicyT = Aws::String>
68 bool m_secretIdHasBeenSet =
false;
71 bool m_resourcePolicyHasBeenSet =
false;
ValidateResourcePolicyRequest & WithSecretId(SecretIdT &&value)
ValidateResourcePolicyRequest & WithResourcePolicy(ResourcePolicyT &&value)
void SetSecretId(SecretIdT &&value)
const Aws::String & GetResourcePolicy() const
AWS_SECRETSMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetResourcePolicy(ResourcePolicyT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetSecretId() const
AWS_SECRETSMANAGER_API ValidateResourcePolicyRequest()=default
bool SecretIdHasBeenSet() const
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