7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/LightsailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lightsail/model/RegionName.h>
48 inline void SetSourceSnapshotName(
const char* value) { m_sourceSnapshotNameHasBeenSet =
true; m_sourceSnapshotName.assign(value); }
67 inline void SetSourceResourceName(
const char* value) { m_sourceResourceNameHasBeenSet =
true; m_sourceResourceName.assign(value); }
91 inline void SetRestoreDate(
const char* value) { m_restoreDateHasBeenSet =
true; m_restoreDate.assign(value); }
123 inline void SetTargetSnapshotName(
const char* value) { m_targetSnapshotNameHasBeenSet =
true; m_targetSnapshotName.assign(value); }
144 bool m_sourceSnapshotNameHasBeenSet =
false;
147 bool m_sourceResourceNameHasBeenSet =
false;
150 bool m_restoreDateHasBeenSet =
false;
152 bool m_useLatestRestorableAutoSnapshot;
153 bool m_useLatestRestorableAutoSnapshotHasBeenSet =
false;
156 bool m_targetSnapshotNameHasBeenSet =
false;
159 bool m_sourceRegionHasBeenSet =
false;
void SetRestoreDate(Aws::String &&value)
void SetTargetSnapshotName(Aws::String &&value)
void SetSourceSnapshotName(const Aws::String &value)
bool SourceSnapshotNameHasBeenSet() const
const Aws::String & GetTargetSnapshotName() const
void SetSourceSnapshotName(Aws::String &&value)
CopySnapshotRequest & WithSourceResourceName(const Aws::String &value)
void SetUseLatestRestorableAutoSnapshot(bool value)
virtual const char * GetServiceRequestName() const override
CopySnapshotRequest & WithTargetSnapshotName(const Aws::String &value)
void SetSourceResourceName(const char *value)
CopySnapshotRequest & WithSourceSnapshotName(Aws::String &&value)
CopySnapshotRequest & WithSourceSnapshotName(const char *value)
CopySnapshotRequest & WithSourceRegion(RegionName &&value)
const Aws::String & GetRestoreDate() const
bool UseLatestRestorableAutoSnapshotHasBeenSet() const
CopySnapshotRequest & WithSourceRegion(const RegionName &value)
CopySnapshotRequest & WithRestoreDate(const Aws::String &value)
void SetRestoreDate(const Aws::String &value)
bool SourceResourceNameHasBeenSet() const
void SetRestoreDate(const char *value)
void SetTargetSnapshotName(const char *value)
CopySnapshotRequest & WithTargetSnapshotName(Aws::String &&value)
bool GetUseLatestRestorableAutoSnapshot() const
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
CopySnapshotRequest & WithSourceResourceName(Aws::String &&value)
void SetSourceResourceName(const Aws::String &value)
void SetTargetSnapshotName(const Aws::String &value)
void SetSourceRegion(RegionName &&value)
void SetSourceRegion(const RegionName &value)
CopySnapshotRequest & WithSourceSnapshotName(const Aws::String &value)
CopySnapshotRequest & WithUseLatestRestorableAutoSnapshot(bool value)
bool TargetSnapshotNameHasBeenSet() const
CopySnapshotRequest & WithRestoreDate(const char *value)
bool RestoreDateHasBeenSet() const
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CopySnapshotRequest & WithSourceResourceName(const char *value)
CopySnapshotRequest & WithRestoreDate(Aws::String &&value)
CopySnapshotRequest & WithTargetSnapshotName(const char *value)
const Aws::String & GetSourceResourceName() const
void SetSourceResourceName(Aws::String &&value)
AWS_LIGHTSAIL_API CopySnapshotRequest()
void SetSourceSnapshotName(const char *value)
bool SourceRegionHasBeenSet() const
const Aws::String & GetSourceSnapshotName() const
const RegionName & GetSourceRegion() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String