7#include <aws/secretsmanager/SecretsManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/secretsmanager/model/ValidationErrorsEntry.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
25namespace SecretsManager
64 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
71 bool m_policyValidationPassed;
bool GetPolicyValidationPassed() const
AWS_SECRETSMANAGER_API ValidateResourcePolicyResult()
void SetRequestId(const Aws::String &value)
void SetPolicyValidationPassed(bool value)
void SetValidationErrors(Aws::Vector< ValidationErrorsEntry > &&value)
ValidateResourcePolicyResult & WithRequestId(const char *value)
void SetRequestId(const char *value)
ValidateResourcePolicyResult & AddValidationErrors(const ValidationErrorsEntry &value)
ValidateResourcePolicyResult & WithValidationErrors(Aws::Vector< ValidationErrorsEntry > &&value)
ValidateResourcePolicyResult & WithRequestId(Aws::String &&value)
ValidateResourcePolicyResult & WithValidationErrors(const Aws::Vector< ValidationErrorsEntry > &value)
ValidateResourcePolicyResult & WithPolicyValidationPassed(bool value)
AWS_SECRETSMANAGER_API ValidateResourcePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< ValidationErrorsEntry > & GetValidationErrors() const
ValidateResourcePolicyResult & AddValidationErrors(ValidationErrorsEntry &&value)
void SetValidationErrors(const Aws::Vector< ValidationErrorsEntry > &value)
ValidateResourcePolicyResult & WithRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
void SetRequestId(Aws::String &&value)
AWS_SECRETSMANAGER_API ValidateResourcePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue