AWS SDK for C++

AWS SDK for C++ Version 1.11.852

Loading...
Searching...
No Matches
CreateInstrumentationConfigurationResult.h
1
6#pragma once
7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/CaptureConfiguration.h>
9#include <aws/application-signals/model/DynamicInstrumentationSignalType.h>
10#include <aws/application-signals/model/InstrumentationType.h>
11#include <aws/application-signals/model/Location.h>
12#include <aws/core/http/HttpResponse.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace ApplicationSignals {
30namespace Model {
32 public:
33 AWS_APPLICATIONSIGNALS_API CreateInstrumentationConfigurationResult() = default;
34 AWS_APPLICATIONSIGNALS_API CreateInstrumentationConfigurationResult(
38
40
43 inline InstrumentationType GetInstrumentationType() const { return m_instrumentationType; }
45 m_instrumentationTypeHasBeenSet = true;
46 m_instrumentationType = value;
47 }
50 return *this;
51 }
53
55
59 inline const Aws::String& GetService() const { return m_service; }
60 template <typename ServiceT = Aws::String>
61 void SetService(ServiceT&& value) {
62 m_serviceHasBeenSet = true;
63 m_service = std::forward<ServiceT>(value);
64 }
65 template <typename ServiceT = Aws::String>
67 SetService(std::forward<ServiceT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetEnvironment() const { return m_environment; }
78 template <typename EnvironmentT = Aws::String>
79 void SetEnvironment(EnvironmentT&& value) {
80 m_environmentHasBeenSet = true;
81 m_environment = std::forward<EnvironmentT>(value);
82 }
83 template <typename EnvironmentT = Aws::String>
85 SetEnvironment(std::forward<EnvironmentT>(value));
86 return *this;
87 }
89
91
95 inline DynamicInstrumentationSignalType GetSignalType() const { return m_signalType; }
97 m_signalTypeHasBeenSet = true;
98 m_signalType = value;
99 }
101 SetSignalType(value);
102 return *this;
103 }
105
107
110 inline const Location& GetLocation() const { return m_location; }
111 template <typename LocationT = Location>
112 void SetLocation(LocationT&& value) {
113 m_locationHasBeenSet = true;
114 m_location = std::forward<LocationT>(value);
115 }
116 template <typename LocationT = Location>
118 SetLocation(std::forward<LocationT>(value));
119 return *this;
120 }
122
124
128 inline const Aws::String& GetLocationHash() const { return m_locationHash; }
129 template <typename LocationHashT = Aws::String>
130 void SetLocationHash(LocationHashT&& value) {
131 m_locationHashHasBeenSet = true;
132 m_locationHash = std::forward<LocationHashT>(value);
133 }
134 template <typename LocationHashT = Aws::String>
136 SetLocationHash(std::forward<LocationHashT>(value));
137 return *this;
138 }
140
142
146 inline const Aws::String& GetDescription() const { return m_description; }
147 template <typename DescriptionT = Aws::String>
148 void SetDescription(DescriptionT&& value) {
149 m_descriptionHasBeenSet = true;
150 m_description = std::forward<DescriptionT>(value);
151 }
152 template <typename DescriptionT = Aws::String>
154 SetDescription(std::forward<DescriptionT>(value));
155 return *this;
156 }
158
160
165 inline const Aws::Utils::DateTime& GetExpiresAt() const { return m_expiresAt; }
166 template <typename ExpiresAtT = Aws::Utils::DateTime>
167 void SetExpiresAt(ExpiresAtT&& value) {
168 m_expiresAtHasBeenSet = true;
169 m_expiresAt = std::forward<ExpiresAtT>(value);
170 }
171 template <typename ExpiresAtT = Aws::Utils::DateTime>
173 SetExpiresAt(std::forward<ExpiresAtT>(value));
174 return *this;
175 }
177
179
183 inline const Aws::Vector<Aws::Map<Aws::String, Aws::String>>& GetAttributeFilters() const { return m_attributeFilters; }
184 template <typename AttributeFiltersT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
185 void SetAttributeFilters(AttributeFiltersT&& value) {
186 m_attributeFiltersHasBeenSet = true;
187 m_attributeFilters = std::forward<AttributeFiltersT>(value);
188 }
189 template <typename AttributeFiltersT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
191 SetAttributeFilters(std::forward<AttributeFiltersT>(value));
192 return *this;
193 }
194 template <typename AttributeFiltersT = Aws::Map<Aws::String, Aws::String>>
196 m_attributeFiltersHasBeenSet = true;
197 m_attributeFilters.emplace_back(std::forward<AttributeFiltersT>(value));
198 return *this;
199 }
201
203
207 inline const CaptureConfiguration& GetCaptureConfiguration() const { return m_captureConfiguration; }
208 template <typename CaptureConfigurationT = CaptureConfiguration>
209 void SetCaptureConfiguration(CaptureConfigurationT&& value) {
210 m_captureConfigurationHasBeenSet = true;
211 m_captureConfiguration = std::forward<CaptureConfigurationT>(value);
212 }
213 template <typename CaptureConfigurationT = CaptureConfiguration>
215 SetCaptureConfiguration(std::forward<CaptureConfigurationT>(value));
216 return *this;
217 }
219
221
225 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
226 template <typename CreatedAtT = Aws::Utils::DateTime>
227 void SetCreatedAt(CreatedAtT&& value) {
228 m_createdAtHasBeenSet = true;
229 m_createdAt = std::forward<CreatedAtT>(value);
230 }
231 template <typename CreatedAtT = Aws::Utils::DateTime>
233 SetCreatedAt(std::forward<CreatedAtT>(value));
234 return *this;
235 }
237
239
242 inline const Aws::String& GetARN() const { return m_aRN; }
243 template <typename ARNT = Aws::String>
244 void SetARN(ARNT&& value) {
245 m_aRNHasBeenSet = true;
246 m_aRN = std::forward<ARNT>(value);
247 }
248 template <typename ARNT = Aws::String>
250 SetARN(std::forward<ARNT>(value));
251 return *this;
252 }
254
256
257 inline const Aws::String& GetRequestId() const { return m_requestId; }
258 template <typename RequestIdT = Aws::String>
259 void SetRequestId(RequestIdT&& value) {
260 m_requestIdHasBeenSet = true;
261 m_requestId = std::forward<RequestIdT>(value);
262 }
263 template <typename RequestIdT = Aws::String>
265 SetRequestId(std::forward<RequestIdT>(value));
266 return *this;
267 }
269 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
270
271 private:
273
274 Aws::String m_service;
275
276 Aws::String m_environment;
277
279
280 Location m_location;
281
282 Aws::String m_locationHash;
283
284 Aws::String m_description;
285
286 Aws::Utils::DateTime m_expiresAt{};
287
289
290 CaptureConfiguration m_captureConfiguration;
291
292 Aws::Utils::DateTime m_createdAt{};
293
294 Aws::String m_aRN;
295
296 Aws::String m_requestId;
297 Aws::Http::HttpResponseCode m_HttpResponseCode;
298 bool m_instrumentationTypeHasBeenSet = false;
299 bool m_serviceHasBeenSet = false;
300 bool m_environmentHasBeenSet = false;
301 bool m_signalTypeHasBeenSet = false;
302 bool m_locationHasBeenSet = false;
303 bool m_locationHashHasBeenSet = false;
304 bool m_descriptionHasBeenSet = false;
305 bool m_expiresAtHasBeenSet = false;
306 bool m_attributeFiltersHasBeenSet = false;
307 bool m_captureConfigurationHasBeenSet = false;
308 bool m_createdAtHasBeenSet = false;
309 bool m_aRNHasBeenSet = false;
310 bool m_requestIdHasBeenSet = false;
311};
312
313} // namespace Model
314} // namespace ApplicationSignals
315} // namespace Aws
const Aws::Vector< Aws::Map< Aws::String, Aws::String > > & GetAttributeFilters() const
CreateInstrumentationConfigurationResult & WithEnvironment(EnvironmentT &&value)
AWS_APPLICATIONSIGNALS_API CreateInstrumentationConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateInstrumentationConfigurationResult & WithLocationHash(LocationHashT &&value)
AWS_APPLICATIONSIGNALS_API CreateInstrumentationConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateInstrumentationConfigurationResult & WithAttributeFilters(AttributeFiltersT &&value)
AWS_APPLICATIONSIGNALS_API CreateInstrumentationConfigurationResult()=default
CreateInstrumentationConfigurationResult & WithSignalType(DynamicInstrumentationSignalType value)
CreateInstrumentationConfigurationResult & AddAttributeFilters(AttributeFiltersT &&value)
CreateInstrumentationConfigurationResult & WithInstrumentationType(InstrumentationType value)
CreateInstrumentationConfigurationResult & WithCaptureConfiguration(CaptureConfigurationT &&value)
CreateInstrumentationConfigurationResult & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue