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/TargetStorageTier.h>
48 inline void SetSnapshotId(
const char* value) { m_snapshotIdHasBeenSet =
true; m_snapshotId.assign(value); }
75 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
81 bool m_snapshotIdHasBeenSet =
false;
84 bool m_storageTierHasBeenSet =
false;
87 bool m_dryRunHasBeenSet =
false;
ModifySnapshotTierRequest & WithStorageTier(TargetStorageTier &&value)
ModifySnapshotTierRequest & WithDryRun(bool value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetSnapshotId() const
void SetStorageTier(TargetStorageTier &&value)
const TargetStorageTier & GetStorageTier() const
AWS_EC2_API Aws::String SerializePayload() const override
ModifySnapshotTierRequest & WithSnapshotId(const char *value)
ModifySnapshotTierRequest & WithStorageTier(const TargetStorageTier &value)
void SetDryRun(bool value)
virtual const char * GetServiceRequestName() const override
bool SnapshotIdHasBeenSet() const
void SetSnapshotId(const Aws::String &value)
void SetStorageTier(const TargetStorageTier &value)
bool StorageTierHasBeenSet() const
void SetSnapshotId(Aws::String &&value)
AWS_EC2_API ModifySnapshotTierRequest()
ModifySnapshotTierRequest & WithSnapshotId(const Aws::String &value)
void SetSnapshotId(const char *value)
bool DryRunHasBeenSet() const
ModifySnapshotTierRequest & WithSnapshotId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String