AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateSequenceStoreRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/omics/model/S3AccessConfig.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace Omics
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_OMICS_API UpdateSequenceStoreRequest() = default;
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 "UpdateSequenceStore"; }
34
35 AWS_OMICS_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetId() const { return m_id; }
43 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
44 template<typename IdT = Aws::String>
45 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
46 template<typename IdT = Aws::String>
47 UpdateSequenceStoreRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetName() const { return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 template<typename NameT = Aws::String>
57 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
58 template<typename NameT = Aws::String>
59 UpdateSequenceStoreRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
61
63
66 inline const Aws::String& GetDescription() const { return m_description; }
67 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
68 template<typename DescriptionT = Aws::String>
69 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
70 template<typename DescriptionT = Aws::String>
71 UpdateSequenceStoreRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
73
75
79 inline const Aws::String& GetClientToken() const { return m_clientToken; }
80 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
81 template<typename ClientTokenT = Aws::String>
82 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
83 template<typename ClientTokenT = Aws::String>
84 UpdateSequenceStoreRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
86
88
91 inline const Aws::String& GetFallbackLocation() const { return m_fallbackLocation; }
92 inline bool FallbackLocationHasBeenSet() const { return m_fallbackLocationHasBeenSet; }
93 template<typename FallbackLocationT = Aws::String>
94 void SetFallbackLocation(FallbackLocationT&& value) { m_fallbackLocationHasBeenSet = true; m_fallbackLocation = std::forward<FallbackLocationT>(value); }
95 template<typename FallbackLocationT = Aws::String>
96 UpdateSequenceStoreRequest& WithFallbackLocation(FallbackLocationT&& value) { SetFallbackLocation(std::forward<FallbackLocationT>(value)); return *this;}
98
100
104 inline const Aws::Vector<Aws::String>& GetPropagatedSetLevelTags() const { return m_propagatedSetLevelTags; }
105 inline bool PropagatedSetLevelTagsHasBeenSet() const { return m_propagatedSetLevelTagsHasBeenSet; }
106 template<typename PropagatedSetLevelTagsT = Aws::Vector<Aws::String>>
107 void SetPropagatedSetLevelTags(PropagatedSetLevelTagsT&& value) { m_propagatedSetLevelTagsHasBeenSet = true; m_propagatedSetLevelTags = std::forward<PropagatedSetLevelTagsT>(value); }
108 template<typename PropagatedSetLevelTagsT = Aws::Vector<Aws::String>>
109 UpdateSequenceStoreRequest& WithPropagatedSetLevelTags(PropagatedSetLevelTagsT&& value) { SetPropagatedSetLevelTags(std::forward<PropagatedSetLevelTagsT>(value)); return *this;}
110 template<typename PropagatedSetLevelTagsT = Aws::String>
111 UpdateSequenceStoreRequest& AddPropagatedSetLevelTags(PropagatedSetLevelTagsT&& value) { m_propagatedSetLevelTagsHasBeenSet = true; m_propagatedSetLevelTags.emplace_back(std::forward<PropagatedSetLevelTagsT>(value)); return *this; }
113
115
118 inline const S3AccessConfig& GetS3AccessConfig() const { return m_s3AccessConfig; }
119 inline bool S3AccessConfigHasBeenSet() const { return m_s3AccessConfigHasBeenSet; }
120 template<typename S3AccessConfigT = S3AccessConfig>
121 void SetS3AccessConfig(S3AccessConfigT&& value) { m_s3AccessConfigHasBeenSet = true; m_s3AccessConfig = std::forward<S3AccessConfigT>(value); }
122 template<typename S3AccessConfigT = S3AccessConfig>
123 UpdateSequenceStoreRequest& WithS3AccessConfig(S3AccessConfigT&& value) { SetS3AccessConfig(std::forward<S3AccessConfigT>(value)); return *this;}
125 private:
126
127 Aws::String m_id;
128 bool m_idHasBeenSet = false;
129
130 Aws::String m_name;
131 bool m_nameHasBeenSet = false;
132
133 Aws::String m_description;
134 bool m_descriptionHasBeenSet = false;
135
137 bool m_clientTokenHasBeenSet = true;
138
139 Aws::String m_fallbackLocation;
140 bool m_fallbackLocationHasBeenSet = false;
141
142 Aws::Vector<Aws::String> m_propagatedSetLevelTags;
143 bool m_propagatedSetLevelTagsHasBeenSet = false;
144
145 S3AccessConfig m_s3AccessConfig;
146 bool m_s3AccessConfigHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace Omics
151} // 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