7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <aws/ec2/model/Tag.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename TagsT = Aws::Vector<Tag>>
44 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
45 template<
typename TagsT = Aws::Vector<Tag>>
47 template<
typename TagsT = Tag>
56 template<
typename SnapshotIdT = Aws::String>
57 void SetSnapshotId(SnapshotIdT&& value) { m_snapshotIdHasBeenSet =
true; m_snapshotId = std::forward<SnapshotIdT>(value); }
58 template<
typename SnapshotIdT = Aws::String>
65 template<
typename ResponseMetadataT = ResponseMetadata>
66 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet =
true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
67 template<
typename ResponseMetadataT = ResponseMetadata>
73 bool m_tagsHasBeenSet =
false;
76 bool m_snapshotIdHasBeenSet =
false;
79 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)
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