7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/ec2/model/SnapshotBlockPublicAccessState.h>
70 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
76 bool m_stateHasBeenSet =
false;
79 bool m_dryRunHasBeenSet =
false;
bool StateHasBeenSet() const
void SetDryRun(bool value)
bool DryRunHasBeenSet() const
EnableSnapshotBlockPublicAccessRequest & WithState(const SnapshotBlockPublicAccessState &value)
AWS_EC2_API EnableSnapshotBlockPublicAccessRequest()
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
EnableSnapshotBlockPublicAccessRequest & WithDryRun(bool value)
void SetState(SnapshotBlockPublicAccessState &&value)
AWS_EC2_API Aws::String SerializePayload() const override
const SnapshotBlockPublicAccessState & GetState() const
EnableSnapshotBlockPublicAccessRequest & WithState(SnapshotBlockPublicAccessState &&value)
void SetState(const SnapshotBlockPublicAccessState &value)
virtual const char * GetServiceRequestName() const override
SnapshotBlockPublicAccessState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String