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 SetImageRecipeArn(
const char* value) { m_imageRecipeArnHasBeenSet =
true; m_imageRecipeArn.assign(value); }
58 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
66 bool m_imageRecipeArnHasBeenSet =
false;
69 bool m_policyHasBeenSet =
false;
void SetImageRecipeArn(const Aws::String &value)
PutImageRecipePolicyRequest & WithPolicy(Aws::String &&value)
PutImageRecipePolicyRequest & WithImageRecipeArn(Aws::String &&value)
PutImageRecipePolicyRequest & WithPolicy(const Aws::String &value)
void SetPolicy(Aws::String &&value)
AWS_IMAGEBUILDER_API PutImageRecipePolicyRequest()
bool ImageRecipeArnHasBeenSet() const
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
void SetImageRecipeArn(Aws::String &&value)
void SetImageRecipeArn(const char *value)
bool PolicyHasBeenSet() const
PutImageRecipePolicyRequest & WithImageRecipeArn(const Aws::String &value)
void SetPolicy(const char *value)
PutImageRecipePolicyRequest & WithImageRecipeArn(const char *value)
void SetPolicy(const Aws::String &value)
const Aws::String & GetImageRecipeArn() const
virtual const char * GetServiceRequestName() const override
PutImageRecipePolicyRequest & WithPolicy(const char *value)
const Aws::String & GetPolicy() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String