AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetInsightImpactGraphResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/xray/XRay_EXPORTS.h>
11#include <aws/xray/model/InsightImpactGraphService.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace XRay {
25namespace Model {
27 public:
28 AWS_XRAY_API GetInsightImpactGraphResult() = default;
31
33
36 inline const Aws::String& GetInsightId() const { return m_insightId; }
37 template <typename InsightIdT = Aws::String>
38 void SetInsightId(InsightIdT&& value) {
39 m_insightIdHasBeenSet = true;
40 m_insightId = std::forward<InsightIdT>(value);
41 }
42 template <typename InsightIdT = Aws::String>
44 SetInsightId(std::forward<InsightIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
54 template <typename StartTimeT = Aws::Utils::DateTime>
55 void SetStartTime(StartTimeT&& value) {
56 m_startTimeHasBeenSet = true;
57 m_startTime = std::forward<StartTimeT>(value);
58 }
59 template <typename StartTimeT = Aws::Utils::DateTime>
61 SetStartTime(std::forward<StartTimeT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
71 template <typename EndTimeT = Aws::Utils::DateTime>
72 void SetEndTime(EndTimeT&& value) {
73 m_endTimeHasBeenSet = true;
74 m_endTime = std::forward<EndTimeT>(value);
75 }
76 template <typename EndTimeT = Aws::Utils::DateTime>
78 SetEndTime(std::forward<EndTimeT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::Utils::DateTime& GetServiceGraphStartTime() const { return m_serviceGraphStartTime; }
88 template <typename ServiceGraphStartTimeT = Aws::Utils::DateTime>
89 void SetServiceGraphStartTime(ServiceGraphStartTimeT&& value) {
90 m_serviceGraphStartTimeHasBeenSet = true;
91 m_serviceGraphStartTime = std::forward<ServiceGraphStartTimeT>(value);
92 }
93 template <typename ServiceGraphStartTimeT = Aws::Utils::DateTime>
94 GetInsightImpactGraphResult& WithServiceGraphStartTime(ServiceGraphStartTimeT&& value) {
95 SetServiceGraphStartTime(std::forward<ServiceGraphStartTimeT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::Utils::DateTime& GetServiceGraphEndTime() const { return m_serviceGraphEndTime; }
105 template <typename ServiceGraphEndTimeT = Aws::Utils::DateTime>
106 void SetServiceGraphEndTime(ServiceGraphEndTimeT&& value) {
107 m_serviceGraphEndTimeHasBeenSet = true;
108 m_serviceGraphEndTime = std::forward<ServiceGraphEndTimeT>(value);
109 }
110 template <typename ServiceGraphEndTimeT = Aws::Utils::DateTime>
112 SetServiceGraphEndTime(std::forward<ServiceGraphEndTimeT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::Vector<InsightImpactGraphService>& GetServices() const { return m_services; }
122 template <typename ServicesT = Aws::Vector<InsightImpactGraphService>>
123 void SetServices(ServicesT&& value) {
124 m_servicesHasBeenSet = true;
125 m_services = std::forward<ServicesT>(value);
126 }
127 template <typename ServicesT = Aws::Vector<InsightImpactGraphService>>
129 SetServices(std::forward<ServicesT>(value));
130 return *this;
131 }
132 template <typename ServicesT = InsightImpactGraphService>
134 m_servicesHasBeenSet = true;
135 m_services.emplace_back(std::forward<ServicesT>(value));
136 return *this;
137 }
139
141
144 inline const Aws::String& GetNextToken() const { return m_nextToken; }
145 template <typename NextTokenT = Aws::String>
146 void SetNextToken(NextTokenT&& value) {
147 m_nextTokenHasBeenSet = true;
148 m_nextToken = std::forward<NextTokenT>(value);
149 }
150 template <typename NextTokenT = Aws::String>
152 SetNextToken(std::forward<NextTokenT>(value));
153 return *this;
154 }
156
158
159 inline const Aws::String& GetRequestId() const { return m_requestId; }
160 template <typename RequestIdT = Aws::String>
161 void SetRequestId(RequestIdT&& value) {
162 m_requestIdHasBeenSet = true;
163 m_requestId = std::forward<RequestIdT>(value);
164 }
165 template <typename RequestIdT = Aws::String>
167 SetRequestId(std::forward<RequestIdT>(value));
168 return *this;
169 }
171 private:
172 Aws::String m_insightId;
173
174 Aws::Utils::DateTime m_startTime{};
175
176 Aws::Utils::DateTime m_endTime{};
177
178 Aws::Utils::DateTime m_serviceGraphStartTime{};
179
180 Aws::Utils::DateTime m_serviceGraphEndTime{};
181
183
184 Aws::String m_nextToken;
185
186 Aws::String m_requestId;
187 bool m_insightIdHasBeenSet = false;
188 bool m_startTimeHasBeenSet = false;
189 bool m_endTimeHasBeenSet = false;
190 bool m_serviceGraphStartTimeHasBeenSet = false;
191 bool m_serviceGraphEndTimeHasBeenSet = false;
192 bool m_servicesHasBeenSet = false;
193 bool m_nextTokenHasBeenSet = false;
194 bool m_requestIdHasBeenSet = false;
195};
196
197} // namespace Model
198} // namespace XRay
199} // namespace Aws
AWS_XRAY_API GetInsightImpactGraphResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetInsightImpactGraphResult & WithServiceGraphEndTime(ServiceGraphEndTimeT &&value)
GetInsightImpactGraphResult & WithInsightId(InsightIdT &&value)
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