AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateReferenceStoreRequest.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/omics/OmicsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/omics/model/SseConfig.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Omics
17{
18namespace Model
19{
20
24 {
25 public:
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 "CreateReferenceStore"; }
33
34 AWS_OMICS_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetName() const{ return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
44 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
45 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
46 inline CreateReferenceStoreRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
47 inline CreateReferenceStoreRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
48 inline CreateReferenceStoreRequest& WithName(const char* value) { SetName(value); return *this;}
50
52
55 inline const Aws::String& GetDescription() const{ return m_description; }
56 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
57 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
58 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
59 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
60 inline CreateReferenceStoreRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
61 inline CreateReferenceStoreRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
62 inline CreateReferenceStoreRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
64
66
69 inline const SseConfig& GetSseConfig() const{ return m_sseConfig; }
70 inline bool SseConfigHasBeenSet() const { return m_sseConfigHasBeenSet; }
71 inline void SetSseConfig(const SseConfig& value) { m_sseConfigHasBeenSet = true; m_sseConfig = value; }
72 inline void SetSseConfig(SseConfig&& value) { m_sseConfigHasBeenSet = true; m_sseConfig = std::move(value); }
73 inline CreateReferenceStoreRequest& WithSseConfig(const SseConfig& value) { SetSseConfig(value); return *this;}
74 inline CreateReferenceStoreRequest& WithSseConfig(SseConfig&& value) { SetSseConfig(std::move(value)); return *this;}
76
78
81 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
82 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
83 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
84 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
86 inline CreateReferenceStoreRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
87 inline CreateReferenceStoreRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
88 inline CreateReferenceStoreRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
89 inline CreateReferenceStoreRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
90 inline CreateReferenceStoreRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
91 inline CreateReferenceStoreRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
92 inline CreateReferenceStoreRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
93 inline CreateReferenceStoreRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
95
97
101 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
102 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
103 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
104 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
105 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
106 inline CreateReferenceStoreRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
107 inline CreateReferenceStoreRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
108 inline CreateReferenceStoreRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
110 private:
111
112 Aws::String m_name;
113 bool m_nameHasBeenSet = false;
114
115 Aws::String m_description;
116 bool m_descriptionHasBeenSet = false;
117
118 SseConfig m_sseConfig;
119 bool m_sseConfigHasBeenSet = false;
120
122 bool m_tagsHasBeenSet = false;
123
124 Aws::String m_clientToken;
125 bool m_clientTokenHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace Omics
130} // namespace Aws
CreateReferenceStoreRequest & WithClientToken(const char *value)
CreateReferenceStoreRequest & WithDescription(Aws::String &&value)
AWS_OMICS_API Aws::String SerializePayload() const override
CreateReferenceStoreRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateReferenceStoreRequest & WithClientToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateReferenceStoreRequest & WithName(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateReferenceStoreRequest & WithSseConfig(SseConfig &&value)
CreateReferenceStoreRequest & AddTags(const char *key, const char *value)
CreateReferenceStoreRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateReferenceStoreRequest & WithName(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateReferenceStoreRequest & WithClientToken(const Aws::String &value)
CreateReferenceStoreRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateReferenceStoreRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateReferenceStoreRequest & AddTags(const char *key, Aws::String &&value)
CreateReferenceStoreRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateReferenceStoreRequest & WithDescription(const char *value)
CreateReferenceStoreRequest & AddTags(Aws::String &&key, const char *value)
CreateReferenceStoreRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateReferenceStoreRequest & WithName(Aws::String &&value)
CreateReferenceStoreRequest & WithDescription(const Aws::String &value)
CreateReferenceStoreRequest & WithSseConfig(const SseConfig &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