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>
46 template<
typename SnapshotIdT = Aws::String>
47 void SetSnapshotId(SnapshotIdT&& value) { m_snapshotIdHasBeenSet =
true; m_snapshotId = std::forward<SnapshotIdT>(value); }
48 template<
typename SnapshotIdT = Aws::String>
71 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
77 bool m_snapshotIdHasBeenSet =
false;
80 bool m_storageTierHasBeenSet =
false;
83 bool m_dryRunHasBeenSet =
false;
ModifySnapshotTierRequest & WithSnapshotId(SnapshotIdT &&value)
ModifySnapshotTierRequest & WithDryRun(bool value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetSnapshotId() const
AWS_EC2_API ModifySnapshotTierRequest()=default
ModifySnapshotTierRequest & WithStorageTier(TargetStorageTier value)
AWS_EC2_API Aws::String SerializePayload() const override
TargetStorageTier GetStorageTier() const
void SetDryRun(bool value)
virtual const char * GetServiceRequestName() const override
bool SnapshotIdHasBeenSet() const
void SetStorageTier(TargetStorageTier value)
bool StorageTierHasBeenSet() const
void SetSnapshotId(SnapshotIdT &&value)
bool DryRunHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String