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/SnapshotLocationEnum.h>
12#include <aws/ec2/model/TagSpecification.h>
48 template<
typename DescriptionT = Aws::String>
49 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
50 template<
typename DescriptionT = Aws::String>
68 template<
typename OutpostArnT = Aws::String>
69 void SetOutpostArn(OutpostArnT&& value) { m_outpostArnHasBeenSet =
true; m_outpostArn = std::forward<OutpostArnT>(value); }
70 template<
typename OutpostArnT = Aws::String>
80 template<
typename VolumeIdT = Aws::String>
81 void SetVolumeId(VolumeIdT&& value) { m_volumeIdHasBeenSet =
true; m_volumeId = std::forward<VolumeIdT>(value); }
82 template<
typename VolumeIdT = Aws::String>
92 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
93 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet =
true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
94 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
96 template<
typename TagSpecificationsT = TagSpecification>
124 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
130 bool m_descriptionHasBeenSet =
false;
133 bool m_outpostArnHasBeenSet =
false;
136 bool m_volumeIdHasBeenSet =
false;
139 bool m_tagSpecificationsHasBeenSet =
false;
142 bool m_locationHasBeenSet =
false;
144 bool m_dryRun{
false};
145 bool m_dryRunHasBeenSet =
false;
void SetLocation(SnapshotLocationEnum value)
CreateSnapshotRequest & WithTagSpecifications(TagSpecificationsT &&value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
AWS_EC2_API CreateSnapshotRequest()=default
const Aws::String & GetVolumeId() const
AWS_EC2_API Aws::String SerializePayload() const override
void SetTagSpecifications(TagSpecificationsT &&value)
bool DescriptionHasBeenSet() const
CreateSnapshotRequest & WithDescription(DescriptionT &&value)
CreateSnapshotRequest & WithLocation(SnapshotLocationEnum value)
CreateSnapshotRequest & WithOutpostArn(OutpostArnT &&value)
void SetOutpostArn(OutpostArnT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateSnapshotRequest & AddTagSpecifications(TagSpecificationsT &&value)
CreateSnapshotRequest & WithVolumeId(VolumeIdT &&value)
bool DryRunHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool TagSpecificationsHasBeenSet() const
SnapshotLocationEnum GetLocation() const
bool VolumeIdHasBeenSet() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
bool LocationHasBeenSet() const
CreateSnapshotRequest & WithDryRun(bool value)
const Aws::String & GetOutpostArn() const
void SetDryRun(bool value)
bool OutpostArnHasBeenSet() const
void SetVolumeId(VolumeIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector