AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetLinkResult.h
1
6#pragma once
7#include <aws/oam/OAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/oam/model/LinkConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace OAM
27{
28namespace Model
29{
31 {
32 public:
33 AWS_OAM_API GetLinkResult();
36
37
39
42 inline const Aws::String& GetArn() const{ return m_arn; }
43 inline void SetArn(const Aws::String& value) { m_arn = value; }
44 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
45 inline void SetArn(const char* value) { m_arn.assign(value); }
46 inline GetLinkResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
47 inline GetLinkResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
48 inline GetLinkResult& WithArn(const char* value) { SetArn(value); return *this;}
50
52
56 inline const Aws::String& GetId() const{ return m_id; }
57 inline void SetId(const Aws::String& value) { m_id = value; }
58 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
59 inline void SetId(const char* value) { m_id.assign(value); }
60 inline GetLinkResult& WithId(const Aws::String& value) { SetId(value); return *this;}
61 inline GetLinkResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
62 inline GetLinkResult& WithId(const char* value) { SetId(value); return *this;}
64
66
70 inline const Aws::String& GetLabel() const{ return m_label; }
71 inline void SetLabel(const Aws::String& value) { m_label = value; }
72 inline void SetLabel(Aws::String&& value) { m_label = std::move(value); }
73 inline void SetLabel(const char* value) { m_label.assign(value); }
74 inline GetLinkResult& WithLabel(const Aws::String& value) { SetLabel(value); return *this;}
75 inline GetLinkResult& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;}
76 inline GetLinkResult& WithLabel(const char* value) { SetLabel(value); return *this;}
78
80
84 inline const Aws::String& GetLabelTemplate() const{ return m_labelTemplate; }
85 inline void SetLabelTemplate(const Aws::String& value) { m_labelTemplate = value; }
86 inline void SetLabelTemplate(Aws::String&& value) { m_labelTemplate = std::move(value); }
87 inline void SetLabelTemplate(const char* value) { m_labelTemplate.assign(value); }
88 inline GetLinkResult& WithLabelTemplate(const Aws::String& value) { SetLabelTemplate(value); return *this;}
89 inline GetLinkResult& WithLabelTemplate(Aws::String&& value) { SetLabelTemplate(std::move(value)); return *this;}
90 inline GetLinkResult& WithLabelTemplate(const char* value) { SetLabelTemplate(value); return *this;}
92
94
99 inline const LinkConfiguration& GetLinkConfiguration() const{ return m_linkConfiguration; }
100 inline void SetLinkConfiguration(const LinkConfiguration& value) { m_linkConfiguration = value; }
101 inline void SetLinkConfiguration(LinkConfiguration&& value) { m_linkConfiguration = std::move(value); }
102 inline GetLinkResult& WithLinkConfiguration(const LinkConfiguration& value) { SetLinkConfiguration(value); return *this;}
103 inline GetLinkResult& WithLinkConfiguration(LinkConfiguration&& value) { SetLinkConfiguration(std::move(value)); return *this;}
105
107
110 inline const Aws::Vector<Aws::String>& GetResourceTypes() const{ return m_resourceTypes; }
111 inline void SetResourceTypes(const Aws::Vector<Aws::String>& value) { m_resourceTypes = value; }
112 inline void SetResourceTypes(Aws::Vector<Aws::String>&& value) { m_resourceTypes = std::move(value); }
113 inline GetLinkResult& WithResourceTypes(const Aws::Vector<Aws::String>& value) { SetResourceTypes(value); return *this;}
114 inline GetLinkResult& WithResourceTypes(Aws::Vector<Aws::String>&& value) { SetResourceTypes(std::move(value)); return *this;}
115 inline GetLinkResult& AddResourceTypes(const Aws::String& value) { m_resourceTypes.push_back(value); return *this; }
116 inline GetLinkResult& AddResourceTypes(Aws::String&& value) { m_resourceTypes.push_back(std::move(value)); return *this; }
117 inline GetLinkResult& AddResourceTypes(const char* value) { m_resourceTypes.push_back(value); return *this; }
119
121
124 inline const Aws::String& GetSinkArn() const{ return m_sinkArn; }
125 inline void SetSinkArn(const Aws::String& value) { m_sinkArn = value; }
126 inline void SetSinkArn(Aws::String&& value) { m_sinkArn = std::move(value); }
127 inline void SetSinkArn(const char* value) { m_sinkArn.assign(value); }
128 inline GetLinkResult& WithSinkArn(const Aws::String& value) { SetSinkArn(value); return *this;}
129 inline GetLinkResult& WithSinkArn(Aws::String&& value) { SetSinkArn(std::move(value)); return *this;}
130 inline GetLinkResult& WithSinkArn(const char* value) { SetSinkArn(value); return *this;}
132
134
137 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
138 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
139 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
140 inline GetLinkResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
141 inline GetLinkResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
142 inline GetLinkResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
143 inline GetLinkResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
144 inline GetLinkResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
145 inline GetLinkResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
146 inline GetLinkResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
147 inline GetLinkResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
148 inline GetLinkResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
150
152
153 inline const Aws::String& GetRequestId() const{ return m_requestId; }
154 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
155 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
156 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
157 inline GetLinkResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
158 inline GetLinkResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
159 inline GetLinkResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
161 private:
162
163 Aws::String m_arn;
164
165 Aws::String m_id;
166
167 Aws::String m_label;
168
169 Aws::String m_labelTemplate;
170
171 LinkConfiguration m_linkConfiguration;
172
173 Aws::Vector<Aws::String> m_resourceTypes;
174
175 Aws::String m_sinkArn;
176
178
179 Aws::String m_requestId;
180 };
181
182} // namespace Model
183} // namespace OAM
184} // namespace Aws
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