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/CopyTagsFromSource.h>
12#include <aws/ec2/model/InstanceSpecification.h>
13#include <aws/ec2/model/SnapshotLocationEnum.h>
14#include <aws/ec2/model/TagSpecification.h>
46 template <
typename DescriptionT = Aws::String>
48 m_descriptionHasBeenSet =
true;
49 m_description = std::forward<DescriptionT>(value);
51 template <
typename DescriptionT = Aws::String>
65 template <
typename InstanceSpecificationT = InstanceSpecification>
67 m_instanceSpecificationHasBeenSet =
true;
68 m_instanceSpecification = std::forward<InstanceSpecificationT>(value);
70 template <
typename InstanceSpecificationT = InstanceSpecification>
91 template <
typename OutpostArnT = Aws::String>
93 m_outpostArnHasBeenSet =
true;
94 m_outpostArn = std::forward<OutpostArnT>(value);
96 template <
typename OutpostArnT = Aws::String>
109 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
111 m_tagSpecificationsHasBeenSet =
true;
112 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
114 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
119 template <
typename TagSpecificationsT = TagSpecification>
121 m_tagSpecificationsHasBeenSet =
true;
122 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
137 m_dryRunHasBeenSet =
true;
153 m_copyTagsFromSourceHasBeenSet =
true;
154 m_copyTagsFromSource = value;
174 m_locationHasBeenSet =
true;
191 bool m_dryRun{
false};
196 bool m_descriptionHasBeenSet =
false;
197 bool m_instanceSpecificationHasBeenSet =
false;
198 bool m_outpostArnHasBeenSet =
false;
199 bool m_tagSpecificationsHasBeenSet =
false;
200 bool m_dryRunHasBeenSet =
false;
201 bool m_copyTagsFromSourceHasBeenSet =
false;
202 bool m_locationHasBeenSet =
false;
CreateSnapshotsRequest & WithInstanceSpecification(InstanceSpecificationT &&value)
void SetInstanceSpecification(InstanceSpecificationT &&value)
void SetDescription(DescriptionT &&value)
void SetTagSpecifications(TagSpecificationsT &&value)
void SetDryRun(bool value)
SnapshotLocationEnum GetLocation() const
bool DescriptionHasBeenSet() const
CreateSnapshotsRequest & WithOutpostArn(OutpostArnT &&value)
bool LocationHasBeenSet() const
bool DryRunHasBeenSet() const
void SetOutpostArn(OutpostArnT &&value)
CreateSnapshotsRequest & WithDryRun(bool value)
bool OutpostArnHasBeenSet() const
CreateSnapshotsRequest & WithLocation(SnapshotLocationEnum value)
const Aws::String & GetDescription() const
void SetLocation(SnapshotLocationEnum value)
bool CopyTagsFromSourceHasBeenSet() const
const InstanceSpecification & GetInstanceSpecification() const
CopyTagsFromSource GetCopyTagsFromSource() const
AWS_EC2_API CreateSnapshotsRequest()=default
bool InstanceSpecificationHasBeenSet() const
CreateSnapshotsRequest & WithDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
bool TagSpecificationsHasBeenSet() const
CreateSnapshotsRequest & WithTagSpecifications(TagSpecificationsT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
AWS_EC2_API Aws::String SerializePayload() const override
CreateSnapshotsRequest & AddTagSpecifications(TagSpecificationsT &&value)
CreateSnapshotsRequest & WithCopyTagsFromSource(CopyTagsFromSource value)
const Aws::String & GetOutpostArn() const
void SetCopyTagsFromSource(CopyTagsFromSource value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector