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 SetContainerRecipeArn(
const char* value) { m_containerRecipeArnHasBeenSet =
true; m_containerRecipeArn.assign(value); }
58 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
66 bool m_containerRecipeArnHasBeenSet =
false;
69 bool m_policyHasBeenSet =
false;
PutContainerRecipePolicyRequest & WithContainerRecipeArn(const Aws::String &value)
PutContainerRecipePolicyRequest & WithContainerRecipeArn(const char *value)
void SetContainerRecipeArn(const Aws::String &value)
PutContainerRecipePolicyRequest & WithContainerRecipeArn(Aws::String &&value)
bool ContainerRecipeArnHasBeenSet() const
PutContainerRecipePolicyRequest & WithPolicy(const Aws::String &value)
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
void SetPolicy(const char *value)
const Aws::String & GetPolicy() const
void SetContainerRecipeArn(const char *value)
const Aws::String & GetContainerRecipeArn() const
void SetPolicy(const Aws::String &value)
PutContainerRecipePolicyRequest & WithPolicy(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetPolicy(Aws::String &&value)
AWS_IMAGEBUILDER_API PutContainerRecipePolicyRequest()
void SetContainerRecipeArn(Aws::String &&value)
bool PolicyHasBeenSet() const
PutContainerRecipePolicyRequest & WithPolicy(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String