AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateSequenceStoreRequest.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 <aws/omics/model/ETagAlgorithmFamily.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/omics/model/S3AccessConfig.h>
15#include <utility>
16#include <aws/core/utils/UUID.h>
17
18namespace Aws
19{
20namespace Omics
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_OMICS_API CreateSequenceStoreRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateSequenceStore"; }
37
38 AWS_OMICS_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::String& GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 template<typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
49 template<typename NameT = Aws::String>
50 CreateSequenceStoreRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetDescription() const { return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 template<typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
61 template<typename DescriptionT = Aws::String>
62 CreateSequenceStoreRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
64
66
69 inline const SseConfig& GetSseConfig() const { return m_sseConfig; }
70 inline bool SseConfigHasBeenSet() const { return m_sseConfigHasBeenSet; }
71 template<typename SseConfigT = SseConfig>
72 void SetSseConfig(SseConfigT&& value) { m_sseConfigHasBeenSet = true; m_sseConfig = std::forward<SseConfigT>(value); }
73 template<typename SseConfigT = SseConfig>
74 CreateSequenceStoreRequest& WithSseConfig(SseConfigT&& value) { SetSseConfig(std::forward<SseConfigT>(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 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
84 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
85 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
86 CreateSequenceStoreRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
87 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
88 CreateSequenceStoreRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
89 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
90 }
92
94
98 inline const Aws::String& GetClientToken() const { return m_clientToken; }
99 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
100 template<typename ClientTokenT = Aws::String>
101 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
102 template<typename ClientTokenT = Aws::String>
103 CreateSequenceStoreRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
105
107
111 inline const Aws::String& GetFallbackLocation() const { return m_fallbackLocation; }
112 inline bool FallbackLocationHasBeenSet() const { return m_fallbackLocationHasBeenSet; }
113 template<typename FallbackLocationT = Aws::String>
114 void SetFallbackLocation(FallbackLocationT&& value) { m_fallbackLocationHasBeenSet = true; m_fallbackLocation = std::forward<FallbackLocationT>(value); }
115 template<typename FallbackLocationT = Aws::String>
116 CreateSequenceStoreRequest& WithFallbackLocation(FallbackLocationT&& value) { SetFallbackLocation(std::forward<FallbackLocationT>(value)); return *this;}
118
120
123 inline ETagAlgorithmFamily GetETagAlgorithmFamily() const { return m_eTagAlgorithmFamily; }
124 inline bool ETagAlgorithmFamilyHasBeenSet() const { return m_eTagAlgorithmFamilyHasBeenSet; }
125 inline void SetETagAlgorithmFamily(ETagAlgorithmFamily value) { m_eTagAlgorithmFamilyHasBeenSet = true; m_eTagAlgorithmFamily = value; }
128
130
134 inline const Aws::Vector<Aws::String>& GetPropagatedSetLevelTags() const { return m_propagatedSetLevelTags; }
135 inline bool PropagatedSetLevelTagsHasBeenSet() const { return m_propagatedSetLevelTagsHasBeenSet; }
136 template<typename PropagatedSetLevelTagsT = Aws::Vector<Aws::String>>
137 void SetPropagatedSetLevelTags(PropagatedSetLevelTagsT&& value) { m_propagatedSetLevelTagsHasBeenSet = true; m_propagatedSetLevelTags = std::forward<PropagatedSetLevelTagsT>(value); }
138 template<typename PropagatedSetLevelTagsT = Aws::Vector<Aws::String>>
139 CreateSequenceStoreRequest& WithPropagatedSetLevelTags(PropagatedSetLevelTagsT&& value) { SetPropagatedSetLevelTags(std::forward<PropagatedSetLevelTagsT>(value)); return *this;}
140 template<typename PropagatedSetLevelTagsT = Aws::String>
141 CreateSequenceStoreRequest& AddPropagatedSetLevelTags(PropagatedSetLevelTagsT&& value) { m_propagatedSetLevelTagsHasBeenSet = true; m_propagatedSetLevelTags.emplace_back(std::forward<PropagatedSetLevelTagsT>(value)); return *this; }
143
145
148 inline const S3AccessConfig& GetS3AccessConfig() const { return m_s3AccessConfig; }
149 inline bool S3AccessConfigHasBeenSet() const { return m_s3AccessConfigHasBeenSet; }
150 template<typename S3AccessConfigT = S3AccessConfig>
151 void SetS3AccessConfig(S3AccessConfigT&& value) { m_s3AccessConfigHasBeenSet = true; m_s3AccessConfig = std::forward<S3AccessConfigT>(value); }
152 template<typename S3AccessConfigT = S3AccessConfig>
153 CreateSequenceStoreRequest& WithS3AccessConfig(S3AccessConfigT&& value) { SetS3AccessConfig(std::forward<S3AccessConfigT>(value)); return *this;}
155 private:
156
157 Aws::String m_name;
158 bool m_nameHasBeenSet = false;
159
160 Aws::String m_description;
161 bool m_descriptionHasBeenSet = false;
162
163 SseConfig m_sseConfig;
164 bool m_sseConfigHasBeenSet = false;
165
167 bool m_tagsHasBeenSet = false;
168
170 bool m_clientTokenHasBeenSet = true;
171
172 Aws::String m_fallbackLocation;
173 bool m_fallbackLocationHasBeenSet = false;
174
176 bool m_eTagAlgorithmFamilyHasBeenSet = false;
177
178 Aws::Vector<Aws::String> m_propagatedSetLevelTags;
179 bool m_propagatedSetLevelTagsHasBeenSet = false;
180
181 S3AccessConfig m_s3AccessConfig;
182 bool m_s3AccessConfigHasBeenSet = false;
183 };
184
185} // namespace Model
186} // namespace Omics
187} // namespace Aws
CreateSequenceStoreRequest & WithName(NameT &&value)
void SetPropagatedSetLevelTags(PropagatedSetLevelTagsT &&value)
CreateSequenceStoreRequest & WithS3AccessConfig(S3AccessConfigT &&value)
CreateSequenceStoreRequest & WithDescription(DescriptionT &&value)
CreateSequenceStoreRequest & WithPropagatedSetLevelTags(PropagatedSetLevelTagsT &&value)
AWS_OMICS_API Aws::String SerializePayload() const override
CreateSequenceStoreRequest & WithFallbackLocation(FallbackLocationT &&value)
CreateSequenceStoreRequest & WithSseConfig(SseConfigT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateSequenceStoreRequest & WithTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
CreateSequenceStoreRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_OMICS_API CreateSequenceStoreRequest()=default
CreateSequenceStoreRequest & WithETagAlgorithmFamily(ETagAlgorithmFamily value)
CreateSequenceStoreRequest & WithClientToken(ClientTokenT &&value)
CreateSequenceStoreRequest & AddPropagatedSetLevelTags(PropagatedSetLevelTagsT &&value)
const Aws::Vector< Aws::String > & GetPropagatedSetLevelTags() const
static Aws::Utils::UUID PseudoRandomUUID()
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
std::vector< T, Aws::Allocator< T > > Vector