7#include <aws/core/http/HttpResponse.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/ResponseMetadata.h>
12#include <aws/ec2/model/SnapshotTaskDetail.h>
13#include <aws/ec2/model/Tag.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
39 template <
typename DescriptionT = Aws::String>
41 m_descriptionHasBeenSet =
true;
42 m_description = std::forward<DescriptionT>(value);
44 template <
typename DescriptionT = Aws::String>
56 template <
typename ImportTaskIdT = Aws::String>
58 m_importTaskIdHasBeenSet =
true;
59 m_importTaskId = std::forward<ImportTaskIdT>(value);
61 template <
typename ImportTaskIdT = Aws::String>
73 template <
typename SnapshotTaskDetailT = SnapshotTaskDetail>
75 m_snapshotTaskDetailHasBeenSet =
true;
76 m_snapshotTaskDetail = std::forward<SnapshotTaskDetailT>(value);
78 template <
typename SnapshotTaskDetailT = SnapshotTaskDetail>
90 template <
typename TagsT = Aws::Vector<Tag>>
92 m_tagsHasBeenSet =
true;
93 m_tags = std::forward<TagsT>(value);
95 template <
typename TagsT = Aws::Vector<Tag>>
97 SetTags(std::forward<TagsT>(value));
100 template <
typename TagsT = Tag>
102 m_tagsHasBeenSet =
true;
103 m_tags.emplace_back(std::forward<TagsT>(value));
111 template <
typename ResponseMetadataT = ResponseMetadata>
113 m_responseMetadataHasBeenSet =
true;
114 m_responseMetadata = std::forward<ResponseMetadataT>(value);
116 template <
typename ResponseMetadataT = ResponseMetadata>
135 bool m_descriptionHasBeenSet =
false;
136 bool m_importTaskIdHasBeenSet =
false;
137 bool m_snapshotTaskDetailHasBeenSet =
false;
138 bool m_tagsHasBeenSet =
false;
139 bool m_responseMetadataHasBeenSet =
false;
ImportSnapshotResponse & WithDescription(DescriptionT &&value)
ImportSnapshotResponse & WithSnapshotTaskDetail(SnapshotTaskDetailT &&value)
ImportSnapshotResponse & WithImportTaskId(ImportTaskIdT &&value)
void SetDescription(DescriptionT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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