AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateExtensionAssociationResult.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 <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace AppConfig
25{
26namespace Model
27{
29 {
30 public:
34
35
37
40 inline const Aws::String& GetId() const{ return m_id; }
41 inline void SetId(const Aws::String& value) { m_id = value; }
42 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
43 inline void SetId(const char* value) { m_id.assign(value); }
44 inline UpdateExtensionAssociationResult& WithId(const Aws::String& value) { SetId(value); return *this;}
45 inline UpdateExtensionAssociationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
46 inline UpdateExtensionAssociationResult& WithId(const char* value) { SetId(value); return *this;}
48
50
53 inline const Aws::String& GetExtensionArn() const{ return m_extensionArn; }
54 inline void SetExtensionArn(const Aws::String& value) { m_extensionArn = value; }
55 inline void SetExtensionArn(Aws::String&& value) { m_extensionArn = std::move(value); }
56 inline void SetExtensionArn(const char* value) { m_extensionArn.assign(value); }
58 inline UpdateExtensionAssociationResult& WithExtensionArn(Aws::String&& value) { SetExtensionArn(std::move(value)); return *this;}
59 inline UpdateExtensionAssociationResult& WithExtensionArn(const char* value) { SetExtensionArn(value); return *this;}
61
63
67 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
68 inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; }
69 inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); }
70 inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); }
71 inline UpdateExtensionAssociationResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
72 inline UpdateExtensionAssociationResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
73 inline UpdateExtensionAssociationResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
75
77
80 inline const Aws::String& GetArn() const{ return m_arn; }
81 inline void SetArn(const Aws::String& value) { m_arn = value; }
82 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
83 inline void SetArn(const char* value) { m_arn.assign(value); }
84 inline UpdateExtensionAssociationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
85 inline UpdateExtensionAssociationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
86 inline UpdateExtensionAssociationResult& WithArn(const char* value) { SetArn(value); return *this;}
88
90
93 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const{ return m_parameters; }
94 inline void SetParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_parameters = value; }
95 inline void SetParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_parameters = std::move(value); }
98 inline UpdateExtensionAssociationResult& AddParameters(const Aws::String& key, const Aws::String& value) { m_parameters.emplace(key, value); return *this; }
99 inline UpdateExtensionAssociationResult& AddParameters(Aws::String&& key, const Aws::String& value) { m_parameters.emplace(std::move(key), value); return *this; }
100 inline UpdateExtensionAssociationResult& AddParameters(const Aws::String& key, Aws::String&& value) { m_parameters.emplace(key, std::move(value)); return *this; }
101 inline UpdateExtensionAssociationResult& AddParameters(Aws::String&& key, Aws::String&& value) { m_parameters.emplace(std::move(key), std::move(value)); return *this; }
102 inline UpdateExtensionAssociationResult& AddParameters(const char* key, Aws::String&& value) { m_parameters.emplace(key, std::move(value)); return *this; }
103 inline UpdateExtensionAssociationResult& AddParameters(Aws::String&& key, const char* value) { m_parameters.emplace(std::move(key), value); return *this; }
104 inline UpdateExtensionAssociationResult& AddParameters(const char* key, const char* value) { m_parameters.emplace(key, value); return *this; }
106
108
111 inline int GetExtensionVersionNumber() const{ return m_extensionVersionNumber; }
112 inline void SetExtensionVersionNumber(int value) { m_extensionVersionNumber = value; }
115
117
118 inline const Aws::String& GetRequestId() const{ return m_requestId; }
119 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
120 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
121 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
122 inline UpdateExtensionAssociationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
123 inline UpdateExtensionAssociationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
124 inline UpdateExtensionAssociationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
126 private:
127
128 Aws::String m_id;
129
130 Aws::String m_extensionArn;
131
132 Aws::String m_resourceArn;
133
134 Aws::String m_arn;
135
137
138 int m_extensionVersionNumber;
139
140 Aws::String m_requestId;
141 };
142
143} // namespace Model
144} // namespace AppConfig
145} // namespace Aws
UpdateExtensionAssociationResult & WithRequestId(const char *value)
UpdateExtensionAssociationResult & WithRequestId(Aws::String &&value)
UpdateExtensionAssociationResult & AddParameters(Aws::String &&key, const Aws::String &value)
UpdateExtensionAssociationResult & WithId(const Aws::String &value)
UpdateExtensionAssociationResult & WithExtensionVersionNumber(int value)
UpdateExtensionAssociationResult & WithResourceArn(const Aws::String &value)
UpdateExtensionAssociationResult & WithExtensionArn(const char *value)
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
AWS_APPCONFIG_API UpdateExtensionAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateExtensionAssociationResult & WithId(Aws::String &&value)
UpdateExtensionAssociationResult & WithArn(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
UpdateExtensionAssociationResult & WithId(const char *value)
UpdateExtensionAssociationResult & WithResourceArn(Aws::String &&value)
UpdateExtensionAssociationResult & AddParameters(Aws::String &&key, const char *value)
UpdateExtensionAssociationResult & WithArn(const char *value)
UpdateExtensionAssociationResult & AddParameters(Aws::String &&key, Aws::String &&value)
UpdateExtensionAssociationResult & AddParameters(const Aws::String &key, const Aws::String &value)
UpdateExtensionAssociationResult & WithExtensionArn(Aws::String &&value)
UpdateExtensionAssociationResult & AddParameters(const char *key, const char *value)
AWS_APPCONFIG_API UpdateExtensionAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateExtensionAssociationResult & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
UpdateExtensionAssociationResult & AddParameters(const Aws::String &key, Aws::String &&value)
UpdateExtensionAssociationResult & WithExtensionArn(const Aws::String &value)
UpdateExtensionAssociationResult & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
UpdateExtensionAssociationResult & WithRequestId(const Aws::String &value)
UpdateExtensionAssociationResult & WithArn(const Aws::String &value)
UpdateExtensionAssociationResult & AddParameters(const char *key, Aws::String &&value)
UpdateExtensionAssociationResult & WithResourceArn(const char *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
Aws::Utils::Json::JsonValue JsonValue