7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2Request.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/SnapshotLocationEnum.h>
12#include <aws/ec2/model/TagSpecification.h>
44 template <
typename DescriptionT = Aws::String>
46 m_descriptionHasBeenSet =
true;
47 m_description = std::forward<DescriptionT>(value);
49 template <
typename DescriptionT = Aws::String>
70 template <
typename OutpostArnT = Aws::String>
72 m_outpostArnHasBeenSet =
true;
73 m_outpostArn = std::forward<OutpostArnT>(value);
75 template <
typename OutpostArnT = Aws::String>
88 template <
typename VolumeIdT = Aws::String>
90 m_volumeIdHasBeenSet =
true;
91 m_volumeId = std::forward<VolumeIdT>(value);
93 template <
typename VolumeIdT = Aws::String>
106 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
108 m_tagSpecificationsHasBeenSet =
true;
109 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
111 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
116 template <
typename TagSpecificationsT = TagSpecification>
118 m_tagSpecificationsHasBeenSet =
true;
119 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
136 m_locationHasBeenSet =
true;
155 m_dryRunHasBeenSet =
true;
174 bool m_dryRun{
false};
175 bool m_descriptionHasBeenSet =
false;
176 bool m_outpostArnHasBeenSet =
false;
177 bool m_volumeIdHasBeenSet =
false;
178 bool m_tagSpecificationsHasBeenSet =
false;
179 bool m_locationHasBeenSet =
false;
180 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