AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListServiceDependentsResult.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/ServiceDependent.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 ListServiceDependentsResult();
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); }
49 inline ListServiceDependentsResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
50 inline ListServiceDependentsResult& 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 ListServiceDependentsResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
65 inline ListServiceDependentsResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
67
69
73 inline const Aws::Vector<ServiceDependent>& GetServiceDependents() const{ return m_serviceDependents; }
74 inline void SetServiceDependents(const Aws::Vector<ServiceDependent>& value) { m_serviceDependents = value; }
75 inline void SetServiceDependents(Aws::Vector<ServiceDependent>&& value) { m_serviceDependents = std::move(value); }
78 inline ListServiceDependentsResult& AddServiceDependents(const ServiceDependent& value) { m_serviceDependents.push_back(value); return *this; }
79 inline ListServiceDependentsResult& AddServiceDependents(ServiceDependent&& value) { m_serviceDependents.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 ListServiceDependentsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
92 inline ListServiceDependentsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
93 inline ListServiceDependentsResult& 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 ListServiceDependentsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
103 inline ListServiceDependentsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
104 inline ListServiceDependentsResult& 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<ServiceDependent> m_serviceDependents;
113
114 Aws::String m_nextToken;
115
116 Aws::String m_requestId;
117 };
118
119} // namespace Model
120} // namespace ApplicationSignals
121} // namespace Aws
ListServiceDependentsResult & WithNextToken(Aws::String &&value)
void SetServiceDependents(const Aws::Vector< ServiceDependent > &value)
ListServiceDependentsResult & WithEndTime(Aws::Utils::DateTime &&value)
ListServiceDependentsResult & AddServiceDependents(const ServiceDependent &value)
ListServiceDependentsResult & WithServiceDependents(const Aws::Vector< ServiceDependent > &value)
ListServiceDependentsResult & WithNextToken(const char *value)
AWS_APPLICATIONSIGNALS_API ListServiceDependentsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListServiceDependentsResult & WithRequestId(Aws::String &&value)
ListServiceDependentsResult & WithRequestId(const Aws::String &value)
AWS_APPLICATIONSIGNALS_API ListServiceDependentsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListServiceDependentsResult & WithNextToken(const Aws::String &value)
ListServiceDependentsResult & WithStartTime(Aws::Utils::DateTime &&value)
ListServiceDependentsResult & WithStartTime(const Aws::Utils::DateTime &value)
const Aws::Vector< ServiceDependent > & GetServiceDependents() const
ListServiceDependentsResult & WithRequestId(const char *value)
ListServiceDependentsResult & AddServiceDependents(ServiceDependent &&value)
ListServiceDependentsResult & WithServiceDependents(Aws::Vector< ServiceDependent > &&value)
void SetServiceDependents(Aws::Vector< ServiceDependent > &&value)
ListServiceDependentsResult & WithEndTime(const Aws::Utils::DateTime &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