7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/SnapshotTaskDetail.h>
12#include <aws/ec2/model/Tag.h>
45 template <
typename DescriptionT = Aws::String>
47 m_descriptionHasBeenSet =
true;
48 m_description = std::forward<DescriptionT>(value);
50 template <
typename DescriptionT = Aws::String>
63 template <
typename ImportTaskIdT = Aws::String>
65 m_importTaskIdHasBeenSet =
true;
66 m_importTaskId = std::forward<ImportTaskIdT>(value);
68 template <
typename ImportTaskIdT = Aws::String>
81 template <
typename SnapshotTaskDetailT = SnapshotTaskDetail>
83 m_snapshotTaskDetailHasBeenSet =
true;
84 m_snapshotTaskDetail = std::forward<SnapshotTaskDetailT>(value);
86 template <
typename SnapshotTaskDetailT = SnapshotTaskDetail>
99 template <
typename TagsT = Aws::Vector<Tag>>
101 m_tagsHasBeenSet =
true;
102 m_tags = std::forward<TagsT>(value);
104 template <
typename TagsT = Aws::Vector<Tag>>
106 SetTags(std::forward<TagsT>(value));
109 template <
typename TagsT = Tag>
111 m_tagsHasBeenSet =
true;
112 m_tags.emplace_back(std::forward<TagsT>(value));
124 bool m_descriptionHasBeenSet =
false;
125 bool m_importTaskIdHasBeenSet =
false;
126 bool m_snapshotTaskDetailHasBeenSet =
false;
127 bool m_tagsHasBeenSet =
false;
const Aws::String & GetDescription() const
const SnapshotTaskDetail & GetSnapshotTaskDetail() const
void SetDescription(DescriptionT &&value)
ImportSnapshotTask & WithSnapshotTaskDetail(SnapshotTaskDetailT &&value)
AWS_EC2_API ImportSnapshotTask & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSnapshotTaskDetail(SnapshotTaskDetailT &&value)
void SetImportTaskId(ImportTaskIdT &&value)
bool DescriptionHasBeenSet() const
AWS_EC2_API ImportSnapshotTask(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SnapshotTaskDetailHasBeenSet() const
ImportSnapshotTask & WithTags(TagsT &&value)
AWS_EC2_API ImportSnapshotTask()=default
bool ImportTaskIdHasBeenSet() const
const Aws::String & GetImportTaskId() const
bool TagsHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ImportSnapshotTask & WithDescription(DescriptionT &&value)
ImportSnapshotTask & AddTags(TagsT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetTags(TagsT &&value)
const Aws::Vector< Tag > & GetTags() const
ImportSnapshotTask & WithImportTaskId(ImportTaskIdT &&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