AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetExtensionResult.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 GetExtensionResult();
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 GetExtensionResult& WithId(const Aws::String& value) { SetId(value); return *this;}
49 inline GetExtensionResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
50 inline GetExtensionResult& 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 GetExtensionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline GetExtensionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline GetExtensionResult& 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 GetExtensionResult& 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 GetExtensionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
84 inline GetExtensionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
85 inline GetExtensionResult& 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 GetExtensionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
97 inline GetExtensionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
98 inline GetExtensionResult& 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); }
108 inline GetExtensionResult& WithActions(const Aws::Map<ActionPoint, Aws::Vector<Action>>& value) { SetActions(value); return *this;}
109 inline GetExtensionResult& WithActions(Aws::Map<ActionPoint, Aws::Vector<Action>>&& value) { SetActions(std::move(value)); return *this;}
110 inline GetExtensionResult& AddActions(const ActionPoint& key, const Aws::Vector<Action>& value) { m_actions.emplace(key, value); return *this; }
111 inline GetExtensionResult& AddActions(ActionPoint&& key, const Aws::Vector<Action>& value) { m_actions.emplace(std::move(key), value); return *this; }
112 inline GetExtensionResult& AddActions(const ActionPoint& key, Aws::Vector<Action>&& value) { m_actions.emplace(key, std::move(value)); return *this; }
113 inline GetExtensionResult& 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 GetExtensionResult& WithParameters(Aws::Map<Aws::String, Parameter>&& value) { SetParameters(std::move(value)); return *this;}
128 inline GetExtensionResult& AddParameters(const Aws::String& key, const Parameter& value) { m_parameters.emplace(key, value); return *this; }
129 inline GetExtensionResult& AddParameters(Aws::String&& key, const Parameter& value) { m_parameters.emplace(std::move(key), value); return *this; }
130 inline GetExtensionResult& AddParameters(const Aws::String& key, Parameter&& value) { m_parameters.emplace(key, std::move(value)); return *this; }
131 inline GetExtensionResult& AddParameters(Aws::String&& key, Parameter&& value) { m_parameters.emplace(std::move(key), std::move(value)); return *this; }
132 inline GetExtensionResult& AddParameters(const char* key, Parameter&& value) { m_parameters.emplace(key, std::move(value)); return *this; }
133 inline GetExtensionResult& 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 GetExtensionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
143 inline GetExtensionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
144 inline GetExtensionResult& 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
GetExtensionResult & WithId(const char *value)
GetExtensionResult & WithDescription(Aws::String &&value)
GetExtensionResult & AddParameters(const char *key, const Parameter &value)
GetExtensionResult & WithArn(Aws::String &&value)
AWS_APPCONFIG_API GetExtensionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetExtensionResult & WithVersionNumber(int value)
GetExtensionResult & WithRequestId(const Aws::String &value)
GetExtensionResult & WithName(const Aws::String &value)
GetExtensionResult & AddActions(const ActionPoint &key, Aws::Vector< Action > &&value)
GetExtensionResult & AddParameters(const Aws::String &key, Parameter &&value)
GetExtensionResult & AddActions(ActionPoint &&key, const Aws::Vector< Action > &value)
void SetName(const Aws::String &value)
GetExtensionResult & WithId(Aws::String &&value)
void SetActions(const Aws::Map< ActionPoint, Aws::Vector< Action > > &value)
GetExtensionResult & WithName(const char *value)
void SetRequestId(const Aws::String &value)
void SetParameters(Aws::Map< Aws::String, Parameter > &&value)
GetExtensionResult & WithActions(Aws::Map< ActionPoint, Aws::Vector< Action > > &&value)
GetExtensionResult & WithName(Aws::String &&value)
void SetArn(const Aws::String &value)
GetExtensionResult & WithRequestId(Aws::String &&value)
GetExtensionResult & WithParameters(const Aws::Map< Aws::String, Parameter > &value)
GetExtensionResult & AddParameters(const char *key, Parameter &&value)
GetExtensionResult & AddParameters(Aws::String &&key, const Parameter &value)
GetExtensionResult & WithDescription(const char *value)
AWS_APPCONFIG_API GetExtensionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetExtensionResult & AddActions(const ActionPoint &key, const Aws::Vector< Action > &value)
void SetActions(Aws::Map< ActionPoint, Aws::Vector< Action > > &&value)
GetExtensionResult & WithDescription(const Aws::String &value)
GetExtensionResult & WithArn(const Aws::String &value)
GetExtensionResult & WithActions(const Aws::Map< ActionPoint, Aws::Vector< Action > > &value)
GetExtensionResult & WithRequestId(const char *value)
GetExtensionResult & WithParameters(Aws::Map< Aws::String, Parameter > &&value)
void SetParameters(const Aws::Map< Aws::String, Parameter > &value)
void SetDescription(const Aws::String &value)
GetExtensionResult & AddParameters(Aws::String &&key, Parameter &&value)
const Aws::Map< ActionPoint, Aws::Vector< Action > > & GetActions() const
const Aws::Map< Aws::String, Parameter > & GetParameters() const
GetExtensionResult & WithId(const Aws::String &value)
GetExtensionResult & WithArn(const char *value)
GetExtensionResult & AddParameters(const Aws::String &key, const Parameter &value)
GetExtensionResult & AddActions(ActionPoint &&key, Aws::Vector< Action > &&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