7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetSnapshotId(
const char* value) { m_snapshotIdHasBeenSet =
true; m_snapshotId.assign(value); }
63 inline void SetTemporaryRestoreDays(
int value) { m_temporaryRestoreDaysHasBeenSet =
true; m_temporaryRestoreDays = value; }
75 inline void SetPermanentRestore(
bool value) { m_permanentRestoreHasBeenSet =
true; m_permanentRestore = value; }
88 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
94 bool m_snapshotIdHasBeenSet =
false;
96 int m_temporaryRestoreDays;
97 bool m_temporaryRestoreDaysHasBeenSet =
false;
99 bool m_permanentRestore;
100 bool m_permanentRestoreHasBeenSet =
false;
103 bool m_dryRunHasBeenSet =
false;
void SetSnapshotId(const Aws::String &value)
AWS_EC2_API RestoreSnapshotTierRequest()
bool SnapshotIdHasBeenSet() const
bool DryRunHasBeenSet() const
virtual const char * GetServiceRequestName() const override
RestoreSnapshotTierRequest & WithTemporaryRestoreDays(int value)
const Aws::String & GetSnapshotId() const
int GetTemporaryRestoreDays() const
bool PermanentRestoreHasBeenSet() const
void SetTemporaryRestoreDays(int value)
void SetSnapshotId(Aws::String &&value)
bool TemporaryRestoreDaysHasBeenSet() const
RestoreSnapshotTierRequest & WithSnapshotId(Aws::String &&value)
RestoreSnapshotTierRequest & WithSnapshotId(const char *value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
RestoreSnapshotTierRequest & WithSnapshotId(const Aws::String &value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetDryRun(bool value)
RestoreSnapshotTierRequest & WithPermanentRestore(bool value)
void SetSnapshotId(const char *value)
bool GetPermanentRestore() const
RestoreSnapshotTierRequest & WithDryRun(bool value)
void SetPermanentRestore(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String