7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/ec2/EC2_EXPORTS.h>
41 template <
typename SnapshotIdT = Aws::String>
43 m_snapshotIdHasBeenSet =
true;
44 m_snapshotId = std::forward<SnapshotIdT>(value);
46 template <
typename SnapshotIdT = Aws::String>
64 m_temporaryRestoreDaysHasBeenSet =
true;
65 m_temporaryRestoreDays = value;
82 m_permanentRestoreHasBeenSet =
true;
83 m_permanentRestore = value;
101 m_dryRunHasBeenSet =
true;
112 int m_temporaryRestoreDays{0};
114 bool m_permanentRestore{
false};
116 bool m_dryRun{
false};
117 bool m_snapshotIdHasBeenSet =
false;
118 bool m_temporaryRestoreDaysHasBeenSet =
false;
119 bool m_permanentRestoreHasBeenSet =
false;
120 bool m_dryRunHasBeenSet =
false;
bool SnapshotIdHasBeenSet() const
bool DryRunHasBeenSet() const
virtual const char * GetServiceRequestName() const override
RestoreSnapshotTierRequest & WithTemporaryRestoreDays(int value)
RestoreSnapshotTierRequest & WithSnapshotId(SnapshotIdT &&value)
const Aws::String & GetSnapshotId() const
int GetTemporaryRestoreDays() const
bool PermanentRestoreHasBeenSet() const
AWS_EC2_API RestoreSnapshotTierRequest()=default
void SetTemporaryRestoreDays(int value)
bool TemporaryRestoreDaysHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_EC2_API Aws::String SerializePayload() const override
void SetDryRun(bool value)
RestoreSnapshotTierRequest & WithPermanentRestore(bool value)
void SetSnapshotId(SnapshotIdT &&value)
bool GetPermanentRestore() const
RestoreSnapshotTierRequest & WithDryRun(bool value)
void SetPermanentRestore(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String