AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateAnnotationStoreRequest.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/omics/OmicsRequest.h>
9#include <aws/omics/model/ReferenceItem.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/omics/model/SseConfig.h>
13#include <aws/omics/model/StoreFormat.h>
14#include <aws/omics/model/StoreOptions.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Omics
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_OMICS_API CreateAnnotationStoreRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateAnnotationStore"; }
36
37 AWS_OMICS_API Aws::String SerializePayload() const override;
38
39
41
44 inline const ReferenceItem& GetReference() const { return m_reference; }
45 inline bool ReferenceHasBeenSet() const { return m_referenceHasBeenSet; }
46 template<typename ReferenceT = ReferenceItem>
47 void SetReference(ReferenceT&& value) { m_referenceHasBeenSet = true; m_reference = std::forward<ReferenceT>(value); }
48 template<typename ReferenceT = ReferenceItem>
49 CreateAnnotationStoreRequest& WithReference(ReferenceT&& value) { SetReference(std::forward<ReferenceT>(value)); return *this;}
51
53
56 inline const Aws::String& GetName() const { return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 template<typename NameT = Aws::String>
59 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
60 template<typename NameT = Aws::String>
61 CreateAnnotationStoreRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
63
65
68 inline const Aws::String& GetDescription() const { return m_description; }
69 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
70 template<typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
72 template<typename DescriptionT = Aws::String>
73 CreateAnnotationStoreRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
75
77
80 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
81 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
82 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
83 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
84 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
85 CreateAnnotationStoreRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
86 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
87 CreateAnnotationStoreRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
88 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
89 }
91
93
97 inline const Aws::String& GetVersionName() const { return m_versionName; }
98 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
99 template<typename VersionNameT = Aws::String>
100 void SetVersionName(VersionNameT&& value) { m_versionNameHasBeenSet = true; m_versionName = std::forward<VersionNameT>(value); }
101 template<typename VersionNameT = Aws::String>
102 CreateAnnotationStoreRequest& WithVersionName(VersionNameT&& value) { SetVersionName(std::forward<VersionNameT>(value)); return *this;}
104
106
109 inline const SseConfig& GetSseConfig() const { return m_sseConfig; }
110 inline bool SseConfigHasBeenSet() const { return m_sseConfigHasBeenSet; }
111 template<typename SseConfigT = SseConfig>
112 void SetSseConfig(SseConfigT&& value) { m_sseConfigHasBeenSet = true; m_sseConfig = std::forward<SseConfigT>(value); }
113 template<typename SseConfigT = SseConfig>
114 CreateAnnotationStoreRequest& WithSseConfig(SseConfigT&& value) { SetSseConfig(std::forward<SseConfigT>(value)); return *this;}
116
118
121 inline StoreFormat GetStoreFormat() const { return m_storeFormat; }
122 inline bool StoreFormatHasBeenSet() const { return m_storeFormatHasBeenSet; }
123 inline void SetStoreFormat(StoreFormat value) { m_storeFormatHasBeenSet = true; m_storeFormat = value; }
126
128
131 inline const StoreOptions& GetStoreOptions() const { return m_storeOptions; }
132 inline bool StoreOptionsHasBeenSet() const { return m_storeOptionsHasBeenSet; }
133 template<typename StoreOptionsT = StoreOptions>
134 void SetStoreOptions(StoreOptionsT&& value) { m_storeOptionsHasBeenSet = true; m_storeOptions = std::forward<StoreOptionsT>(value); }
135 template<typename StoreOptionsT = StoreOptions>
136 CreateAnnotationStoreRequest& WithStoreOptions(StoreOptionsT&& value) { SetStoreOptions(std::forward<StoreOptionsT>(value)); return *this;}
138 private:
139
140 ReferenceItem m_reference;
141 bool m_referenceHasBeenSet = false;
142
143 Aws::String m_name;
144 bool m_nameHasBeenSet = false;
145
146 Aws::String m_description;
147 bool m_descriptionHasBeenSet = false;
148
150 bool m_tagsHasBeenSet = false;
151
152 Aws::String m_versionName;
153 bool m_versionNameHasBeenSet = false;
154
155 SseConfig m_sseConfig;
156 bool m_sseConfigHasBeenSet = false;
157
158 StoreFormat m_storeFormat{StoreFormat::NOT_SET};
159 bool m_storeFormatHasBeenSet = false;
160
161 StoreOptions m_storeOptions;
162 bool m_storeOptionsHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace Omics
167} // 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