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/Tag.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename TagsT = Aws::Vector<Tag>>
40 m_tagsHasBeenSet =
true;
41 m_tags = std::forward<TagsT>(value);
43 template <
typename TagsT = Aws::Vector<Tag>>
45 SetTags(std::forward<TagsT>(value));
48 template <
typename TagsT = Tag>
50 m_tagsHasBeenSet =
true;
51 m_tags.emplace_back(std::forward<TagsT>(value));
61 template <
typename SnapshotIdT = Aws::String>
63 m_snapshotIdHasBeenSet =
true;
64 m_snapshotId = std::forward<SnapshotIdT>(value);
66 template <
typename SnapshotIdT = Aws::String>
76 template <
typename ResponseMetadataT = ResponseMetadata>
78 m_responseMetadataHasBeenSet =
true;
79 m_responseMetadata = std::forward<ResponseMetadataT>(value);
81 template <
typename ResponseMetadataT = ResponseMetadata>
96 bool m_tagsHasBeenSet =
false;
97 bool m_snapshotIdHasBeenSet =
false;
98 bool m_responseMetadataHasBeenSet =
false;
void SetSnapshotId(SnapshotIdT &&value)
AWS_EC2_API CopySnapshotResponse()=default
AWS_EC2_API CopySnapshotResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetTags(TagsT &&value)
AWS_EC2_API CopySnapshotResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CopySnapshotResponse & WithSnapshotId(SnapshotIdT &&value)
const ResponseMetadata & GetResponseMetadata() const
CopySnapshotResponse & WithTags(TagsT &&value)
const Aws::String & GetSnapshotId() const
CopySnapshotResponse & AddTags(TagsT &&value)
const Aws::Vector< Tag > & GetTags() const
void SetResponseMetadata(ResponseMetadataT &&value)
CopySnapshotResponse & WithResponseMetadata(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