AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListServiceDependenciesResult.h
1
6#pragma once
7#include <aws/application-signals/ApplicationSignals_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/application-signals/model/ServiceDependency.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 ApplicationSignals
27{
28namespace Model
29{
31 {
32 public:
33 AWS_APPLICATIONSIGNALS_API ListServiceDependenciesResult();
36
37
39
46 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
47 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; }
48 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); }
50 inline ListServiceDependenciesResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
52
54
61 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
62 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; }
63 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); }
64 inline ListServiceDependenciesResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
65 inline ListServiceDependenciesResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
67
69
73 inline const Aws::Vector<ServiceDependency>& GetServiceDependencies() const{ return m_serviceDependencies; }
74 inline void SetServiceDependencies(const Aws::Vector<ServiceDependency>& value) { m_serviceDependencies = value; }
75 inline void SetServiceDependencies(Aws::Vector<ServiceDependency>&& value) { m_serviceDependencies = std::move(value); }
78 inline ListServiceDependenciesResult& AddServiceDependencies(const ServiceDependency& value) { m_serviceDependencies.push_back(value); return *this; }
79 inline ListServiceDependenciesResult& AddServiceDependencies(ServiceDependency&& value) { m_serviceDependencies.push_back(std::move(value)); return *this; }
81
83
87 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
88 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
89 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
90 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
91 inline ListServiceDependenciesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
92 inline ListServiceDependenciesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
93 inline ListServiceDependenciesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
95
97
98 inline const Aws::String& GetRequestId() const{ return m_requestId; }
99 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
100 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
101 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
102 inline ListServiceDependenciesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
103 inline ListServiceDependenciesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
104 inline ListServiceDependenciesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
106 private:
107
108 Aws::Utils::DateTime m_startTime;
109
110 Aws::Utils::DateTime m_endTime;
111
112 Aws::Vector<ServiceDependency> m_serviceDependencies;
113
114 Aws::String m_nextToken;
115
116 Aws::String m_requestId;
117 };
118
119} // namespace Model
120} // namespace ApplicationSignals
121} // namespace Aws
ListServiceDependenciesResult & WithRequestId(const char *value)
void SetServiceDependencies(const Aws::Vector< ServiceDependency > &value)
ListServiceDependenciesResult & AddServiceDependencies(ServiceDependency &&value)
ListServiceDependenciesResult & AddServiceDependencies(const ServiceDependency &value)
ListServiceDependenciesResult & WithEndTime(Aws::Utils::DateTime &&value)
const Aws::Vector< ServiceDependency > & GetServiceDependencies() const
void SetServiceDependencies(Aws::Vector< ServiceDependency > &&value)
AWS_APPLICATIONSIGNALS_API ListServiceDependenciesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListServiceDependenciesResult & WithRequestId(Aws::String &&value)
ListServiceDependenciesResult & WithEndTime(const Aws::Utils::DateTime &value)
ListServiceDependenciesResult & WithNextToken(const Aws::String &value)
ListServiceDependenciesResult & WithStartTime(Aws::Utils::DateTime &&value)
ListServiceDependenciesResult & WithServiceDependencies(const Aws::Vector< ServiceDependency > &value)
ListServiceDependenciesResult & WithNextToken(const char *value)
ListServiceDependenciesResult & WithNextToken(Aws::String &&value)
ListServiceDependenciesResult & WithServiceDependencies(Aws::Vector< ServiceDependency > &&value)
ListServiceDependenciesResult & WithStartTime(const Aws::Utils::DateTime &value)
AWS_APPLICATIONSIGNALS_API ListServiceDependenciesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListServiceDependenciesResult & WithRequestId(const Aws::String &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