AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
36
37
39
42 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
43 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; }
44 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); }
45 inline GetServiceGraphResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
46 inline GetServiceGraphResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
48
50
53 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
54 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; }
55 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); }
56 inline GetServiceGraphResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
57 inline GetServiceGraphResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
59
61
65 inline const Aws::Vector<Service>& GetServices() const{ return m_services; }
66 inline void SetServices(const Aws::Vector<Service>& value) { m_services = value; }
67 inline void SetServices(Aws::Vector<Service>&& value) { m_services = std::move(value); }
68 inline GetServiceGraphResult& WithServices(const Aws::Vector<Service>& value) { SetServices(value); return *this;}
69 inline GetServiceGraphResult& WithServices(Aws::Vector<Service>&& value) { SetServices(std::move(value)); return *this;}
70 inline GetServiceGraphResult& AddServices(const Service& value) { m_services.push_back(value); return *this; }
71 inline GetServiceGraphResult& AddServices(Service&& value) { m_services.push_back(std::move(value)); return *this; }
73
75
80 inline bool GetContainsOldGroupVersions() const{ return m_containsOldGroupVersions; }
81 inline void SetContainsOldGroupVersions(bool value) { m_containsOldGroupVersions = value; }
84
86
89 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
90 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
91 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
92 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
93 inline GetServiceGraphResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
94 inline GetServiceGraphResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
95 inline GetServiceGraphResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
97
99
100 inline const Aws::String& GetRequestId() const{ return m_requestId; }
101 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
102 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
103 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
104 inline GetServiceGraphResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
105 inline GetServiceGraphResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
106 inline GetServiceGraphResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
108 private:
109
110 Aws::Utils::DateTime m_startTime;
111
112 Aws::Utils::DateTime m_endTime;
113
114 Aws::Vector<Service> m_services;
115
116 bool m_containsOldGroupVersions;
117
118 Aws::String m_nextToken;
119
120 Aws::String m_requestId;
121 };
122
123} // namespace Model
124} // namespace XRay
125} // namespace Aws
AWS_XRAY_API GetServiceGraphResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetStartTime() const
void SetStartTime(const Aws::Utils::DateTime &value)
GetServiceGraphResult & WithEndTime(const Aws::Utils::DateTime &value)
GetServiceGraphResult & WithRequestId(const Aws::String &value)
GetServiceGraphResult & WithNextToken(Aws::String &&value)
const Aws::Utils::DateTime & GetEndTime() const
GetServiceGraphResult & AddServices(const Service &value)
AWS_XRAY_API GetServiceGraphResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const Aws::String &value)
GetServiceGraphResult & WithServices(const Aws::Vector< Service > &value)
GetServiceGraphResult & WithServices(Aws::Vector< Service > &&value)
GetServiceGraphResult & WithRequestId(Aws::String &&value)
GetServiceGraphResult & WithEndTime(Aws::Utils::DateTime &&value)
const Aws::Vector< Service > & GetServices() const
GetServiceGraphResult & WithNextToken(const char *value)
GetServiceGraphResult & WithNextToken(const Aws::String &value)
void SetEndTime(Aws::Utils::DateTime &&value)
GetServiceGraphResult & WithStartTime(const Aws::Utils::DateTime &value)
void SetServices(const Aws::Vector< Service > &value)
GetServiceGraphResult & AddServices(Service &&value)
GetServiceGraphResult & WithRequestId(const char *value)
void SetServices(Aws::Vector< Service > &&value)
void SetNextToken(const Aws::String &value)
void SetEndTime(const Aws::Utils::DateTime &value)
GetServiceGraphResult & WithStartTime(Aws::Utils::DateTime &&value)
void SetStartTime(Aws::Utils::DateTime &&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