7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <aws/ec2/model/SnapshotTaskDetail.h>
12#include <aws/ec2/model/Tag.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename DescriptionT = Aws::String>
40 m_descriptionHasBeenSet =
true;
41 m_description = std::forward<DescriptionT>(value);
43 template <
typename DescriptionT = Aws::String>
55 template <
typename ImportTaskIdT = Aws::String>
57 m_importTaskIdHasBeenSet =
true;
58 m_importTaskId = std::forward<ImportTaskIdT>(value);
60 template <
typename ImportTaskIdT = Aws::String>
72 template <
typename SnapshotTaskDetailT = SnapshotTaskDetail>
74 m_snapshotTaskDetailHasBeenSet =
true;
75 m_snapshotTaskDetail = std::forward<SnapshotTaskDetailT>(value);
77 template <
typename SnapshotTaskDetailT = SnapshotTaskDetail>
89 template <
typename TagsT = Aws::Vector<Tag>>
91 m_tagsHasBeenSet =
true;
92 m_tags = std::forward<TagsT>(value);
94 template <
typename TagsT = Aws::Vector<Tag>>
96 SetTags(std::forward<TagsT>(value));
99 template <
typename TagsT = Tag>
101 m_tagsHasBeenSet =
true;
102 m_tags.emplace_back(std::forward<TagsT>(value));
110 template <
typename ResponseMetadataT = ResponseMetadata>
112 m_responseMetadataHasBeenSet =
true;
113 m_responseMetadata = std::forward<ResponseMetadataT>(value);
115 template <
typename ResponseMetadataT = ResponseMetadata>
131 bool m_descriptionHasBeenSet =
false;
132 bool m_importTaskIdHasBeenSet =
false;
133 bool m_snapshotTaskDetailHasBeenSet =
false;
134 bool m_tagsHasBeenSet =
false;
135 bool m_responseMetadataHasBeenSet =
false;
ImportSnapshotResponse & WithDescription(DescriptionT &&value)
ImportSnapshotResponse & WithSnapshotTaskDetail(SnapshotTaskDetailT &&value)
ImportSnapshotResponse & WithImportTaskId(ImportTaskIdT &&value)
void SetDescription(DescriptionT &&value)
void SetTags(TagsT &&value)
const SnapshotTaskDetail & GetSnapshotTaskDetail() const
ImportSnapshotResponse & AddTags(TagsT &&value)
void SetImportTaskId(ImportTaskIdT &&value)
AWS_EC2_API ImportSnapshotResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetSnapshotTaskDetail(SnapshotTaskDetailT &&value)
const Aws::Vector< Tag > & GetTags() const
ImportSnapshotResponse & WithTags(TagsT &&value)
AWS_EC2_API ImportSnapshotResponse()=default
const Aws::String & GetImportTaskId() const
const Aws::String & GetDescription() const
AWS_EC2_API ImportSnapshotResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const ResponseMetadata & GetResponseMetadata() const
ImportSnapshotResponse & WithResponseMetadata(ResponseMetadataT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument