7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/SnapshotTaskDetail.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/Tag.h>
53 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
67 inline void SetImportTaskId(
const char* value) { m_importTaskIdHasBeenSet =
true; m_importTaskId.assign(value); }
101 bool m_descriptionHasBeenSet =
false;
104 bool m_importTaskIdHasBeenSet =
false;
107 bool m_snapshotTaskDetailHasBeenSet =
false;
110 bool m_tagsHasBeenSet =
false;
ImportSnapshotTask & WithSnapshotTaskDetail(const SnapshotTaskDetail &value)
ImportSnapshotTask & WithTags(Aws::Vector< Tag > &&value)
const Aws::String & GetDescription() const
const SnapshotTaskDetail & GetSnapshotTaskDetail() const
ImportSnapshotTask & WithImportTaskId(Aws::String &&value)
void SetSnapshotTaskDetail(SnapshotTaskDetail &&value)
void SetImportTaskId(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
void SetSnapshotTaskDetail(const SnapshotTaskDetail &value)
AWS_EC2_API ImportSnapshotTask & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTags(Aws::Vector< Tag > &&value)
ImportSnapshotTask & WithDescription(Aws::String &&value)
ImportSnapshotTask & WithSnapshotTaskDetail(SnapshotTaskDetail &&value)
ImportSnapshotTask & WithTags(const Aws::Vector< Tag > &value)
void SetDescription(const char *value)
ImportSnapshotTask & AddTags(const Tag &value)
bool DescriptionHasBeenSet() const
void SetDescription(const Aws::String &value)
AWS_EC2_API ImportSnapshotTask(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API ImportSnapshotTask()
bool SnapshotTaskDetailHasBeenSet() const
bool ImportTaskIdHasBeenSet() const
const Aws::String & GetImportTaskId() const
bool TagsHasBeenSet() const
ImportSnapshotTask & WithDescription(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ImportSnapshotTask & WithDescription(const Aws::String &value)
void SetImportTaskId(Aws::String &&value)
ImportSnapshotTask & WithImportTaskId(const char *value)
const Aws::Vector< Tag > & GetTags() const
void SetDescription(Aws::String &&value)
ImportSnapshotTask & AddTags(Tag &&value)
ImportSnapshotTask & WithImportTaskId(const Aws::String &value)
void SetImportTaskId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream