AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetServiceGraphResult.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/xray/model/Service.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 GetServiceGraphResult() = default;
36
37
39
42 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
43 template<typename StartTimeT = Aws::Utils::DateTime>
44 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
45 template<typename StartTimeT = Aws::Utils::DateTime>
46 GetServiceGraphResult& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
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) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
56 template<typename EndTimeT = Aws::Utils::DateTime>
57 GetServiceGraphResult& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
59
61
65 inline const Aws::Vector<Service>& GetServices() const { return m_services; }
66 template<typename ServicesT = Aws::Vector<Service>>
67 void SetServices(ServicesT&& value) { m_servicesHasBeenSet = true; m_services = std::forward<ServicesT>(value); }
68 template<typename ServicesT = Aws::Vector<Service>>
69 GetServiceGraphResult& WithServices(ServicesT&& value) { SetServices(std::forward<ServicesT>(value)); return *this;}
70 template<typename ServicesT = Service>
71 GetServiceGraphResult& AddServices(ServicesT&& value) { m_servicesHasBeenSet = true; m_services.emplace_back(std::forward<ServicesT>(value)); return *this; }
73
75
80 inline bool GetContainsOldGroupVersions() const { return m_containsOldGroupVersions; }
81 inline void SetContainsOldGroupVersions(bool value) { m_containsOldGroupVersionsHasBeenSet = true; m_containsOldGroupVersions = value; }
84
86
89 inline const Aws::String& GetNextToken() const { return m_nextToken; }
90 template<typename NextTokenT = Aws::String>
91 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
92 template<typename NextTokenT = Aws::String>
93 GetServiceGraphResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
95
97
98 inline const Aws::String& GetRequestId() const { return m_requestId; }
99 template<typename RequestIdT = Aws::String>
100 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
101 template<typename RequestIdT = Aws::String>
102 GetServiceGraphResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
104 private:
105
106 Aws::Utils::DateTime m_startTime{};
107 bool m_startTimeHasBeenSet = false;
108
109 Aws::Utils::DateTime m_endTime{};
110 bool m_endTimeHasBeenSet = false;
111
112 Aws::Vector<Service> m_services;
113 bool m_servicesHasBeenSet = false;
114
115 bool m_containsOldGroupVersions{false};
116 bool m_containsOldGroupVersionsHasBeenSet = false;
117
118 Aws::String m_nextToken;
119 bool m_nextTokenHasBeenSet = false;
120
121 Aws::String m_requestId;
122 bool m_requestIdHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace XRay
127} // 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