AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateExtensionResult.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/appconfig/model/ActionPoint.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/appconfig/model/Parameter.h>
13#include <aws/appconfig/model/Action.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace AppConfig
29{
30namespace Model
31{
33 {
34 public:
35 AWS_APPCONFIG_API CreateExtensionResult();
38
39
41
44 inline const Aws::String& GetId() const{ return m_id; }
45 inline void SetId(const Aws::String& value) { m_id = value; }
46 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
47 inline void SetId(const char* value) { m_id.assign(value); }
48 inline CreateExtensionResult& WithId(const Aws::String& value) { SetId(value); return *this;}
49 inline CreateExtensionResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
50 inline CreateExtensionResult& WithId(const char* value) { SetId(value); return *this;}
52
54
57 inline const Aws::String& GetName() const{ return m_name; }
58 inline void SetName(const Aws::String& value) { m_name = value; }
59 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
60 inline void SetName(const char* value) { m_name.assign(value); }
61 inline CreateExtensionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline CreateExtensionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline CreateExtensionResult& WithName(const char* value) { SetName(value); return *this;}
65
67
70 inline int GetVersionNumber() const{ return m_versionNumber; }
71 inline void SetVersionNumber(int value) { m_versionNumber = value; }
72 inline CreateExtensionResult& WithVersionNumber(int value) { SetVersionNumber(value); return *this;}
74
76
79 inline const Aws::String& GetArn() const{ return m_arn; }
80 inline void SetArn(const Aws::String& value) { m_arn = value; }
81 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
82 inline void SetArn(const char* value) { m_arn.assign(value); }
83 inline CreateExtensionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
84 inline CreateExtensionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
85 inline CreateExtensionResult& WithArn(const char* value) { SetArn(value); return *this;}
87
89
92 inline const Aws::String& GetDescription() const{ return m_description; }
93 inline void SetDescription(const Aws::String& value) { m_description = value; }
94 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
95 inline void SetDescription(const char* value) { m_description.assign(value); }
96 inline CreateExtensionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
97 inline CreateExtensionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
98 inline CreateExtensionResult& WithDescription(const char* value) { SetDescription(value); return *this;}
100
102
105 inline const Aws::Map<ActionPoint, Aws::Vector<Action>>& GetActions() const{ return m_actions; }
106 inline void SetActions(const Aws::Map<ActionPoint, Aws::Vector<Action>>& value) { m_actions = value; }
107 inline void SetActions(Aws::Map<ActionPoint, Aws::Vector<Action>>&& value) { m_actions = std::move(value); }
109 inline CreateExtensionResult& WithActions(Aws::Map<ActionPoint, Aws::Vector<Action>>&& value) { SetActions(std::move(value)); return *this;}
110 inline CreateExtensionResult& AddActions(const ActionPoint& key, const Aws::Vector<Action>& value) { m_actions.emplace(key, value); return *this; }
111 inline CreateExtensionResult& AddActions(ActionPoint&& key, const Aws::Vector<Action>& value) { m_actions.emplace(std::move(key), value); return *this; }
112 inline CreateExtensionResult& AddActions(const ActionPoint& key, Aws::Vector<Action>&& value) { m_actions.emplace(key, std::move(value)); return *this; }
113 inline CreateExtensionResult& AddActions(ActionPoint&& key, Aws::Vector<Action>&& value) { m_actions.emplace(std::move(key), std::move(value)); return *this; }
115
117
123 inline const Aws::Map<Aws::String, Parameter>& GetParameters() const{ return m_parameters; }
124 inline void SetParameters(const Aws::Map<Aws::String, Parameter>& value) { m_parameters = value; }
125 inline void SetParameters(Aws::Map<Aws::String, Parameter>&& value) { m_parameters = std::move(value); }
127 inline CreateExtensionResult& WithParameters(Aws::Map<Aws::String, Parameter>&& value) { SetParameters(std::move(value)); return *this;}
128 inline CreateExtensionResult& AddParameters(const Aws::String& key, const Parameter& value) { m_parameters.emplace(key, value); return *this; }
129 inline CreateExtensionResult& AddParameters(Aws::String&& key, const Parameter& value) { m_parameters.emplace(std::move(key), value); return *this; }
130 inline CreateExtensionResult& AddParameters(const Aws::String& key, Parameter&& value) { m_parameters.emplace(key, std::move(value)); return *this; }
131 inline CreateExtensionResult& AddParameters(Aws::String&& key, Parameter&& value) { m_parameters.emplace(std::move(key), std::move(value)); return *this; }
132 inline CreateExtensionResult& AddParameters(const char* key, Parameter&& value) { m_parameters.emplace(key, std::move(value)); return *this; }
133 inline CreateExtensionResult& AddParameters(const char* key, const Parameter& value) { m_parameters.emplace(key, value); return *this; }
135
137
138 inline const Aws::String& GetRequestId() const{ return m_requestId; }
139 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
140 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
141 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
142 inline CreateExtensionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
143 inline CreateExtensionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
144 inline CreateExtensionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
146 private:
147
148 Aws::String m_id;
149
150 Aws::String m_name;
151
152 int m_versionNumber;
153
154 Aws::String m_arn;
155
156 Aws::String m_description;
157
159
161
162 Aws::String m_requestId;
163 };
164
165} // namespace Model
166} // namespace AppConfig
167} // namespace Aws
CreateExtensionResult & AddActions(ActionPoint &&key, Aws::Vector< Action > &&value)
CreateExtensionResult & AddParameters(const Aws::String &key, const Parameter &value)
CreateExtensionResult & WithName(const char *value)
CreateExtensionResult & WithId(const char *value)
CreateExtensionResult & WithDescription(const char *value)
CreateExtensionResult & WithId(const Aws::String &value)
CreateExtensionResult & WithParameters(Aws::Map< Aws::String, Parameter > &&value)
void SetParameters(Aws::Map< Aws::String, Parameter > &&value)
CreateExtensionResult & AddParameters(const Aws::String &key, Parameter &&value)
void SetActions(Aws::Map< ActionPoint, Aws::Vector< Action > > &&value)
CreateExtensionResult & AddActions(const ActionPoint &key, const Aws::Vector< Action > &value)
CreateExtensionResult & WithRequestId(const Aws::String &value)
AWS_APPCONFIG_API CreateExtensionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateExtensionResult & WithArn(const Aws::String &value)
CreateExtensionResult & AddParameters(Aws::String &&key, Parameter &&value)
const Aws::Map< Aws::String, Parameter > & GetParameters() const
CreateExtensionResult & AddParameters(const char *key, Parameter &&value)
CreateExtensionResult & WithActions(Aws::Map< ActionPoint, Aws::Vector< Action > > &&value)
CreateExtensionResult & WithDescription(const Aws::String &value)
CreateExtensionResult & WithId(Aws::String &&value)
CreateExtensionResult & WithActions(const Aws::Map< ActionPoint, Aws::Vector< Action > > &value)
CreateExtensionResult & AddParameters(Aws::String &&key, const Parameter &value)
const Aws::Map< ActionPoint, Aws::Vector< Action > > & GetActions() const
void SetActions(const Aws::Map< ActionPoint, Aws::Vector< Action > > &value)
CreateExtensionResult & WithArn(Aws::String &&value)
AWS_APPCONFIG_API CreateExtensionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateExtensionResult & WithName(const Aws::String &value)
CreateExtensionResult & AddParameters(const char *key, const Parameter &value)
CreateExtensionResult & WithName(Aws::String &&value)
CreateExtensionResult & AddActions(ActionPoint &&key, const Aws::Vector< Action > &value)
CreateExtensionResult & WithVersionNumber(int value)
CreateExtensionResult & WithDescription(Aws::String &&value)
CreateExtensionResult & WithArn(const char *value)
CreateExtensionResult & WithRequestId(Aws::String &&value)
CreateExtensionResult & WithRequestId(const char *value)
CreateExtensionResult & WithParameters(const Aws::Map< Aws::String, Parameter > &value)
CreateExtensionResult & AddActions(const ActionPoint &key, Aws::Vector< Action > &&value)
void SetParameters(const Aws::Map< Aws::String, Parameter > &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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue