AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 const AuthenticationStrategy& GetAuthenticationStrategy() const{ return m_authenticationStrategy; }
49 inline bool AuthenticationStrategyHasBeenSet() const { return m_authenticationStrategyHasBeenSet; }
50 inline void SetAuthenticationStrategy(const AuthenticationStrategy& value) { m_authenticationStrategyHasBeenSet = true; m_authenticationStrategy = value; }
51 inline void SetAuthenticationStrategy(AuthenticationStrategy&& value) { m_authenticationStrategyHasBeenSet = true; m_authenticationStrategy = std::move(value); }
55
57
61 inline const EngineType& GetEngineType() const{ return m_engineType; }
62 inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; }
63 inline void SetEngineType(const EngineType& value) { m_engineTypeHasBeenSet = true; m_engineType = value; }
64 inline void SetEngineType(EngineType&& value) { m_engineTypeHasBeenSet = true; m_engineType = std::move(value); }
65 inline CreateConfigurationRequest& WithEngineType(const EngineType& value) { SetEngineType(value); return *this;}
66 inline CreateConfigurationRequest& WithEngineType(EngineType&& value) { SetEngineType(std::move(value)); return *this;}
68
70
78 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
79 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
80 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
81 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
82 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
83 inline CreateConfigurationRequest& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
84 inline CreateConfigurationRequest& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
85 inline CreateConfigurationRequest& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
87
89
94 inline const Aws::String& GetName() const{ return m_name; }
95 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
96 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
97 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
98 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
99 inline CreateConfigurationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
100 inline CreateConfigurationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
101 inline CreateConfigurationRequest& WithName(const char* value) { SetName(value); return *this;}
103
105
108 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
109 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
110 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
111 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
113 inline CreateConfigurationRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
114 inline CreateConfigurationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
115 inline CreateConfigurationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
116 inline CreateConfigurationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
117 inline CreateConfigurationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
118 inline CreateConfigurationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
119 inline CreateConfigurationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
120 inline CreateConfigurationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
122 private:
123
124 AuthenticationStrategy m_authenticationStrategy;
125 bool m_authenticationStrategyHasBeenSet = false;
126
127 EngineType m_engineType;
128 bool m_engineTypeHasBeenSet = false;
129
130 Aws::String m_engineVersion;
131 bool m_engineVersionHasBeenSet = false;
132
133 Aws::String m_name;
134 bool m_nameHasBeenSet = false;
135
137 bool m_tagsHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace MQ
142} // namespace Aws
CreateConfigurationRequest & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateConfigurationRequest & WithName(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_MQ_API Aws::String SerializePayload() const override
CreateConfigurationRequest & WithEngineVersion(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateConfigurationRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateConfigurationRequest & AddTags(const char *key, const char *value)
const AuthenticationStrategy & GetAuthenticationStrategy() const
CreateConfigurationRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateConfigurationRequest & WithEngineType(const EngineType &value)
CreateConfigurationRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateConfigurationRequest & AddTags(const char *key, Aws::String &&value)
CreateConfigurationRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateConfigurationRequest & AddTags(Aws::String &&key, const char *value)
CreateConfigurationRequest & WithEngineVersion(Aws::String &&value)
CreateConfigurationRequest & WithEngineVersion(const char *value)
CreateConfigurationRequest & WithName(const char *value)
CreateConfigurationRequest & WithEngineType(EngineType &&value)
CreateConfigurationRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetAuthenticationStrategy(AuthenticationStrategy &&value)
void SetAuthenticationStrategy(const AuthenticationStrategy &value)
CreateConfigurationRequest & WithAuthenticationStrategy(const AuthenticationStrategy &value)
CreateConfigurationRequest & WithAuthenticationStrategy(AuthenticationStrategy &&value)
CreateConfigurationRequest & WithName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
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