AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
CreateAnnotationStoreRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/omics/OmicsRequest.h>
10#include <aws/omics/Omics_EXPORTS.h>
11#include <aws/omics/model/ReferenceItem.h>
12#include <aws/omics/model/SseConfig.h>
13#include <aws/omics/model/StoreFormat.h>
14#include <aws/omics/model/StoreOptions.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Omics {
20namespace Model {
21
25 public:
26 AWS_OMICS_API CreateAnnotationStoreRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateAnnotationStore"; }
33
34 AWS_OMICS_API Aws::String SerializePayload() const override;
35
37
40 inline const ReferenceItem& GetReference() const { return m_reference; }
41 inline bool ReferenceHasBeenSet() const { return m_referenceHasBeenSet; }
42 template <typename ReferenceT = ReferenceItem>
43 void SetReference(ReferenceT&& value) {
44 m_referenceHasBeenSet = true;
45 m_reference = std::forward<ReferenceT>(value);
46 }
47 template <typename ReferenceT = ReferenceItem>
49 SetReference(std::forward<ReferenceT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template <typename NameT = Aws::String>
61 void SetName(NameT&& value) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDescription() const { return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 template <typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) {
80 m_descriptionHasBeenSet = true;
81 m_description = std::forward<DescriptionT>(value);
82 }
83 template <typename DescriptionT = Aws::String>
85 SetDescription(std::forward<DescriptionT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
95 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
96 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
97 void SetTags(TagsT&& value) {
98 m_tagsHasBeenSet = true;
99 m_tags = std::forward<TagsT>(value);
100 }
101 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
103 SetTags(std::forward<TagsT>(value));
104 return *this;
105 }
106 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
107 CreateAnnotationStoreRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
108 m_tagsHasBeenSet = true;
109 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
110 return *this;
111 }
113
115
119 inline const Aws::String& GetVersionName() const { return m_versionName; }
120 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
121 template <typename VersionNameT = Aws::String>
122 void SetVersionName(VersionNameT&& value) {
123 m_versionNameHasBeenSet = true;
124 m_versionName = std::forward<VersionNameT>(value);
125 }
126 template <typename VersionNameT = Aws::String>
128 SetVersionName(std::forward<VersionNameT>(value));
129 return *this;
130 }
132
134
137 inline const SseConfig& GetSseConfig() const { return m_sseConfig; }
138 inline bool SseConfigHasBeenSet() const { return m_sseConfigHasBeenSet; }
139 template <typename SseConfigT = SseConfig>
140 void SetSseConfig(SseConfigT&& value) {
141 m_sseConfigHasBeenSet = true;
142 m_sseConfig = std::forward<SseConfigT>(value);
143 }
144 template <typename SseConfigT = SseConfig>
146 SetSseConfig(std::forward<SseConfigT>(value));
147 return *this;
148 }
150
152
155 inline StoreFormat GetStoreFormat() const { return m_storeFormat; }
156 inline bool StoreFormatHasBeenSet() const { return m_storeFormatHasBeenSet; }
157 inline void SetStoreFormat(StoreFormat value) {
158 m_storeFormatHasBeenSet = true;
159 m_storeFormat = value;
160 }
162 SetStoreFormat(value);
163 return *this;
164 }
166
168
171 inline const StoreOptions& GetStoreOptions() const { return m_storeOptions; }
172 inline bool StoreOptionsHasBeenSet() const { return m_storeOptionsHasBeenSet; }
173 template <typename StoreOptionsT = StoreOptions>
174 void SetStoreOptions(StoreOptionsT&& value) {
175 m_storeOptionsHasBeenSet = true;
176 m_storeOptions = std::forward<StoreOptionsT>(value);
177 }
178 template <typename StoreOptionsT = StoreOptions>
180 SetStoreOptions(std::forward<StoreOptionsT>(value));
181 return *this;
182 }
184 private:
185 ReferenceItem m_reference;
186
187 Aws::String m_name;
188
189 Aws::String m_description;
190
192
193 Aws::String m_versionName;
194
195 SseConfig m_sseConfig;
196
197 StoreFormat m_storeFormat{StoreFormat::NOT_SET};
198
199 StoreOptions m_storeOptions;
200 bool m_referenceHasBeenSet = false;
201 bool m_nameHasBeenSet = false;
202 bool m_descriptionHasBeenSet = false;
203 bool m_tagsHasBeenSet = false;
204 bool m_versionNameHasBeenSet = false;
205 bool m_sseConfigHasBeenSet = false;
206 bool m_storeFormatHasBeenSet = false;
207 bool m_storeOptionsHasBeenSet = false;
208};
209
210} // namespace Model
211} // namespace Omics
212} // namespace Aws
CreateAnnotationStoreRequest & WithVersionName(VersionNameT &&value)
virtual const char * GetServiceRequestName() const override
CreateAnnotationStoreRequest & WithName(NameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_OMICS_API Aws::String SerializePayload() const override
AWS_OMICS_API CreateAnnotationStoreRequest()=default
CreateAnnotationStoreRequest & WithStoreOptions(StoreOptionsT &&value)
CreateAnnotationStoreRequest & WithDescription(DescriptionT &&value)
CreateAnnotationStoreRequest & WithSseConfig(SseConfigT &&value)
CreateAnnotationStoreRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateAnnotationStoreRequest & WithStoreFormat(StoreFormat value)
CreateAnnotationStoreRequest & WithReference(ReferenceT &&value)
CreateAnnotationStoreRequest & WithTags(TagsT &&value)
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