7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/ec2/model/ImageBlockPublicAccessEnabledState.h>
62 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
68 bool m_imageBlockPublicAccessStateHasBeenSet =
false;
71 bool m_dryRunHasBeenSet =
false;
const ImageBlockPublicAccessEnabledState & GetImageBlockPublicAccessState() const
EnableImageBlockPublicAccessRequest & WithImageBlockPublicAccessState(const ImageBlockPublicAccessEnabledState &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetDryRun(bool value)
virtual const char * GetServiceRequestName() const override
AWS_EC2_API Aws::String SerializePayload() const override
bool ImageBlockPublicAccessStateHasBeenSet() const
void SetImageBlockPublicAccessState(ImageBlockPublicAccessEnabledState &&value)
EnableImageBlockPublicAccessRequest & WithImageBlockPublicAccessState(ImageBlockPublicAccessEnabledState &&value)
bool DryRunHasBeenSet() const
EnableImageBlockPublicAccessRequest & WithDryRun(bool value)
AWS_EC2_API EnableImageBlockPublicAccessRequest()
void SetImageBlockPublicAccessState(const ImageBlockPublicAccessEnabledState &value)
ImageBlockPublicAccessEnabledState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String