AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateConfigurationRequest.h
1
6#pragma once
7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/mq/MQRequest.h>
9#include <aws/mq/model/AuthenticationStrategy.h>
10#include <aws/mq/model/EngineType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace MQ
18{
19namespace Model
20{
21
30 {
31 public:
32 AWS_MQ_API CreateConfigurationRequest() = default;
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "CreateConfiguration"; }
39
40 AWS_MQ_API Aws::String SerializePayload() const override;
41
42
44
48 inline AuthenticationStrategy GetAuthenticationStrategy() const { return m_authenticationStrategy; }
49 inline bool AuthenticationStrategyHasBeenSet() const { return m_authenticationStrategyHasBeenSet; }
50 inline void SetAuthenticationStrategy(AuthenticationStrategy value) { m_authenticationStrategyHasBeenSet = true; m_authenticationStrategy = value; }
53
55
59 inline EngineType GetEngineType() const { return m_engineType; }
60 inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; }
61 inline void SetEngineType(EngineType value) { m_engineTypeHasBeenSet = true; m_engineType = value; }
62 inline CreateConfigurationRequest& WithEngineType(EngineType value) { SetEngineType(value); return *this;}
64
66
74 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
75 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
76 template<typename EngineVersionT = Aws::String>
77 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
78 template<typename EngineVersionT = Aws::String>
79 CreateConfigurationRequest& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
81
83
88 inline const Aws::String& GetName() const { return m_name; }
89 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
90 template<typename NameT = Aws::String>
91 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
92 template<typename NameT = Aws::String>
93 CreateConfigurationRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
95
97
100 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
101 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
102 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
103 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
104 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
105 CreateConfigurationRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
106 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
107 CreateConfigurationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
108 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
109 }
111 private:
112
114 bool m_authenticationStrategyHasBeenSet = false;
115
116 EngineType m_engineType{EngineType::NOT_SET};
117 bool m_engineTypeHasBeenSet = false;
118
119 Aws::String m_engineVersion;
120 bool m_engineVersionHasBeenSet = false;
121
122 Aws::String m_name;
123 bool m_nameHasBeenSet = false;
124
126 bool m_tagsHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace MQ
131} // 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