AWS SDK for C++

AWS SDK for C++ Version 1.11.931

Loading...
Searching...
No Matches
GetLinkRoutingRuleResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/rtbfabric/RTBFabric_EXPORTS.h>
12#include <aws/rtbfabric/model/RuleCondition.h>
13#include <aws/rtbfabric/model/RuleStatus.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace RTBFabric {
27namespace Model {
29 public:
30 AWS_RTBFABRIC_API GetLinkRoutingRuleResult() = default;
33
35
38 inline const Aws::String& GetGatewayId() const { return m_gatewayId; }
39 template <typename GatewayIdT = Aws::String>
40 void SetGatewayId(GatewayIdT&& value) {
41 m_gatewayIdHasBeenSet = true;
42 m_gatewayId = std::forward<GatewayIdT>(value);
43 }
44 template <typename GatewayIdT = Aws::String>
46 SetGatewayId(std::forward<GatewayIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetLinkId() const { return m_linkId; }
56 template <typename LinkIdT = Aws::String>
57 void SetLinkId(LinkIdT&& value) {
58 m_linkIdHasBeenSet = true;
59 m_linkId = std::forward<LinkIdT>(value);
60 }
61 template <typename LinkIdT = Aws::String>
63 SetLinkId(std::forward<LinkIdT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetRuleId() const { return m_ruleId; }
73 template <typename RuleIdT = Aws::String>
74 void SetRuleId(RuleIdT&& value) {
75 m_ruleIdHasBeenSet = true;
76 m_ruleId = std::forward<RuleIdT>(value);
77 }
78 template <typename RuleIdT = Aws::String>
80 SetRuleId(std::forward<RuleIdT>(value));
81 return *this;
82 }
84
86
89 inline int GetPriority() const { return m_priority; }
90 inline void SetPriority(int value) {
91 m_priorityHasBeenSet = true;
92 m_priority = value;
93 }
95 SetPriority(value);
96 return *this;
97 }
99
101
104 inline const RuleCondition& GetConditions() const { return m_conditions; }
105 template <typename ConditionsT = RuleCondition>
106 void SetConditions(ConditionsT&& value) {
107 m_conditionsHasBeenSet = true;
108 m_conditions = std::forward<ConditionsT>(value);
109 }
110 template <typename ConditionsT = RuleCondition>
112 SetConditions(std::forward<ConditionsT>(value));
113 return *this;
114 }
116
118
121 inline RuleStatus GetStatus() const { return m_status; }
122 inline void SetStatus(RuleStatus value) {
123 m_statusHasBeenSet = true;
124 m_status = value;
125 }
127 SetStatus(value);
128 return *this;
129 }
131
133
136 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
137 template <typename CreatedAtT = Aws::Utils::DateTime>
138 void SetCreatedAt(CreatedAtT&& value) {
139 m_createdAtHasBeenSet = true;
140 m_createdAt = std::forward<CreatedAtT>(value);
141 }
142 template <typename CreatedAtT = Aws::Utils::DateTime>
144 SetCreatedAt(std::forward<CreatedAtT>(value));
145 return *this;
146 }
148
150
153 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
154 template <typename UpdatedAtT = Aws::Utils::DateTime>
155 void SetUpdatedAt(UpdatedAtT&& value) {
156 m_updatedAtHasBeenSet = true;
157 m_updatedAt = std::forward<UpdatedAtT>(value);
158 }
159 template <typename UpdatedAtT = Aws::Utils::DateTime>
161 SetUpdatedAt(std::forward<UpdatedAtT>(value));
162 return *this;
163 }
165
167
171 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
172 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
173 void SetTags(TagsT&& value) {
174 m_tagsHasBeenSet = true;
175 m_tags = std::forward<TagsT>(value);
176 }
177 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
179 SetTags(std::forward<TagsT>(value));
180 return *this;
181 }
182 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
183 GetLinkRoutingRuleResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
184 m_tagsHasBeenSet = true;
185 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
186 return *this;
187 }
189
191
192 inline const Aws::String& GetRequestId() const { return m_requestId; }
193 template <typename RequestIdT = Aws::String>
194 void SetRequestId(RequestIdT&& value) {
195 m_requestIdHasBeenSet = true;
196 m_requestId = std::forward<RequestIdT>(value);
197 }
198 template <typename RequestIdT = Aws::String>
200 SetRequestId(std::forward<RequestIdT>(value));
201 return *this;
202 }
204 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
205
206 private:
207 Aws::String m_gatewayId;
208
209 Aws::String m_linkId;
210
211 Aws::String m_ruleId;
212
213 int m_priority{0};
214
215 RuleCondition m_conditions;
216
218
219 Aws::Utils::DateTime m_createdAt{};
220
221 Aws::Utils::DateTime m_updatedAt{};
222
224
225 Aws::String m_requestId;
226 Aws::Http::HttpResponseCode m_HttpResponseCode;
227 bool m_gatewayIdHasBeenSet = false;
228 bool m_linkIdHasBeenSet = false;
229 bool m_ruleIdHasBeenSet = false;
230 bool m_priorityHasBeenSet = false;
231 bool m_conditionsHasBeenSet = false;
232 bool m_statusHasBeenSet = false;
233 bool m_createdAtHasBeenSet = false;
234 bool m_updatedAtHasBeenSet = false;
235 bool m_tagsHasBeenSet = false;
236 bool m_requestIdHasBeenSet = false;
237};
238
239} // namespace Model
240} // namespace RTBFabric
241} // 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
Aws::Utils::Json::JsonValue JsonValue