AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
UpdateSequenceStoreRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/omics/OmicsRequest.h>
11#include <aws/omics/Omics_EXPORTS.h>
12#include <aws/omics/model/S3AccessConfig.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Omics {
18namespace Model {
19
23 public:
24 AWS_OMICS_API UpdateSequenceStoreRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateSequenceStore"; }
31
32 AWS_OMICS_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetId() const { return m_id; }
39 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
40 template <typename IdT = Aws::String>
41 void SetId(IdT&& value) {
42 m_idHasBeenSet = true;
43 m_id = std::forward<IdT>(value);
44 }
45 template <typename IdT = Aws::String>
47 SetId(std::forward<IdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetName() const { return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 template <typename NameT = Aws::String>
59 void SetName(NameT&& value) {
60 m_nameHasBeenSet = true;
61 m_name = std::forward<NameT>(value);
62 }
63 template <typename NameT = Aws::String>
65 SetName(std::forward<NameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 template <typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) {
78 m_descriptionHasBeenSet = true;
79 m_description = std::forward<DescriptionT>(value);
80 }
81 template <typename DescriptionT = Aws::String>
83 SetDescription(std::forward<DescriptionT>(value));
84 return *this;
85 }
87
89
93 inline const Aws::String& GetClientToken() const { return m_clientToken; }
94 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
95 template <typename ClientTokenT = Aws::String>
96 void SetClientToken(ClientTokenT&& value) {
97 m_clientTokenHasBeenSet = true;
98 m_clientToken = std::forward<ClientTokenT>(value);
99 }
100 template <typename ClientTokenT = Aws::String>
102 SetClientToken(std::forward<ClientTokenT>(value));
103 return *this;
104 }
106
108
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) {
115 m_fallbackLocationHasBeenSet = true;
116 m_fallbackLocation = std::forward<FallbackLocationT>(value);
117 }
118 template <typename FallbackLocationT = Aws::String>
120 SetFallbackLocation(std::forward<FallbackLocationT>(value));
121 return *this;
122 }
124
126
130 inline const Aws::Vector<Aws::String>& GetPropagatedSetLevelTags() const { return m_propagatedSetLevelTags; }
131 inline bool PropagatedSetLevelTagsHasBeenSet() const { return m_propagatedSetLevelTagsHasBeenSet; }
132 template <typename PropagatedSetLevelTagsT = Aws::Vector<Aws::String>>
133 void SetPropagatedSetLevelTags(PropagatedSetLevelTagsT&& value) {
134 m_propagatedSetLevelTagsHasBeenSet = true;
135 m_propagatedSetLevelTags = std::forward<PropagatedSetLevelTagsT>(value);
136 }
137 template <typename PropagatedSetLevelTagsT = Aws::Vector<Aws::String>>
138 UpdateSequenceStoreRequest& WithPropagatedSetLevelTags(PropagatedSetLevelTagsT&& value) {
139 SetPropagatedSetLevelTags(std::forward<PropagatedSetLevelTagsT>(value));
140 return *this;
141 }
142 template <typename PropagatedSetLevelTagsT = Aws::String>
143 UpdateSequenceStoreRequest& AddPropagatedSetLevelTags(PropagatedSetLevelTagsT&& value) {
144 m_propagatedSetLevelTagsHasBeenSet = true;
145 m_propagatedSetLevelTags.emplace_back(std::forward<PropagatedSetLevelTagsT>(value));
146 return *this;
147 }
149
151
154 inline const S3AccessConfig& GetS3AccessConfig() const { return m_s3AccessConfig; }
155 inline bool S3AccessConfigHasBeenSet() const { return m_s3AccessConfigHasBeenSet; }
156 template <typename S3AccessConfigT = S3AccessConfig>
157 void SetS3AccessConfig(S3AccessConfigT&& value) {
158 m_s3AccessConfigHasBeenSet = true;
159 m_s3AccessConfig = std::forward<S3AccessConfigT>(value);
160 }
161 template <typename S3AccessConfigT = S3AccessConfig>
163 SetS3AccessConfig(std::forward<S3AccessConfigT>(value));
164 return *this;
165 }
167 private:
168 Aws::String m_id;
169
170 Aws::String m_name;
171
172 Aws::String m_description;
173
175
176 Aws::String m_fallbackLocation;
177
178 Aws::Vector<Aws::String> m_propagatedSetLevelTags;
179
180 S3AccessConfig m_s3AccessConfig;
181 bool m_idHasBeenSet = false;
182 bool m_nameHasBeenSet = false;
183 bool m_descriptionHasBeenSet = false;
184 bool m_clientTokenHasBeenSet = true;
185 bool m_fallbackLocationHasBeenSet = false;
186 bool m_propagatedSetLevelTagsHasBeenSet = false;
187 bool m_s3AccessConfigHasBeenSet = false;
188};
189
190} // namespace Model
191} // namespace Omics
192} // namespace Aws
AWS_OMICS_API Aws::String SerializePayload() const override
UpdateSequenceStoreRequest & WithPropagatedSetLevelTags(PropagatedSetLevelTagsT &&value)
const Aws::Vector< Aws::String > & GetPropagatedSetLevelTags() const
UpdateSequenceStoreRequest & WithClientToken(ClientTokenT &&value)
UpdateSequenceStoreRequest & WithId(IdT &&value)
UpdateSequenceStoreRequest & WithFallbackLocation(FallbackLocationT &&value)
AWS_OMICS_API UpdateSequenceStoreRequest()=default
UpdateSequenceStoreRequest & AddPropagatedSetLevelTags(PropagatedSetLevelTagsT &&value)
UpdateSequenceStoreRequest & WithS3AccessConfig(S3AccessConfigT &&value)
virtual const char * GetServiceRequestName() const override
UpdateSequenceStoreRequest & WithName(NameT &&value)
void SetPropagatedSetLevelTags(PropagatedSetLevelTagsT &&value)
UpdateSequenceStoreRequest & WithDescription(DescriptionT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector