AWS SDK for C++

AWS SDK for C++ Version 1.11.852

Loading...
Searching...
No Matches
InstrumentationConfigurationWithoutServiceEnv.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/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace ApplicationSignals {
27namespace Model {
28
37 public:
38 AWS_APPLICATIONSIGNALS_API InstrumentationConfigurationWithoutServiceEnv() = default;
41 AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
47 inline InstrumentationType GetInstrumentationType() const { return m_instrumentationType; }
48 inline bool InstrumentationTypeHasBeenSet() const { return m_instrumentationTypeHasBeenSet; }
50 m_instrumentationTypeHasBeenSet = true;
51 m_instrumentationType = value;
52 }
55 return *this;
56 }
58
60
63 inline DynamicInstrumentationSignalType GetSignalType() const { return m_signalType; }
64 inline bool SignalTypeHasBeenSet() const { return m_signalTypeHasBeenSet; }
66 m_signalTypeHasBeenSet = true;
67 m_signalType = value;
68 }
70 SetSignalType(value);
71 return *this;
72 }
74
76
79 inline const Location& GetLocation() const { return m_location; }
80 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
81 template <typename LocationT = Location>
82 void SetLocation(LocationT&& value) {
83 m_locationHasBeenSet = true;
84 m_location = std::forward<LocationT>(value);
85 }
86 template <typename LocationT = Location>
88 SetLocation(std::forward<LocationT>(value));
89 return *this;
90 }
92
94
98 inline const Aws::String& GetLocationHash() const { return m_locationHash; }
99 inline bool LocationHashHasBeenSet() const { return m_locationHashHasBeenSet; }
100 template <typename LocationHashT = Aws::String>
101 void SetLocationHash(LocationHashT&& value) {
102 m_locationHashHasBeenSet = true;
103 m_locationHash = std::forward<LocationHashT>(value);
104 }
105 template <typename LocationHashT = Aws::String>
107 SetLocationHash(std::forward<LocationHashT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::String& GetDescription() const { return m_description; }
117 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
118 template <typename DescriptionT = Aws::String>
119 void SetDescription(DescriptionT&& value) {
120 m_descriptionHasBeenSet = true;
121 m_description = std::forward<DescriptionT>(value);
122 }
123 template <typename DescriptionT = Aws::String>
125 SetDescription(std::forward<DescriptionT>(value));
126 return *this;
127 }
129
131
134 inline const Aws::Utils::DateTime& GetExpiresAt() const { return m_expiresAt; }
135 inline bool ExpiresAtHasBeenSet() const { return m_expiresAtHasBeenSet; }
136 template <typename ExpiresAtT = Aws::Utils::DateTime>
137 void SetExpiresAt(ExpiresAtT&& value) {
138 m_expiresAtHasBeenSet = true;
139 m_expiresAt = std::forward<ExpiresAtT>(value);
140 }
141 template <typename ExpiresAtT = Aws::Utils::DateTime>
143 SetExpiresAt(std::forward<ExpiresAtT>(value));
144 return *this;
145 }
147
149
153 inline const Aws::Vector<Aws::Map<Aws::String, Aws::String>>& GetAttributeFilters() const { return m_attributeFilters; }
154 inline bool AttributeFiltersHasBeenSet() const { return m_attributeFiltersHasBeenSet; }
155 template <typename AttributeFiltersT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
156 void SetAttributeFilters(AttributeFiltersT&& value) {
157 m_attributeFiltersHasBeenSet = true;
158 m_attributeFilters = std::forward<AttributeFiltersT>(value);
159 }
160 template <typename AttributeFiltersT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
162 SetAttributeFilters(std::forward<AttributeFiltersT>(value));
163 return *this;
164 }
165 template <typename AttributeFiltersT = Aws::Map<Aws::String, Aws::String>>
167 m_attributeFiltersHasBeenSet = true;
168 m_attributeFilters.emplace_back(std::forward<AttributeFiltersT>(value));
169 return *this;
170 }
172
174
177 inline const CaptureConfiguration& GetCaptureConfiguration() const { return m_captureConfiguration; }
178 inline bool CaptureConfigurationHasBeenSet() const { return m_captureConfigurationHasBeenSet; }
179 template <typename CaptureConfigurationT = CaptureConfiguration>
180 void SetCaptureConfiguration(CaptureConfigurationT&& value) {
181 m_captureConfigurationHasBeenSet = true;
182 m_captureConfiguration = std::forward<CaptureConfigurationT>(value);
183 }
184 template <typename CaptureConfigurationT = CaptureConfiguration>
186 SetCaptureConfiguration(std::forward<CaptureConfigurationT>(value));
187 return *this;
188 }
190
192
195 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
196 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
197 template <typename CreatedAtT = Aws::Utils::DateTime>
198 void SetCreatedAt(CreatedAtT&& value) {
199 m_createdAtHasBeenSet = true;
200 m_createdAt = std::forward<CreatedAtT>(value);
201 }
202 template <typename CreatedAtT = Aws::Utils::DateTime>
204 SetCreatedAt(std::forward<CreatedAtT>(value));
205 return *this;
206 }
208
210
213 inline const Aws::String& GetARN() const { return m_aRN; }
214 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
215 template <typename ARNT = Aws::String>
216 void SetARN(ARNT&& value) {
217 m_aRNHasBeenSet = true;
218 m_aRN = std::forward<ARNT>(value);
219 }
220 template <typename ARNT = Aws::String>
222 SetARN(std::forward<ARNT>(value));
223 return *this;
224 }
226 private:
228
230
231 Location m_location;
232
233 Aws::String m_locationHash;
234
235 Aws::String m_description;
236
237 Aws::Utils::DateTime m_expiresAt{};
238
240
241 CaptureConfiguration m_captureConfiguration;
242
243 Aws::Utils::DateTime m_createdAt{};
244
245 Aws::String m_aRN;
246 bool m_instrumentationTypeHasBeenSet = false;
247 bool m_signalTypeHasBeenSet = false;
248 bool m_locationHasBeenSet = false;
249 bool m_locationHashHasBeenSet = false;
250 bool m_descriptionHasBeenSet = false;
251 bool m_expiresAtHasBeenSet = false;
252 bool m_attributeFiltersHasBeenSet = false;
253 bool m_captureConfigurationHasBeenSet = false;
254 bool m_createdAtHasBeenSet = false;
255 bool m_aRNHasBeenSet = false;
256};
257
258} // namespace Model
259} // namespace ApplicationSignals
260} // namespace Aws
AWS_APPLICATIONSIGNALS_API InstrumentationConfigurationWithoutServiceEnv(Aws::Utils::Json::JsonView jsonValue)
InstrumentationConfigurationWithoutServiceEnv & WithInstrumentationType(InstrumentationType value)
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
InstrumentationConfigurationWithoutServiceEnv & WithAttributeFilters(AttributeFiltersT &&value)
InstrumentationConfigurationWithoutServiceEnv & WithSignalType(DynamicInstrumentationSignalType value)
InstrumentationConfigurationWithoutServiceEnv & WithCaptureConfiguration(CaptureConfigurationT &&value)
InstrumentationConfigurationWithoutServiceEnv & AddAttributeFilters(AttributeFiltersT &&value)
InstrumentationConfigurationWithoutServiceEnv & WithLocationHash(LocationHashT &&value)
AWS_APPLICATIONSIGNALS_API InstrumentationConfigurationWithoutServiceEnv & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue