7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/CodeBuildRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
64 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
72 bool m_policyHasBeenSet =
false;
75 bool m_resourceArnHasBeenSet =
false;
void SetPolicy(Aws::String &&value)
void SetResourceArn(const Aws::String &value)
PutResourcePolicyRequest & WithPolicy(Aws::String &&value)
void SetResourceArn(Aws::String &&value)
void SetResourceArn(const char *value)
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutResourcePolicyRequest & WithResourceArn(Aws::String &&value)
const Aws::String & GetPolicy() const
const Aws::String & GetResourceArn() const
bool PolicyHasBeenSet() const
bool ResourceArnHasBeenSet() const
AWS_CODEBUILD_API Aws::String SerializePayload() const override
AWS_CODEBUILD_API PutResourcePolicyRequest()
PutResourcePolicyRequest & WithPolicy(const Aws::String &value)
PutResourcePolicyRequest & WithResourceArn(const char *value)
PutResourcePolicyRequest & WithResourceArn(const Aws::String &value)
PutResourcePolicyRequest & WithPolicy(const char *value)
void SetPolicy(const char *value)
void SetPolicy(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String