AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetInsightImpactGraphResult.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/xray/model/InsightImpactGraphService.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace XRay
27{
28namespace Model
29{
31 {
32 public:
33 AWS_XRAY_API GetInsightImpactGraphResult() = default;
36
37
39
42 inline const Aws::String& GetInsightId() const { return m_insightId; }
43 template<typename InsightIdT = Aws::String>
44 void SetInsightId(InsightIdT&& value) { m_insightIdHasBeenSet = true; m_insightId = std::forward<InsightIdT>(value); }
45 template<typename InsightIdT = Aws::String>
46 GetInsightImpactGraphResult& WithInsightId(InsightIdT&& value) { SetInsightId(std::forward<InsightIdT>(value)); return *this;}
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) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
56 template<typename StartTimeT = Aws::Utils::DateTime>
57 GetInsightImpactGraphResult& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
59
61
64 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
65 template<typename EndTimeT = Aws::Utils::DateTime>
66 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
67 template<typename EndTimeT = Aws::Utils::DateTime>
68 GetInsightImpactGraphResult& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetServiceGraphStartTime() const { return m_serviceGraphStartTime; }
76 template<typename ServiceGraphStartTimeT = Aws::Utils::DateTime>
77 void SetServiceGraphStartTime(ServiceGraphStartTimeT&& value) { m_serviceGraphStartTimeHasBeenSet = true; m_serviceGraphStartTime = std::forward<ServiceGraphStartTimeT>(value); }
78 template<typename ServiceGraphStartTimeT = Aws::Utils::DateTime>
79 GetInsightImpactGraphResult& WithServiceGraphStartTime(ServiceGraphStartTimeT&& value) { SetServiceGraphStartTime(std::forward<ServiceGraphStartTimeT>(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetServiceGraphEndTime() const { return m_serviceGraphEndTime; }
87 template<typename ServiceGraphEndTimeT = Aws::Utils::DateTime>
88 void SetServiceGraphEndTime(ServiceGraphEndTimeT&& value) { m_serviceGraphEndTimeHasBeenSet = true; m_serviceGraphEndTime = std::forward<ServiceGraphEndTimeT>(value); }
89 template<typename ServiceGraphEndTimeT = Aws::Utils::DateTime>
90 GetInsightImpactGraphResult& WithServiceGraphEndTime(ServiceGraphEndTimeT&& value) { SetServiceGraphEndTime(std::forward<ServiceGraphEndTimeT>(value)); return *this;}
92
94
97 inline const Aws::Vector<InsightImpactGraphService>& GetServices() const { return m_services; }
98 template<typename ServicesT = Aws::Vector<InsightImpactGraphService>>
99 void SetServices(ServicesT&& value) { m_servicesHasBeenSet = true; m_services = std::forward<ServicesT>(value); }
100 template<typename ServicesT = Aws::Vector<InsightImpactGraphService>>
101 GetInsightImpactGraphResult& WithServices(ServicesT&& value) { SetServices(std::forward<ServicesT>(value)); return *this;}
102 template<typename ServicesT = InsightImpactGraphService>
103 GetInsightImpactGraphResult& AddServices(ServicesT&& value) { m_servicesHasBeenSet = true; m_services.emplace_back(std::forward<ServicesT>(value)); return *this; }
105
107
110 inline const Aws::String& GetNextToken() const { return m_nextToken; }
111 template<typename NextTokenT = Aws::String>
112 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
113 template<typename NextTokenT = Aws::String>
114 GetInsightImpactGraphResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
116
118
119 inline const Aws::String& GetRequestId() const { return m_requestId; }
120 template<typename RequestIdT = Aws::String>
121 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
122 template<typename RequestIdT = Aws::String>
123 GetInsightImpactGraphResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
125 private:
126
127 Aws::String m_insightId;
128 bool m_insightIdHasBeenSet = false;
129
130 Aws::Utils::DateTime m_startTime{};
131 bool m_startTimeHasBeenSet = false;
132
133 Aws::Utils::DateTime m_endTime{};
134 bool m_endTimeHasBeenSet = false;
135
136 Aws::Utils::DateTime m_serviceGraphStartTime{};
137 bool m_serviceGraphStartTimeHasBeenSet = false;
138
139 Aws::Utils::DateTime m_serviceGraphEndTime{};
140 bool m_serviceGraphEndTimeHasBeenSet = false;
141
143 bool m_servicesHasBeenSet = false;
144
145 Aws::String m_nextToken;
146 bool m_nextTokenHasBeenSet = false;
147
148 Aws::String m_requestId;
149 bool m_requestIdHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace XRay
154} // 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