AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
CreateReferenceStoreRequest.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/SseConfig.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Omics {
17namespace Model {
18
22 public:
23 AWS_OMICS_API CreateReferenceStoreRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "CreateReferenceStore"; }
30
31 AWS_OMICS_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetName() const { return m_name; }
38 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
39 template <typename NameT = Aws::String>
40 void SetName(NameT&& value) {
41 m_nameHasBeenSet = true;
42 m_name = std::forward<NameT>(value);
43 }
44 template <typename NameT = Aws::String>
46 SetName(std::forward<NameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetDescription() const { return m_description; }
56 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
57 template <typename DescriptionT = Aws::String>
58 void SetDescription(DescriptionT&& value) {
59 m_descriptionHasBeenSet = true;
60 m_description = std::forward<DescriptionT>(value);
61 }
62 template <typename DescriptionT = Aws::String>
64 SetDescription(std::forward<DescriptionT>(value));
65 return *this;
66 }
68
70
73 inline const SseConfig& GetSseConfig() const { return m_sseConfig; }
74 inline bool SseConfigHasBeenSet() const { return m_sseConfigHasBeenSet; }
75 template <typename SseConfigT = SseConfig>
76 void SetSseConfig(SseConfigT&& value) {
77 m_sseConfigHasBeenSet = true;
78 m_sseConfig = std::forward<SseConfigT>(value);
79 }
80 template <typename SseConfigT = SseConfig>
82 SetSseConfig(std::forward<SseConfigT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
92 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
93 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
94 void SetTags(TagsT&& value) {
95 m_tagsHasBeenSet = true;
96 m_tags = std::forward<TagsT>(value);
97 }
98 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
100 SetTags(std::forward<TagsT>(value));
101 return *this;
102 }
103 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
104 CreateReferenceStoreRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
105 m_tagsHasBeenSet = true;
106 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
107 return *this;
108 }
110
112
116 inline const Aws::String& GetClientToken() const { return m_clientToken; }
117 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
118 template <typename ClientTokenT = Aws::String>
119 void SetClientToken(ClientTokenT&& value) {
120 m_clientTokenHasBeenSet = true;
121 m_clientToken = std::forward<ClientTokenT>(value);
122 }
123 template <typename ClientTokenT = Aws::String>
125 SetClientToken(std::forward<ClientTokenT>(value));
126 return *this;
127 }
129 private:
130 Aws::String m_name;
131
132 Aws::String m_description;
133
134 SseConfig m_sseConfig;
135
137
138 Aws::String m_clientToken;
139 bool m_nameHasBeenSet = false;
140 bool m_descriptionHasBeenSet = false;
141 bool m_sseConfigHasBeenSet = false;
142 bool m_tagsHasBeenSet = false;
143 bool m_clientTokenHasBeenSet = false;
144};
145
146} // namespace Model
147} // namespace Omics
148} // namespace Aws
CreateReferenceStoreRequest & WithClientToken(ClientTokenT &&value)
CreateReferenceStoreRequest & WithTags(TagsT &&value)
AWS_OMICS_API Aws::String SerializePayload() const override
AWS_OMICS_API CreateReferenceStoreRequest()=default
CreateReferenceStoreRequest & WithDescription(DescriptionT &&value)
CreateReferenceStoreRequest & WithSseConfig(SseConfigT &&value)
virtual const char * GetServiceRequestName() const override
CreateReferenceStoreRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateReferenceStoreRequest & WithName(NameT &&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