7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/TagSpecification.h>
49 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
74 inline void SetOutpostArn(
const char* value) { m_outpostArnHasBeenSet =
true; m_outpostArn.assign(value); }
88 inline void SetVolumeId(
const char* value) { m_volumeIdHasBeenSet =
true; m_volumeId.assign(value); }
117 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
123 bool m_descriptionHasBeenSet =
false;
126 bool m_outpostArnHasBeenSet =
false;
129 bool m_volumeIdHasBeenSet =
false;
132 bool m_tagSpecificationsHasBeenSet =
false;
135 bool m_dryRunHasBeenSet =
false;
CreateSnapshotRequest & WithOutpostArn(const char *value)
CreateSnapshotRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
CreateSnapshotRequest & WithDescription(const Aws::String &value)
CreateSnapshotRequest & WithDescription(Aws::String &&value)
const Aws::String & GetVolumeId() const
AWS_EC2_API Aws::String SerializePayload() const override
void SetVolumeId(Aws::String &&value)
bool DescriptionHasBeenSet() const
void SetDescription(Aws::String &&value)
CreateSnapshotRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
CreateSnapshotRequest & WithOutpostArn(Aws::String &&value)
CreateSnapshotRequest & AddTagSpecifications(const TagSpecification &value)
CreateSnapshotRequest & AddTagSpecifications(TagSpecification &&value)
void SetDescription(const Aws::String &value)
void SetVolumeId(const char *value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateSnapshotRequest & WithDescription(const char *value)
CreateSnapshotRequest & WithVolumeId(Aws::String &&value)
CreateSnapshotRequest & WithOutpostArn(const Aws::String &value)
bool DryRunHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool TagSpecificationsHasBeenSet() const
bool VolumeIdHasBeenSet() const
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
void SetDescription(const char *value)
const Aws::String & GetDescription() const
void SetOutpostArn(const Aws::String &value)
CreateSnapshotRequest & WithVolumeId(const char *value)
void SetOutpostArn(Aws::String &&value)
void SetVolumeId(const Aws::String &value)
CreateSnapshotRequest & WithDryRun(bool value)
const Aws::String & GetOutpostArn() const
void SetDryRun(bool value)
bool OutpostArnHasBeenSet() const
CreateSnapshotRequest & WithVolumeId(const Aws::String &value)
AWS_EC2_API CreateSnapshotRequest()
void SetOutpostArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector