AWS SDK for C++

AWS SDK for C++ Version 1.11.853

Loading...
Searching...
No Matches
GetInstrumentationConfigurationStatusResult.h
1
6#pragma once
7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/DynamicInstrumentationSignalType.h>
9#include <aws/application-signals/model/InstrumentationConfigurationStatus.h>
10#include <aws/application-signals/model/InstrumentationStatusEvent.h>
11#include <aws/application-signals/model/Location.h>
12#include <aws/core/http/HttpResponse.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace ApplicationSignals {
28namespace Model {
30 public:
31 AWS_APPLICATIONSIGNALS_API GetInstrumentationConfigurationStatusResult() = default;
36
38
41 inline const Aws::String& GetService() const { return m_service; }
42 template <typename ServiceT = Aws::String>
43 void SetService(ServiceT&& value) {
44 m_serviceHasBeenSet = true;
45 m_service = std::forward<ServiceT>(value);
46 }
47 template <typename ServiceT = Aws::String>
49 SetService(std::forward<ServiceT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetEnvironment() const { return m_environment; }
59 template <typename EnvironmentT = Aws::String>
60 void SetEnvironment(EnvironmentT&& value) {
61 m_environmentHasBeenSet = true;
62 m_environment = std::forward<EnvironmentT>(value);
63 }
64 template <typename EnvironmentT = Aws::String>
66 SetEnvironment(std::forward<EnvironmentT>(value));
67 return *this;
68 }
70
72
75 inline DynamicInstrumentationSignalType GetSignalType() const { return m_signalType; }
77 m_signalTypeHasBeenSet = true;
78 m_signalType = value;
79 }
81 SetSignalType(value);
82 return *this;
83 }
85
87
90 inline const Location& GetLocation() const { return m_location; }
91 template <typename LocationT = Location>
92 void SetLocation(LocationT&& value) {
93 m_locationHasBeenSet = true;
94 m_location = std::forward<LocationT>(value);
95 }
96 template <typename LocationT = Location>
98 SetLocation(std::forward<LocationT>(value));
99 return *this;
100 }
102
104
108 inline InstrumentationConfigurationStatus GetStatus() const { return m_status; }
110 m_statusHasBeenSet = true;
111 m_status = value;
112 }
114 SetStatus(value);
115 return *this;
116 }
118
120
124 inline const Aws::Vector<InstrumentationStatusEvent>& GetEvents() const { return m_events; }
125 template <typename EventsT = Aws::Vector<InstrumentationStatusEvent>>
126 void SetEvents(EventsT&& value) {
127 m_eventsHasBeenSet = true;
128 m_events = std::forward<EventsT>(value);
129 }
130 template <typename EventsT = Aws::Vector<InstrumentationStatusEvent>>
132 SetEvents(std::forward<EventsT>(value));
133 return *this;
134 }
135 template <typename EventsT = InstrumentationStatusEvent>
137 m_eventsHasBeenSet = true;
138 m_events.emplace_back(std::forward<EventsT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::String& GetNextToken() const { return m_nextToken; }
148 template <typename NextTokenT = Aws::String>
149 void SetNextToken(NextTokenT&& value) {
150 m_nextTokenHasBeenSet = true;
151 m_nextToken = std::forward<NextTokenT>(value);
152 }
153 template <typename NextTokenT = Aws::String>
155 SetNextToken(std::forward<NextTokenT>(value));
156 return *this;
157 }
159
161
162 inline const Aws::String& GetRequestId() const { return m_requestId; }
163 template <typename RequestIdT = Aws::String>
164 void SetRequestId(RequestIdT&& value) {
165 m_requestIdHasBeenSet = true;
166 m_requestId = std::forward<RequestIdT>(value);
167 }
168 template <typename RequestIdT = Aws::String>
170 SetRequestId(std::forward<RequestIdT>(value));
171 return *this;
172 }
174 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
175
176 private:
177 Aws::String m_service;
178
179 Aws::String m_environment;
180
182
183 Location m_location;
184
186
188
189 Aws::String m_nextToken;
190
191 Aws::String m_requestId;
192 Aws::Http::HttpResponseCode m_HttpResponseCode;
193 bool m_serviceHasBeenSet = false;
194 bool m_environmentHasBeenSet = false;
195 bool m_signalTypeHasBeenSet = false;
196 bool m_locationHasBeenSet = false;
197 bool m_statusHasBeenSet = false;
198 bool m_eventsHasBeenSet = false;
199 bool m_nextTokenHasBeenSet = false;
200 bool m_requestIdHasBeenSet = false;
201};
202
203} // namespace Model
204} // namespace ApplicationSignals
205} // namespace Aws
AWS_APPLICATIONSIGNALS_API GetInstrumentationConfigurationStatusResult()=default
GetInstrumentationConfigurationStatusResult & WithSignalType(DynamicInstrumentationSignalType value)
GetInstrumentationConfigurationStatusResult & WithEnvironment(EnvironmentT &&value)
GetInstrumentationConfigurationStatusResult & WithStatus(InstrumentationConfigurationStatus value)
AWS_APPLICATIONSIGNALS_API GetInstrumentationConfigurationStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPLICATIONSIGNALS_API GetInstrumentationConfigurationStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue