7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/ImagebuilderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
44 inline void SetImageArn(
const char* value) { m_imageArnHasBeenSet =
true; m_imageArn.assign(value); }
58 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
66 bool m_imageArnHasBeenSet =
false;
69 bool m_policyHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
void SetPolicy(Aws::String &&value)
void SetImageArn(const Aws::String &value)
AWS_IMAGEBUILDER_API PutImagePolicyRequest()
PutImagePolicyRequest & WithPolicy(const char *value)
void SetImageArn(const char *value)
PutImagePolicyRequest & WithImageArn(Aws::String &&value)
bool PolicyHasBeenSet() const
void SetPolicy(const char *value)
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
void SetImageArn(Aws::String &&value)
bool ImageArnHasBeenSet() const
const Aws::String & GetPolicy() const
const Aws::String & GetImageArn() const
PutImagePolicyRequest & WithImageArn(const Aws::String &value)
PutImagePolicyRequest & WithImageArn(const char *value)
PutImagePolicyRequest & WithPolicy(const Aws::String &value)
void SetPolicy(const Aws::String &value)
PutImagePolicyRequest & WithPolicy(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String