AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetServiceGraphResult.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/Service.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 GetServiceGraphResult() = default;
31
33
36 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
37 template <typename StartTimeT = Aws::Utils::DateTime>
38 void SetStartTime(StartTimeT&& value) {
39 m_startTimeHasBeenSet = true;
40 m_startTime = std::forward<StartTimeT>(value);
41 }
42 template <typename StartTimeT = Aws::Utils::DateTime>
43 GetServiceGraphResult& WithStartTime(StartTimeT&& value) {
44 SetStartTime(std::forward<StartTimeT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
54 template <typename EndTimeT = Aws::Utils::DateTime>
55 void SetEndTime(EndTimeT&& value) {
56 m_endTimeHasBeenSet = true;
57 m_endTime = std::forward<EndTimeT>(value);
58 }
59 template <typename EndTimeT = Aws::Utils::DateTime>
61 SetEndTime(std::forward<EndTimeT>(value));
62 return *this;
63 }
65
67
71 inline const Aws::Vector<Service>& GetServices() const { return m_services; }
72 template <typename ServicesT = Aws::Vector<Service>>
73 void SetServices(ServicesT&& value) {
74 m_servicesHasBeenSet = true;
75 m_services = std::forward<ServicesT>(value);
76 }
77 template <typename ServicesT = Aws::Vector<Service>>
78 GetServiceGraphResult& WithServices(ServicesT&& value) {
79 SetServices(std::forward<ServicesT>(value));
80 return *this;
81 }
82 template <typename ServicesT = Service>
83 GetServiceGraphResult& AddServices(ServicesT&& value) {
84 m_servicesHasBeenSet = true;
85 m_services.emplace_back(std::forward<ServicesT>(value));
86 return *this;
87 }
89
91
96 inline bool GetContainsOldGroupVersions() const { return m_containsOldGroupVersions; }
97 inline void SetContainsOldGroupVersions(bool value) {
98 m_containsOldGroupVersionsHasBeenSet = true;
99 m_containsOldGroupVersions = value;
100 }
103 return *this;
104 }
106
108
111 inline const Aws::String& GetNextToken() const { return m_nextToken; }
112 template <typename NextTokenT = Aws::String>
113 void SetNextToken(NextTokenT&& value) {
114 m_nextTokenHasBeenSet = true;
115 m_nextToken = std::forward<NextTokenT>(value);
116 }
117 template <typename NextTokenT = Aws::String>
119 SetNextToken(std::forward<NextTokenT>(value));
120 return *this;
121 }
123
125
126 inline const Aws::String& GetRequestId() const { return m_requestId; }
127 template <typename RequestIdT = Aws::String>
128 void SetRequestId(RequestIdT&& value) {
129 m_requestIdHasBeenSet = true;
130 m_requestId = std::forward<RequestIdT>(value);
131 }
132 template <typename RequestIdT = Aws::String>
134 SetRequestId(std::forward<RequestIdT>(value));
135 return *this;
136 }
138 private:
139 Aws::Utils::DateTime m_startTime{};
140
141 Aws::Utils::DateTime m_endTime{};
142
143 Aws::Vector<Service> m_services;
144
145 bool m_containsOldGroupVersions{false};
146
147 Aws::String m_nextToken;
148
149 Aws::String m_requestId;
150 bool m_startTimeHasBeenSet = false;
151 bool m_endTimeHasBeenSet = false;
152 bool m_servicesHasBeenSet = false;
153 bool m_containsOldGroupVersionsHasBeenSet = false;
154 bool m_nextTokenHasBeenSet = false;
155 bool m_requestIdHasBeenSet = false;
156};
157
158} // namespace Model
159} // namespace XRay
160} // namespace Aws
AWS_XRAY_API GetServiceGraphResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetStartTime() const
GetServiceGraphResult & WithStartTime(StartTimeT &&value)
const Aws::Utils::DateTime & GetEndTime() const
AWS_XRAY_API GetServiceGraphResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_XRAY_API GetServiceGraphResult()=default
const Aws::Vector< Service > & GetServices() const
GetServiceGraphResult & AddServices(ServicesT &&value)
GetServiceGraphResult & WithRequestId(RequestIdT &&value)
GetServiceGraphResult & WithEndTime(EndTimeT &&value)
GetServiceGraphResult & WithServices(ServicesT &&value)
GetServiceGraphResult & WithNextToken(NextTokenT &&value)
GetServiceGraphResult & WithContainsOldGroupVersions(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue