AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateConfigurationRequest.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/mq/MQRequest.h>
10#include <aws/mq/MQ_EXPORTS.h>
11#include <aws/mq/model/AuthenticationStrategy.h>
12#include <aws/mq/model/EngineType.h>
13
14#include <utility>
15
16namespace Aws {
17namespace MQ {
18namespace Model {
19
28 public:
29 AWS_MQ_API CreateConfigurationRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateConfiguration"; }
36
37 AWS_MQ_API Aws::String SerializePayload() const override;
38
40
44 inline AuthenticationStrategy GetAuthenticationStrategy() const { return m_authenticationStrategy; }
45 inline bool AuthenticationStrategyHasBeenSet() const { return m_authenticationStrategyHasBeenSet; }
47 m_authenticationStrategyHasBeenSet = true;
48 m_authenticationStrategy = value;
49 }
52 return *this;
53 }
55
57
61 inline EngineType GetEngineType() const { return m_engineType; }
62 inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; }
63 inline void SetEngineType(EngineType value) {
64 m_engineTypeHasBeenSet = true;
65 m_engineType = value;
66 }
68 SetEngineType(value);
69 return *this;
70 }
72
74
82 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
83 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
84 template <typename EngineVersionT = Aws::String>
85 void SetEngineVersion(EngineVersionT&& value) {
86 m_engineVersionHasBeenSet = true;
87 m_engineVersion = std::forward<EngineVersionT>(value);
88 }
89 template <typename EngineVersionT = Aws::String>
91 SetEngineVersion(std::forward<EngineVersionT>(value));
92 return *this;
93 }
95
97
102 inline const Aws::String& GetName() const { return m_name; }
103 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
104 template <typename NameT = Aws::String>
105 void SetName(NameT&& value) {
106 m_nameHasBeenSet = true;
107 m_name = std::forward<NameT>(value);
108 }
109 template <typename NameT = Aws::String>
111 SetName(std::forward<NameT>(value));
112 return *this;
113 }
115
117
120 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
121 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
122 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
123 void SetTags(TagsT&& value) {
124 m_tagsHasBeenSet = true;
125 m_tags = std::forward<TagsT>(value);
126 }
127 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
129 SetTags(std::forward<TagsT>(value));
130 return *this;
131 }
132 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
133 CreateConfigurationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
134 m_tagsHasBeenSet = true;
135 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
136 return *this;
137 }
139 private:
141
142 EngineType m_engineType{EngineType::NOT_SET};
143
144 Aws::String m_engineVersion;
145
146 Aws::String m_name;
147
149 bool m_authenticationStrategyHasBeenSet = false;
150 bool m_engineTypeHasBeenSet = false;
151 bool m_engineVersionHasBeenSet = false;
152 bool m_nameHasBeenSet = false;
153 bool m_tagsHasBeenSet = false;
154};
155
156} // namespace Model
157} // namespace MQ
158} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_MQ_API Aws::String SerializePayload() const override
CreateConfigurationRequest & WithEngineVersion(EngineVersionT &&value)
CreateConfigurationRequest & WithAuthenticationStrategy(AuthenticationStrategy value)
void SetAuthenticationStrategy(AuthenticationStrategy value)
CreateConfigurationRequest & WithName(NameT &&value)
CreateConfigurationRequest & WithEngineType(EngineType value)
AuthenticationStrategy GetAuthenticationStrategy() const
AWS_MQ_API CreateConfigurationRequest()=default
CreateConfigurationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
virtual const char * GetServiceRequestName() const override
CreateConfigurationRequest & WithTags(TagsT &&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