AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetReference(const ReferenceItem& value) { m_referenceHasBeenSet = true; m_reference = value; }
47 inline void SetReference(ReferenceItem&& value) { m_referenceHasBeenSet = true; m_reference = std::move(value); }
48 inline CreateAnnotationStoreRequest& WithReference(const ReferenceItem& value) { SetReference(value); return *this;}
49 inline CreateAnnotationStoreRequest& WithReference(ReferenceItem&& value) { SetReference(std::move(value)); return *this;}
51
53
56 inline const Aws::String& GetName() const{ return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
59 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 inline CreateAnnotationStoreRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline CreateAnnotationStoreRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline CreateAnnotationStoreRequest& WithName(const char* value) { SetName(value); return *this;}
65
67
70 inline const Aws::String& GetDescription() const{ return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
73 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
74 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
75 inline CreateAnnotationStoreRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline CreateAnnotationStoreRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline CreateAnnotationStoreRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
79
81
84 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
85 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
86 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
87 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
89 inline CreateAnnotationStoreRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
90 inline CreateAnnotationStoreRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
91 inline CreateAnnotationStoreRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
92 inline CreateAnnotationStoreRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
93 inline CreateAnnotationStoreRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
94 inline CreateAnnotationStoreRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
95 inline CreateAnnotationStoreRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
96 inline CreateAnnotationStoreRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
98
100
104 inline const Aws::String& GetVersionName() const{ return m_versionName; }
105 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
106 inline void SetVersionName(const Aws::String& value) { m_versionNameHasBeenSet = true; m_versionName = value; }
107 inline void SetVersionName(Aws::String&& value) { m_versionNameHasBeenSet = true; m_versionName = std::move(value); }
108 inline void SetVersionName(const char* value) { m_versionNameHasBeenSet = true; m_versionName.assign(value); }
109 inline CreateAnnotationStoreRequest& WithVersionName(const Aws::String& value) { SetVersionName(value); return *this;}
110 inline CreateAnnotationStoreRequest& WithVersionName(Aws::String&& value) { SetVersionName(std::move(value)); return *this;}
111 inline CreateAnnotationStoreRequest& WithVersionName(const char* value) { SetVersionName(value); return *this;}
113
115
118 inline const SseConfig& GetSseConfig() const{ return m_sseConfig; }
119 inline bool SseConfigHasBeenSet() const { return m_sseConfigHasBeenSet; }
120 inline void SetSseConfig(const SseConfig& value) { m_sseConfigHasBeenSet = true; m_sseConfig = value; }
121 inline void SetSseConfig(SseConfig&& value) { m_sseConfigHasBeenSet = true; m_sseConfig = std::move(value); }
122 inline CreateAnnotationStoreRequest& WithSseConfig(const SseConfig& value) { SetSseConfig(value); return *this;}
123 inline CreateAnnotationStoreRequest& WithSseConfig(SseConfig&& value) { SetSseConfig(std::move(value)); return *this;}
125
127
130 inline const StoreFormat& GetStoreFormat() const{ return m_storeFormat; }
131 inline bool StoreFormatHasBeenSet() const { return m_storeFormatHasBeenSet; }
132 inline void SetStoreFormat(const StoreFormat& value) { m_storeFormatHasBeenSet = true; m_storeFormat = value; }
133 inline void SetStoreFormat(StoreFormat&& value) { m_storeFormatHasBeenSet = true; m_storeFormat = std::move(value); }
134 inline CreateAnnotationStoreRequest& WithStoreFormat(const StoreFormat& value) { SetStoreFormat(value); return *this;}
135 inline CreateAnnotationStoreRequest& WithStoreFormat(StoreFormat&& value) { SetStoreFormat(std::move(value)); return *this;}
137
139
142 inline const StoreOptions& GetStoreOptions() const{ return m_storeOptions; }
143 inline bool StoreOptionsHasBeenSet() const { return m_storeOptionsHasBeenSet; }
144 inline void SetStoreOptions(const StoreOptions& value) { m_storeOptionsHasBeenSet = true; m_storeOptions = value; }
145 inline void SetStoreOptions(StoreOptions&& value) { m_storeOptionsHasBeenSet = true; m_storeOptions = std::move(value); }
146 inline CreateAnnotationStoreRequest& WithStoreOptions(const StoreOptions& value) { SetStoreOptions(value); return *this;}
147 inline CreateAnnotationStoreRequest& WithStoreOptions(StoreOptions&& value) { SetStoreOptions(std::move(value)); return *this;}
149 private:
150
151 ReferenceItem m_reference;
152 bool m_referenceHasBeenSet = false;
153
154 Aws::String m_name;
155 bool m_nameHasBeenSet = false;
156
157 Aws::String m_description;
158 bool m_descriptionHasBeenSet = false;
159
161 bool m_tagsHasBeenSet = false;
162
163 Aws::String m_versionName;
164 bool m_versionNameHasBeenSet = false;
165
166 SseConfig m_sseConfig;
167 bool m_sseConfigHasBeenSet = false;
168
169 StoreFormat m_storeFormat;
170 bool m_storeFormatHasBeenSet = false;
171
172 StoreOptions m_storeOptions;
173 bool m_storeOptionsHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace Omics
178} // namespace Aws
CreateAnnotationStoreRequest & WithSseConfig(SseConfig &&value)
CreateAnnotationStoreRequest & WithName(Aws::String &&value)
CreateAnnotationStoreRequest & WithStoreFormat(StoreFormat &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateAnnotationStoreRequest & WithStoreOptions(const StoreOptions &value)
CreateAnnotationStoreRequest & WithDescription(const Aws::String &value)
CreateAnnotationStoreRequest & WithDescription(Aws::String &&value)
AWS_OMICS_API Aws::String SerializePayload() const override
CreateAnnotationStoreRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateAnnotationStoreRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateAnnotationStoreRequest & WithReference(ReferenceItem &&value)
CreateAnnotationStoreRequest & WithVersionName(const Aws::String &value)
CreateAnnotationStoreRequest & WithReference(const ReferenceItem &value)
CreateAnnotationStoreRequest & WithVersionName(Aws::String &&value)
CreateAnnotationStoreRequest & WithDescription(const char *value)
CreateAnnotationStoreRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateAnnotationStoreRequest & AddTags(Aws::String &&key, const char *value)
CreateAnnotationStoreRequest & AddTags(const char *key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAnnotationStoreRequest & WithName(const char *value)
CreateAnnotationStoreRequest & AddTags(const char *key, const char *value)
CreateAnnotationStoreRequest & WithStoreFormat(const StoreFormat &value)
CreateAnnotationStoreRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAnnotationStoreRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateAnnotationStoreRequest & WithName(const Aws::String &value)
CreateAnnotationStoreRequest & WithStoreOptions(StoreOptions &&value)
CreateAnnotationStoreRequest & WithSseConfig(const SseConfig &value)
CreateAnnotationStoreRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateAnnotationStoreRequest & WithVersionName(const char *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