AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateSequenceStoreRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/omics/OmicsRequest.h>
12#include <aws/omics/Omics_EXPORTS.h>
13#include <aws/omics/model/ETagAlgorithmFamily.h>
14#include <aws/omics/model/S3AccessConfig.h>
15#include <aws/omics/model/SseConfig.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Omics {
21namespace Model {
22
26 public:
27 AWS_OMICS_API CreateSequenceStoreRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateSequenceStore"; }
34
35 AWS_OMICS_API Aws::String SerializePayload() const override;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetDescription() const { return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 template <typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) {
63 m_descriptionHasBeenSet = true;
64 m_description = std::forward<DescriptionT>(value);
65 }
66 template <typename DescriptionT = Aws::String>
68 SetDescription(std::forward<DescriptionT>(value));
69 return *this;
70 }
72
74
77 inline const SseConfig& GetSseConfig() const { return m_sseConfig; }
78 inline bool SseConfigHasBeenSet() const { return m_sseConfigHasBeenSet; }
79 template <typename SseConfigT = SseConfig>
80 void SetSseConfig(SseConfigT&& value) {
81 m_sseConfigHasBeenSet = true;
82 m_sseConfig = std::forward<SseConfigT>(value);
83 }
84 template <typename SseConfigT = SseConfig>
86 SetSseConfig(std::forward<SseConfigT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
96 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
97 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
98 void SetTags(TagsT&& value) {
99 m_tagsHasBeenSet = true;
100 m_tags = std::forward<TagsT>(value);
101 }
102 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
104 SetTags(std::forward<TagsT>(value));
105 return *this;
106 }
107 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
108 CreateSequenceStoreRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
109 m_tagsHasBeenSet = true;
110 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
111 return *this;
112 }
114
116
120 inline const Aws::String& GetClientToken() const { return m_clientToken; }
121 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
122 template <typename ClientTokenT = Aws::String>
123 void SetClientToken(ClientTokenT&& value) {
124 m_clientTokenHasBeenSet = true;
125 m_clientToken = std::forward<ClientTokenT>(value);
126 }
127 template <typename ClientTokenT = Aws::String>
129 SetClientToken(std::forward<ClientTokenT>(value));
130 return *this;
131 }
133
135
141 inline const Aws::String& GetFallbackLocation() const { return m_fallbackLocation; }
142 inline bool FallbackLocationHasBeenSet() const { return m_fallbackLocationHasBeenSet; }
143 template <typename FallbackLocationT = Aws::String>
144 void SetFallbackLocation(FallbackLocationT&& value) {
145 m_fallbackLocationHasBeenSet = true;
146 m_fallbackLocation = std::forward<FallbackLocationT>(value);
147 }
148 template <typename FallbackLocationT = Aws::String>
150 SetFallbackLocation(std::forward<FallbackLocationT>(value));
151 return *this;
152 }
154
156
163 inline ETagAlgorithmFamily GetETagAlgorithmFamily() const { return m_eTagAlgorithmFamily; }
164 inline bool ETagAlgorithmFamilyHasBeenSet() const { return m_eTagAlgorithmFamilyHasBeenSet; }
166 m_eTagAlgorithmFamilyHasBeenSet = true;
167 m_eTagAlgorithmFamily = value;
168 }
171 return *this;
172 }
174
176
181 inline const Aws::Vector<Aws::String>& GetPropagatedSetLevelTags() const { return m_propagatedSetLevelTags; }
182 inline bool PropagatedSetLevelTagsHasBeenSet() const { return m_propagatedSetLevelTagsHasBeenSet; }
183 template <typename PropagatedSetLevelTagsT = Aws::Vector<Aws::String>>
184 void SetPropagatedSetLevelTags(PropagatedSetLevelTagsT&& value) {
185 m_propagatedSetLevelTagsHasBeenSet = true;
186 m_propagatedSetLevelTags = std::forward<PropagatedSetLevelTagsT>(value);
187 }
188 template <typename PropagatedSetLevelTagsT = Aws::Vector<Aws::String>>
189 CreateSequenceStoreRequest& WithPropagatedSetLevelTags(PropagatedSetLevelTagsT&& value) {
190 SetPropagatedSetLevelTags(std::forward<PropagatedSetLevelTagsT>(value));
191 return *this;
192 }
193 template <typename PropagatedSetLevelTagsT = Aws::String>
194 CreateSequenceStoreRequest& AddPropagatedSetLevelTags(PropagatedSetLevelTagsT&& value) {
195 m_propagatedSetLevelTagsHasBeenSet = true;
196 m_propagatedSetLevelTags.emplace_back(std::forward<PropagatedSetLevelTagsT>(value));
197 return *this;
198 }
200
202
207 inline const S3AccessConfig& GetS3AccessConfig() const { return m_s3AccessConfig; }
208 inline bool S3AccessConfigHasBeenSet() const { return m_s3AccessConfigHasBeenSet; }
209 template <typename S3AccessConfigT = S3AccessConfig>
210 void SetS3AccessConfig(S3AccessConfigT&& value) {
211 m_s3AccessConfigHasBeenSet = true;
212 m_s3AccessConfig = std::forward<S3AccessConfigT>(value);
213 }
214 template <typename S3AccessConfigT = S3AccessConfig>
216 SetS3AccessConfig(std::forward<S3AccessConfigT>(value));
217 return *this;
218 }
220 private:
221 Aws::String m_name;
222
223 Aws::String m_description;
224
225 SseConfig m_sseConfig;
226
228
230
231 Aws::String m_fallbackLocation;
232
234
235 Aws::Vector<Aws::String> m_propagatedSetLevelTags;
236
237 S3AccessConfig m_s3AccessConfig;
238 bool m_nameHasBeenSet = false;
239 bool m_descriptionHasBeenSet = false;
240 bool m_sseConfigHasBeenSet = false;
241 bool m_tagsHasBeenSet = false;
242 bool m_clientTokenHasBeenSet = true;
243 bool m_fallbackLocationHasBeenSet = false;
244 bool m_eTagAlgorithmFamilyHasBeenSet = false;
245 bool m_propagatedSetLevelTagsHasBeenSet = false;
246 bool m_s3AccessConfigHasBeenSet = false;
247};
248
249} // namespace Model
250} // namespace Omics
251} // namespace Aws
CreateSequenceStoreRequest & WithName(NameT &&value)
void SetPropagatedSetLevelTags(PropagatedSetLevelTagsT &&value)
CreateSequenceStoreRequest & WithS3AccessConfig(S3AccessConfigT &&value)
CreateSequenceStoreRequest & WithDescription(DescriptionT &&value)
CreateSequenceStoreRequest & WithPropagatedSetLevelTags(PropagatedSetLevelTagsT &&value)
AWS_OMICS_API Aws::String SerializePayload() const override
CreateSequenceStoreRequest & WithFallbackLocation(FallbackLocationT &&value)
CreateSequenceStoreRequest & WithSseConfig(SseConfigT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateSequenceStoreRequest & WithTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
CreateSequenceStoreRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_OMICS_API CreateSequenceStoreRequest()=default
CreateSequenceStoreRequest & WithETagAlgorithmFamily(ETagAlgorithmFamily value)
CreateSequenceStoreRequest & WithClientToken(ClientTokenT &&value)
CreateSequenceStoreRequest & AddPropagatedSetLevelTags(PropagatedSetLevelTagsT &&value)
const Aws::Vector< Aws::String > & GetPropagatedSetLevelTags() const
static Aws::Utils::UUID PseudoRandomUUID()
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector