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/ec2/model/InstanceSpecification.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/CopyTagsFromSource.h>
13#include <aws/ec2/model/TagSpecification.h>
51 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
89 inline void SetOutpostArn(
const char* value) { m_outpostArnHasBeenSet =
true; m_outpostArn.assign(value); }
118 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
136 bool m_descriptionHasBeenSet =
false;
139 bool m_instanceSpecificationHasBeenSet =
false;
142 bool m_outpostArnHasBeenSet =
false;
145 bool m_tagSpecificationsHasBeenSet =
false;
148 bool m_dryRunHasBeenSet =
false;
151 bool m_copyTagsFromSourceHasBeenSet =
false;
void SetDryRun(bool value)
CreateSnapshotsRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
bool DescriptionHasBeenSet() const
void SetInstanceSpecification(InstanceSpecification &&value)
bool DryRunHasBeenSet() const
void SetOutpostArn(const Aws::String &value)
CreateSnapshotsRequest & WithInstanceSpecification(const InstanceSpecification &value)
const CopyTagsFromSource & GetCopyTagsFromSource() const
CreateSnapshotsRequest & WithDryRun(bool value)
void SetCopyTagsFromSource(const CopyTagsFromSource &value)
bool OutpostArnHasBeenSet() const
CreateSnapshotsRequest & AddTagSpecifications(TagSpecification &&value)
const Aws::String & GetDescription() const
void SetDescription(const char *value)
AWS_EC2_API CreateSnapshotsRequest()
CreateSnapshotsRequest & WithDescription(const Aws::String &value)
void SetOutpostArn(const char *value)
void SetDescription(Aws::String &&value)
CreateSnapshotsRequest & WithInstanceSpecification(InstanceSpecification &&value)
bool CopyTagsFromSourceHasBeenSet() const
const InstanceSpecification & GetInstanceSpecification() const
void SetInstanceSpecification(const InstanceSpecification &value)
CreateSnapshotsRequest & WithOutpostArn(const Aws::String &value)
CreateSnapshotsRequest & WithDescription(const char *value)
CreateSnapshotsRequest & WithOutpostArn(const char *value)
bool InstanceSpecificationHasBeenSet() const
void SetOutpostArn(Aws::String &&value)
CreateSnapshotsRequest & WithCopyTagsFromSource(CopyTagsFromSource &&value)
virtual const char * GetServiceRequestName() const override
bool TagSpecificationsHasBeenSet() const
CreateSnapshotsRequest & WithOutpostArn(Aws::String &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
CreateSnapshotsRequest & WithCopyTagsFromSource(const CopyTagsFromSource &value)
void SetDescription(const Aws::String &value)
CreateSnapshotsRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetCopyTagsFromSource(CopyTagsFromSource &&value)
CreateSnapshotsRequest & WithDescription(Aws::String &&value)
const Aws::String & GetOutpostArn() const
CreateSnapshotsRequest & AddTagSpecifications(const TagSpecification &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector