AWS SDK for C++

AWS SDK for C++ Version 1.11.851

Loading...
Searching...
No Matches
GetInstrumentationConfigurationStatusRequest.h
1
6#pragma once
7#include <aws/application-signals/ApplicationSignalsRequest.h>
8#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
9#include <aws/application-signals/model/DynamicInstrumentationSignalType.h>
10#include <aws/application-signals/model/InstrumentationConfigurationStatus.h>
11#include <aws/application-signals/model/InstrumentationType.h>
12#include <aws/application-signals/model/LocationIdentifier.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15
16#include <utility>
17
18namespace Aws {
19namespace ApplicationSignals {
20namespace Model {
21
25 public:
26 AWS_APPLICATIONSIGNALS_API GetInstrumentationConfigurationStatusRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "GetInstrumentationConfigurationStatus"; }
33
34 AWS_APPLICATIONSIGNALS_API Aws::String SerializePayload() const override;
35
37
41 inline InstrumentationType GetInstrumentationType() const { return m_instrumentationType; }
42 inline bool InstrumentationTypeHasBeenSet() const { return m_instrumentationTypeHasBeenSet; }
44 m_instrumentationTypeHasBeenSet = true;
45 m_instrumentationType = value;
46 }
49 return *this;
50 }
52
54
57 inline const Aws::String& GetService() const { return m_service; }
58 inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; }
59 template <typename ServiceT = Aws::String>
60 void SetService(ServiceT&& value) {
61 m_serviceHasBeenSet = true;
62 m_service = std::forward<ServiceT>(value);
63 }
64 template <typename ServiceT = Aws::String>
66 SetService(std::forward<ServiceT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetEnvironment() const { return m_environment; }
76 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
77 template <typename EnvironmentT = Aws::String>
78 void SetEnvironment(EnvironmentT&& value) {
79 m_environmentHasBeenSet = true;
80 m_environment = std::forward<EnvironmentT>(value);
81 }
82 template <typename EnvironmentT = Aws::String>
84 SetEnvironment(std::forward<EnvironmentT>(value));
85 return *this;
86 }
88
90
93 inline DynamicInstrumentationSignalType GetSignalType() const { return m_signalType; }
94 inline bool SignalTypeHasBeenSet() const { return m_signalTypeHasBeenSet; }
96 m_signalTypeHasBeenSet = true;
97 m_signalType = value;
98 }
100 SetSignalType(value);
101 return *this;
102 }
104
106
109 inline const LocationIdentifier& GetLocationIdentifier() const { return m_locationIdentifier; }
110 inline bool LocationIdentifierHasBeenSet() const { return m_locationIdentifierHasBeenSet; }
111 template <typename LocationIdentifierT = LocationIdentifier>
112 void SetLocationIdentifier(LocationIdentifierT&& value) {
113 m_locationIdentifierHasBeenSet = true;
114 m_locationIdentifier = std::forward<LocationIdentifierT>(value);
115 }
116 template <typename LocationIdentifierT = LocationIdentifier>
118 SetLocationIdentifier(std::forward<LocationIdentifierT>(value));
119 return *this;
120 }
122
124
128 inline InstrumentationConfigurationStatus GetStatus() const { return m_status; }
129 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
131 m_statusHasBeenSet = true;
132 m_status = value;
133 }
135 SetStatus(value);
136 return *this;
137 }
139
141
147 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
148 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
149 template <typename StartTimeT = Aws::Utils::DateTime>
150 void SetStartTime(StartTimeT&& value) {
151 m_startTimeHasBeenSet = true;
152 m_startTime = std::forward<StartTimeT>(value);
153 }
154 template <typename StartTimeT = Aws::Utils::DateTime>
156 SetStartTime(std::forward<StartTimeT>(value));
157 return *this;
158 }
160
162
168 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
169 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
170 template <typename EndTimeT = Aws::Utils::DateTime>
171 void SetEndTime(EndTimeT&& value) {
172 m_endTimeHasBeenSet = true;
173 m_endTime = std::forward<EndTimeT>(value);
174 }
175 template <typename EndTimeT = Aws::Utils::DateTime>
177 SetEndTime(std::forward<EndTimeT>(value));
178 return *this;
179 }
181
183
187 inline int GetMaxResults() const { return m_maxResults; }
188 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
189 inline void SetMaxResults(int value) {
190 m_maxResultsHasBeenSet = true;
191 m_maxResults = value;
192 }
194 SetMaxResults(value);
195 return *this;
196 }
198
200
204 inline const Aws::String& GetNextToken() const { return m_nextToken; }
205 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
206 template <typename NextTokenT = Aws::String>
207 void SetNextToken(NextTokenT&& value) {
208 m_nextTokenHasBeenSet = true;
209 m_nextToken = std::forward<NextTokenT>(value);
210 }
211 template <typename NextTokenT = Aws::String>
213 SetNextToken(std::forward<NextTokenT>(value));
214 return *this;
215 }
217 private:
219
220 Aws::String m_service;
221
222 Aws::String m_environment;
223
225
226 LocationIdentifier m_locationIdentifier;
227
229
230 Aws::Utils::DateTime m_startTime{};
231
232 Aws::Utils::DateTime m_endTime{};
233
234 int m_maxResults{0};
235
236 Aws::String m_nextToken;
237 bool m_instrumentationTypeHasBeenSet = false;
238 bool m_serviceHasBeenSet = false;
239 bool m_environmentHasBeenSet = false;
240 bool m_signalTypeHasBeenSet = false;
241 bool m_locationIdentifierHasBeenSet = false;
242 bool m_statusHasBeenSet = false;
243 bool m_startTimeHasBeenSet = false;
244 bool m_endTimeHasBeenSet = false;
245 bool m_maxResultsHasBeenSet = false;
246 bool m_nextTokenHasBeenSet = false;
247};
248
249} // namespace Model
250} // namespace ApplicationSignals
251} // namespace Aws
AWS_APPLICATIONSIGNALS_API Aws::String SerializePayload() const override
GetInstrumentationConfigurationStatusRequest & WithStatus(InstrumentationConfigurationStatus value)
GetInstrumentationConfigurationStatusRequest & WithInstrumentationType(InstrumentationType value)
GetInstrumentationConfigurationStatusRequest & WithSignalType(DynamicInstrumentationSignalType value)
GetInstrumentationConfigurationStatusRequest & WithLocationIdentifier(LocationIdentifierT &&value)
GetInstrumentationConfigurationStatusRequest & WithEnvironment(EnvironmentT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String