AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
CreateConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/omics/OmicsRequest.h>
11#include <aws/omics/Omics_EXPORTS.h>
12#include <aws/omics/model/RunConfigurations.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Omics {
18namespace Model {
19
23 public:
24 AWS_OMICS_API CreateConfigurationRequest() = 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 "CreateConfiguration"; }
31
32 AWS_OMICS_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetName() const { return m_name; }
39 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDescription() const { return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 template <typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) {
60 m_descriptionHasBeenSet = true;
61 m_description = std::forward<DescriptionT>(value);
62 }
63 template <typename DescriptionT = Aws::String>
65 SetDescription(std::forward<DescriptionT>(value));
66 return *this;
67 }
69
71
74 inline const RunConfigurations& GetRunConfigurations() const { return m_runConfigurations; }
75 inline bool RunConfigurationsHasBeenSet() const { return m_runConfigurationsHasBeenSet; }
76 template <typename RunConfigurationsT = RunConfigurations>
77 void SetRunConfigurations(RunConfigurationsT&& value) {
78 m_runConfigurationsHasBeenSet = true;
79 m_runConfigurations = std::forward<RunConfigurationsT>(value);
80 }
81 template <typename RunConfigurationsT = RunConfigurations>
83 SetRunConfigurations(std::forward<RunConfigurationsT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
93 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
94 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
95 void SetTags(TagsT&& value) {
96 m_tagsHasBeenSet = true;
97 m_tags = std::forward<TagsT>(value);
98 }
99 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
101 SetTags(std::forward<TagsT>(value));
102 return *this;
103 }
104 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
105 CreateConfigurationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
106 m_tagsHasBeenSet = true;
107 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
108 return *this;
109 }
111
113
117 inline const Aws::String& GetRequestId() const { return m_requestId; }
118 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
119 template <typename RequestIdT = Aws::String>
120 void SetRequestId(RequestIdT&& value) {
121 m_requestIdHasBeenSet = true;
122 m_requestId = std::forward<RequestIdT>(value);
123 }
124 template <typename RequestIdT = Aws::String>
126 SetRequestId(std::forward<RequestIdT>(value));
127 return *this;
128 }
130 private:
131 Aws::String m_name;
132
133 Aws::String m_description;
134
135 RunConfigurations m_runConfigurations;
136
138
140 bool m_nameHasBeenSet = false;
141 bool m_descriptionHasBeenSet = false;
142 bool m_runConfigurationsHasBeenSet = false;
143 bool m_tagsHasBeenSet = false;
144 bool m_requestIdHasBeenSet = true;
145};
146
147} // namespace Model
148} // namespace Omics
149} // namespace Aws
virtual const char * GetServiceRequestName() const override
CreateConfigurationRequest & WithName(NameT &&value)
AWS_OMICS_API CreateConfigurationRequest()=default
CreateConfigurationRequest & WithDescription(DescriptionT &&value)
CreateConfigurationRequest & WithTags(TagsT &&value)
AWS_OMICS_API Aws::String SerializePayload() const override
CreateConfigurationRequest & WithRequestId(RequestIdT &&value)
CreateConfigurationRequest & WithRunConfigurations(RunConfigurationsT &&value)
CreateConfigurationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() 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