AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateLinkResult.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 CreateLinkResult();
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 CreateLinkResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
47 inline CreateLinkResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
48 inline CreateLinkResult& 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 CreateLinkResult& WithId(const Aws::String& value) { SetId(value); return *this;}
61 inline CreateLinkResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
62 inline CreateLinkResult& WithId(const char* value) { SetId(value); return *this;}
64
66
71 inline const Aws::String& GetLabel() const{ return m_label; }
72 inline void SetLabel(const Aws::String& value) { m_label = value; }
73 inline void SetLabel(Aws::String&& value) { m_label = std::move(value); }
74 inline void SetLabel(const char* value) { m_label.assign(value); }
75 inline CreateLinkResult& WithLabel(const Aws::String& value) { SetLabel(value); return *this;}
76 inline CreateLinkResult& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;}
77 inline CreateLinkResult& WithLabel(const char* value) { SetLabel(value); return *this;}
79
81
85 inline const Aws::String& GetLabelTemplate() const{ return m_labelTemplate; }
86 inline void SetLabelTemplate(const Aws::String& value) { m_labelTemplate = value; }
87 inline void SetLabelTemplate(Aws::String&& value) { m_labelTemplate = std::move(value); }
88 inline void SetLabelTemplate(const char* value) { m_labelTemplate.assign(value); }
89 inline CreateLinkResult& WithLabelTemplate(const Aws::String& value) { SetLabelTemplate(value); return *this;}
90 inline CreateLinkResult& WithLabelTemplate(Aws::String&& value) { SetLabelTemplate(std::move(value)); return *this;}
91 inline CreateLinkResult& WithLabelTemplate(const char* value) { SetLabelTemplate(value); return *this;}
93
95
100 inline const LinkConfiguration& GetLinkConfiguration() const{ return m_linkConfiguration; }
101 inline void SetLinkConfiguration(const LinkConfiguration& value) { m_linkConfiguration = value; }
102 inline void SetLinkConfiguration(LinkConfiguration&& value) { m_linkConfiguration = std::move(value); }
104 inline CreateLinkResult& WithLinkConfiguration(LinkConfiguration&& value) { SetLinkConfiguration(std::move(value)); return *this;}
106
108
111 inline const Aws::Vector<Aws::String>& GetResourceTypes() const{ return m_resourceTypes; }
112 inline void SetResourceTypes(const Aws::Vector<Aws::String>& value) { m_resourceTypes = value; }
113 inline void SetResourceTypes(Aws::Vector<Aws::String>&& value) { m_resourceTypes = std::move(value); }
115 inline CreateLinkResult& WithResourceTypes(Aws::Vector<Aws::String>&& value) { SetResourceTypes(std::move(value)); return *this;}
116 inline CreateLinkResult& AddResourceTypes(const Aws::String& value) { m_resourceTypes.push_back(value); return *this; }
117 inline CreateLinkResult& AddResourceTypes(Aws::String&& value) { m_resourceTypes.push_back(std::move(value)); return *this; }
118 inline CreateLinkResult& AddResourceTypes(const char* value) { m_resourceTypes.push_back(value); return *this; }
120
122
125 inline const Aws::String& GetSinkArn() const{ return m_sinkArn; }
126 inline void SetSinkArn(const Aws::String& value) { m_sinkArn = value; }
127 inline void SetSinkArn(Aws::String&& value) { m_sinkArn = std::move(value); }
128 inline void SetSinkArn(const char* value) { m_sinkArn.assign(value); }
129 inline CreateLinkResult& WithSinkArn(const Aws::String& value) { SetSinkArn(value); return *this;}
130 inline CreateLinkResult& WithSinkArn(Aws::String&& value) { SetSinkArn(std::move(value)); return *this;}
131 inline CreateLinkResult& WithSinkArn(const char* value) { SetSinkArn(value); return *this;}
133
135
138 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
139 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
140 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
141 inline CreateLinkResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
142 inline CreateLinkResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
143 inline CreateLinkResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
144 inline CreateLinkResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
145 inline CreateLinkResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
146 inline CreateLinkResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
147 inline CreateLinkResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
148 inline CreateLinkResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
149 inline CreateLinkResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
151
153
154 inline const Aws::String& GetRequestId() const{ return m_requestId; }
155 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
156 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
157 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
158 inline CreateLinkResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
159 inline CreateLinkResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
160 inline CreateLinkResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
162 private:
163
164 Aws::String m_arn;
165
166 Aws::String m_id;
167
168 Aws::String m_label;
169
170 Aws::String m_labelTemplate;
171
172 LinkConfiguration m_linkConfiguration;
173
174 Aws::Vector<Aws::String> m_resourceTypes;
175
176 Aws::String m_sinkArn;
177
179
180 Aws::String m_requestId;
181 };
182
183} // namespace Model
184} // namespace OAM
185} // 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