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 SetComponentArn(
const char* value) { m_componentArnHasBeenSet =
true; m_componentArn.assign(value); }
58 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
66 bool m_componentArnHasBeenSet =
false;
69 bool m_policyHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
void SetComponentArn(Aws::String &&value)
void SetPolicy(Aws::String &&value)
PutComponentPolicyRequest & WithComponentArn(Aws::String &&value)
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
void SetComponentArn(const char *value)
AWS_IMAGEBUILDER_API PutComponentPolicyRequest()
PutComponentPolicyRequest & WithPolicy(const char *value)
void SetPolicy(const Aws::String &value)
bool ComponentArnHasBeenSet() const
void SetPolicy(const char *value)
PutComponentPolicyRequest & WithComponentArn(const Aws::String &value)
PutComponentPolicyRequest & WithPolicy(Aws::String &&value)
const Aws::String & GetPolicy() const
void SetComponentArn(const Aws::String &value)
PutComponentPolicyRequest & WithComponentArn(const char *value)
PutComponentPolicyRequest & WithPolicy(const Aws::String &value)
bool PolicyHasBeenSet() const
const Aws::String & GetComponentArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String