AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
GetInsightImpactGraphResult.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/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/xray/XRay_EXPORTS.h>
12#include <aws/xray/model/InsightImpactGraphService.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace XRay {
26namespace Model {
28 public:
29 AWS_XRAY_API GetInsightImpactGraphResult() = default;
32
34
37 inline const Aws::String& GetInsightId() const { return m_insightId; }
38 template <typename InsightIdT = Aws::String>
39 void SetInsightId(InsightIdT&& value) {
40 m_insightIdHasBeenSet = true;
41 m_insightId = std::forward<InsightIdT>(value);
42 }
43 template <typename InsightIdT = Aws::String>
45 SetInsightId(std::forward<InsightIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
55 template <typename StartTimeT = Aws::Utils::DateTime>
56 void SetStartTime(StartTimeT&& value) {
57 m_startTimeHasBeenSet = true;
58 m_startTime = std::forward<StartTimeT>(value);
59 }
60 template <typename StartTimeT = Aws::Utils::DateTime>
62 SetStartTime(std::forward<StartTimeT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
72 template <typename EndTimeT = Aws::Utils::DateTime>
73 void SetEndTime(EndTimeT&& value) {
74 m_endTimeHasBeenSet = true;
75 m_endTime = std::forward<EndTimeT>(value);
76 }
77 template <typename EndTimeT = Aws::Utils::DateTime>
79 SetEndTime(std::forward<EndTimeT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::Utils::DateTime& GetServiceGraphStartTime() const { return m_serviceGraphStartTime; }
89 template <typename ServiceGraphStartTimeT = Aws::Utils::DateTime>
90 void SetServiceGraphStartTime(ServiceGraphStartTimeT&& value) {
91 m_serviceGraphStartTimeHasBeenSet = true;
92 m_serviceGraphStartTime = std::forward<ServiceGraphStartTimeT>(value);
93 }
94 template <typename ServiceGraphStartTimeT = Aws::Utils::DateTime>
95 GetInsightImpactGraphResult& WithServiceGraphStartTime(ServiceGraphStartTimeT&& value) {
96 SetServiceGraphStartTime(std::forward<ServiceGraphStartTimeT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::Utils::DateTime& GetServiceGraphEndTime() const { return m_serviceGraphEndTime; }
106 template <typename ServiceGraphEndTimeT = Aws::Utils::DateTime>
107 void SetServiceGraphEndTime(ServiceGraphEndTimeT&& value) {
108 m_serviceGraphEndTimeHasBeenSet = true;
109 m_serviceGraphEndTime = std::forward<ServiceGraphEndTimeT>(value);
110 }
111 template <typename ServiceGraphEndTimeT = Aws::Utils::DateTime>
113 SetServiceGraphEndTime(std::forward<ServiceGraphEndTimeT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::Vector<InsightImpactGraphService>& GetServices() const { return m_services; }
123 template <typename ServicesT = Aws::Vector<InsightImpactGraphService>>
124 void SetServices(ServicesT&& value) {
125 m_servicesHasBeenSet = true;
126 m_services = std::forward<ServicesT>(value);
127 }
128 template <typename ServicesT = Aws::Vector<InsightImpactGraphService>>
130 SetServices(std::forward<ServicesT>(value));
131 return *this;
132 }
133 template <typename ServicesT = InsightImpactGraphService>
135 m_servicesHasBeenSet = true;
136 m_services.emplace_back(std::forward<ServicesT>(value));
137 return *this;
138 }
140
142
145 inline const Aws::String& GetNextToken() const { return m_nextToken; }
146 template <typename NextTokenT = Aws::String>
147 void SetNextToken(NextTokenT&& value) {
148 m_nextTokenHasBeenSet = true;
149 m_nextToken = std::forward<NextTokenT>(value);
150 }
151 template <typename NextTokenT = Aws::String>
153 SetNextToken(std::forward<NextTokenT>(value));
154 return *this;
155 }
157
159
160 inline const Aws::String& GetRequestId() const { return m_requestId; }
161 template <typename RequestIdT = Aws::String>
162 void SetRequestId(RequestIdT&& value) {
163 m_requestIdHasBeenSet = true;
164 m_requestId = std::forward<RequestIdT>(value);
165 }
166 template <typename RequestIdT = Aws::String>
168 SetRequestId(std::forward<RequestIdT>(value));
169 return *this;
170 }
172 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
173
174 private:
175 Aws::String m_insightId;
176
177 Aws::Utils::DateTime m_startTime{};
178
179 Aws::Utils::DateTime m_endTime{};
180
181 Aws::Utils::DateTime m_serviceGraphStartTime{};
182
183 Aws::Utils::DateTime m_serviceGraphEndTime{};
184
186
187 Aws::String m_nextToken;
188
189 Aws::String m_requestId;
190 Aws::Http::HttpResponseCode m_HttpResponseCode;
191 bool m_insightIdHasBeenSet = false;
192 bool m_startTimeHasBeenSet = false;
193 bool m_endTimeHasBeenSet = false;
194 bool m_serviceGraphStartTimeHasBeenSet = false;
195 bool m_serviceGraphEndTimeHasBeenSet = false;
196 bool m_servicesHasBeenSet = false;
197 bool m_nextTokenHasBeenSet = false;
198 bool m_requestIdHasBeenSet = false;
199};
200
201} // namespace Model
202} // namespace XRay
203} // namespace Aws
AWS_XRAY_API GetInsightImpactGraphResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetInsightImpactGraphResult & WithServiceGraphEndTime(ServiceGraphEndTimeT &&value)
GetInsightImpactGraphResult & WithInsightId(InsightIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Utils::DateTime & GetServiceGraphStartTime() const
AWS_XRAY_API GetInsightImpactGraphResult()=default
GetInsightImpactGraphResult & WithServices(ServicesT &&value)
GetInsightImpactGraphResult & WithStartTime(StartTimeT &&value)
void SetServiceGraphEndTime(ServiceGraphEndTimeT &&value)
GetInsightImpactGraphResult & AddServices(ServicesT &&value)
GetInsightImpactGraphResult & WithServiceGraphStartTime(ServiceGraphStartTimeT &&value)
const Aws::Vector< InsightImpactGraphService > & GetServices() const
const Aws::Utils::DateTime & GetServiceGraphEndTime() const
GetInsightImpactGraphResult & WithEndTime(EndTimeT &&value)
GetInsightImpactGraphResult & WithNextToken(NextTokenT &&value)
void SetServiceGraphStartTime(ServiceGraphStartTimeT &&value)
GetInsightImpactGraphResult & WithRequestId(RequestIdT &&value)
AWS_XRAY_API GetInsightImpactGraphResult(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