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/core/utils/memory/stl/AWSVector.h>
11#include <aws/lightsail/model/Tag.h>
50 inline void SetDiskName(
const char* value) { m_diskNameHasBeenSet =
true; m_diskName.assign(value); }
65 inline void SetDiskSnapshotName(
const char* value) { m_diskSnapshotNameHasBeenSet =
true; m_diskSnapshotName.assign(value); }
84 inline void SetInstanceName(
const char* value) { m_instanceNameHasBeenSet =
true; m_instanceName.assign(value); }
108 bool m_diskNameHasBeenSet =
false;
111 bool m_diskSnapshotNameHasBeenSet =
false;
114 bool m_instanceNameHasBeenSet =
false;
117 bool m_tagsHasBeenSet =
false;
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
AWS_LIGHTSAIL_API CreateDiskSnapshotRequest()
const Aws::Vector< Tag > & GetTags() const
CreateDiskSnapshotRequest & WithDiskName(const char *value)
bool DiskNameHasBeenSet() const
CreateDiskSnapshotRequest & WithDiskSnapshotName(const char *value)
void SetDiskName(const char *value)
CreateDiskSnapshotRequest & WithInstanceName(const char *value)
CreateDiskSnapshotRequest & WithInstanceName(Aws::String &&value)
CreateDiskSnapshotRequest & WithDiskSnapshotName(Aws::String &&value)
void SetDiskName(const Aws::String &value)
CreateDiskSnapshotRequest & WithDiskSnapshotName(const Aws::String &value)
bool TagsHasBeenSet() const
void SetInstanceName(const char *value)
const Aws::String & GetInstanceName() const
const Aws::String & GetDiskSnapshotName() const
void SetDiskSnapshotName(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
CreateDiskSnapshotRequest & WithTags(const Aws::Vector< Tag > &value)
bool DiskSnapshotNameHasBeenSet() const
CreateDiskSnapshotRequest & WithInstanceName(const Aws::String &value)
bool InstanceNameHasBeenSet() const
void SetDiskName(Aws::String &&value)
CreateDiskSnapshotRequest & WithDiskName(const Aws::String &value)
void SetDiskSnapshotName(const Aws::String &value)
const Aws::String & GetDiskName() const
CreateDiskSnapshotRequest & AddTags(Tag &&value)
CreateDiskSnapshotRequest & WithTags(Aws::Vector< Tag > &&value)
CreateDiskSnapshotRequest & AddTags(const Tag &value)
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDiskSnapshotName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetInstanceName(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
CreateDiskSnapshotRequest & WithDiskName(Aws::String &&value)
void SetInstanceName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector