AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateVariantStoreRequest.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 <utility>
14
15namespace Aws
16{
17namespace Omics
18{
19namespace Model
20{
21
25 {
26 public:
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 "CreateVariantStore"; }
34
35 AWS_OMICS_API Aws::String SerializePayload() const override;
36
37
39
42 inline const ReferenceItem& GetReference() const{ return m_reference; }
43 inline bool ReferenceHasBeenSet() const { return m_referenceHasBeenSet; }
44 inline void SetReference(const ReferenceItem& value) { m_referenceHasBeenSet = true; m_reference = value; }
45 inline void SetReference(ReferenceItem&& value) { m_referenceHasBeenSet = true; m_reference = std::move(value); }
46 inline CreateVariantStoreRequest& WithReference(const ReferenceItem& value) { SetReference(value); return *this;}
47 inline CreateVariantStoreRequest& WithReference(ReferenceItem&& value) { SetReference(std::move(value)); return *this;}
49
51
54 inline const Aws::String& GetName() const{ return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
57 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
58 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
59 inline CreateVariantStoreRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
60 inline CreateVariantStoreRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
61 inline CreateVariantStoreRequest& WithName(const char* value) { SetName(value); return *this;}
63
65
68 inline const Aws::String& GetDescription() const{ return m_description; }
69 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
70 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
71 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
72 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
73 inline CreateVariantStoreRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
74 inline CreateVariantStoreRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
75 inline CreateVariantStoreRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
77
79
82 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
83 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
84 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
85 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
87 inline CreateVariantStoreRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
88 inline CreateVariantStoreRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
89 inline CreateVariantStoreRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
90 inline CreateVariantStoreRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
91 inline CreateVariantStoreRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
92 inline CreateVariantStoreRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
93 inline CreateVariantStoreRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
94 inline CreateVariantStoreRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
96
98
101 inline const SseConfig& GetSseConfig() const{ return m_sseConfig; }
102 inline bool SseConfigHasBeenSet() const { return m_sseConfigHasBeenSet; }
103 inline void SetSseConfig(const SseConfig& value) { m_sseConfigHasBeenSet = true; m_sseConfig = value; }
104 inline void SetSseConfig(SseConfig&& value) { m_sseConfigHasBeenSet = true; m_sseConfig = std::move(value); }
105 inline CreateVariantStoreRequest& WithSseConfig(const SseConfig& value) { SetSseConfig(value); return *this;}
106 inline CreateVariantStoreRequest& WithSseConfig(SseConfig&& value) { SetSseConfig(std::move(value)); return *this;}
108 private:
109
110 ReferenceItem m_reference;
111 bool m_referenceHasBeenSet = false;
112
113 Aws::String m_name;
114 bool m_nameHasBeenSet = false;
115
116 Aws::String m_description;
117 bool m_descriptionHasBeenSet = false;
118
120 bool m_tagsHasBeenSet = false;
121
122 SseConfig m_sseConfig;
123 bool m_sseConfigHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace Omics
128} // namespace Aws
CreateVariantStoreRequest & AddTags(const char *key, Aws::String &&value)
CreateVariantStoreRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateVariantStoreRequest & WithSseConfig(SseConfig &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateVariantStoreRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateVariantStoreRequest & AddTags(Aws::String &&key, const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateVariantStoreRequest & WithSseConfig(const SseConfig &value)
CreateVariantStoreRequest & WithName(Aws::String &&value)
CreateVariantStoreRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateVariantStoreRequest & WithDescription(const Aws::String &value)
CreateVariantStoreRequest & WithReference(const ReferenceItem &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateVariantStoreRequest & WithDescription(Aws::String &&value)
AWS_OMICS_API Aws::String SerializePayload() const override
CreateVariantStoreRequest & WithDescription(const char *value)
CreateVariantStoreRequest & WithName(const Aws::String &value)
CreateVariantStoreRequest & AddTags(const char *key, const char *value)
CreateVariantStoreRequest & WithName(const char *value)
CreateVariantStoreRequest & WithReference(ReferenceItem &&value)
CreateVariantStoreRequest & AddTags(Aws::String &&key, Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateVariantStoreRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateVariantStoreRequest & AddTags(const Aws::String &key, Aws::String &&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