AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetExtensionAssociationResult.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:
31 AWS_APPCONFIG_API GetExtensionAssociationResult();
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 GetExtensionAssociationResult& WithId(const Aws::String& value) { SetId(value); return *this;}
45 inline GetExtensionAssociationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
46 inline GetExtensionAssociationResult& 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); }
57 inline GetExtensionAssociationResult& WithExtensionArn(const Aws::String& value) { SetExtensionArn(value); return *this;}
58 inline GetExtensionAssociationResult& WithExtensionArn(Aws::String&& value) { SetExtensionArn(std::move(value)); return *this;}
59 inline GetExtensionAssociationResult& 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 GetExtensionAssociationResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
72 inline GetExtensionAssociationResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
73 inline GetExtensionAssociationResult& 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 GetExtensionAssociationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
85 inline GetExtensionAssociationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
86 inline GetExtensionAssociationResult& 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 GetExtensionAssociationResult& AddParameters(const Aws::String& key, const Aws::String& value) { m_parameters.emplace(key, value); return *this; }
99 inline GetExtensionAssociationResult& AddParameters(Aws::String&& key, const Aws::String& value) { m_parameters.emplace(std::move(key), value); return *this; }
100 inline GetExtensionAssociationResult& AddParameters(const Aws::String& key, Aws::String&& value) { m_parameters.emplace(key, std::move(value)); return *this; }
101 inline GetExtensionAssociationResult& AddParameters(Aws::String&& key, Aws::String&& value) { m_parameters.emplace(std::move(key), std::move(value)); return *this; }
102 inline GetExtensionAssociationResult& AddParameters(const char* key, Aws::String&& value) { m_parameters.emplace(key, std::move(value)); return *this; }
103 inline GetExtensionAssociationResult& AddParameters(Aws::String&& key, const char* value) { m_parameters.emplace(std::move(key), value); return *this; }
104 inline GetExtensionAssociationResult& 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 GetExtensionAssociationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
123 inline GetExtensionAssociationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
124 inline GetExtensionAssociationResult& 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
GetExtensionAssociationResult & WithArn(const char *value)
GetExtensionAssociationResult & WithExtensionVersionNumber(int value)
GetExtensionAssociationResult & WithRequestId(Aws::String &&value)
GetExtensionAssociationResult & WithExtensionArn(const Aws::String &value)
GetExtensionAssociationResult & AddParameters(Aws::String &&key, Aws::String &&value)
AWS_APPCONFIG_API GetExtensionAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetExtensionAssociationResult & AddParameters(Aws::String &&key, const char *value)
GetExtensionAssociationResult & WithRequestId(const char *value)
GetExtensionAssociationResult & WithResourceArn(Aws::String &&value)
GetExtensionAssociationResult & WithId(const Aws::String &value)
GetExtensionAssociationResult & WithId(const char *value)
GetExtensionAssociationResult & AddParameters(const Aws::String &key, Aws::String &&value)
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
GetExtensionAssociationResult & WithRequestId(const Aws::String &value)
GetExtensionAssociationResult & WithArn(Aws::String &&value)
GetExtensionAssociationResult & AddParameters(const char *key, const char *value)
AWS_APPCONFIG_API GetExtensionAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetExtensionAssociationResult & AddParameters(Aws::String &&key, const Aws::String &value)
GetExtensionAssociationResult & WithResourceArn(const Aws::String &value)
GetExtensionAssociationResult & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
GetExtensionAssociationResult & WithResourceArn(const char *value)
GetExtensionAssociationResult & WithExtensionArn(const char *value)
GetExtensionAssociationResult & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
GetExtensionAssociationResult & AddParameters(const char *key, Aws::String &&value)
GetExtensionAssociationResult & AddParameters(const Aws::String &key, const Aws::String &value)
GetExtensionAssociationResult & WithId(Aws::String &&value)
GetExtensionAssociationResult & WithExtensionArn(Aws::String &&value)
GetExtensionAssociationResult & WithArn(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
void SetParameters(Aws::Map< Aws::String, Aws::String > &&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