7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/storagegateway/StorageGatewayRequest.h>
10#include <aws/storagegateway/StorageGateway_EXPORTS.h>
11#include <aws/storagegateway/model/Tag.h>
16namespace StorageGateway {
47 template <
typename VolumeARNT = Aws::String>
49 m_volumeARNHasBeenSet =
true;
50 m_volumeARN = std::forward<VolumeARNT>(value);
52 template <
typename VolumeARNT = Aws::String>
67 template <
typename SnapshotDescriptionT = Aws::String>
69 m_snapshotDescriptionHasBeenSet =
true;
70 m_snapshotDescription = std::forward<SnapshotDescriptionT>(value);
72 template <
typename SnapshotDescriptionT = Aws::String>
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));
112 bool m_volumeARNHasBeenSet =
false;
113 bool m_snapshotDescriptionHasBeenSet =
false;
114 bool m_tagsHasBeenSet =
false;
void SetSnapshotDescription(SnapshotDescriptionT &&value)
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
bool SnapshotDescriptionHasBeenSet() const
bool VolumeARNHasBeenSet() const
AWS_STORAGEGATEWAY_API CreateSnapshotRequest()=default
const Aws::Vector< Tag > & GetTags() const
bool TagsHasBeenSet() const
void SetTags(TagsT &&value)
const Aws::String & GetSnapshotDescription() const
CreateSnapshotRequest & WithVolumeARN(VolumeARNT &&value)
CreateSnapshotRequest & AddTags(TagsT &&value)
CreateSnapshotRequest & WithSnapshotDescription(SnapshotDescriptionT &&value)
CreateSnapshotRequest & WithTags(TagsT &&value)
const Aws::String & GetVolumeARN() const
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetVolumeARN(VolumeARNT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector