AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListServicesResult.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/ServiceSummary.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 ListServicesResult();
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 ListServicesResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
50 inline ListServicesResult& 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 ListServicesResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
65 inline ListServicesResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
67
69
74 inline const Aws::Vector<ServiceSummary>& GetServiceSummaries() const{ return m_serviceSummaries; }
75 inline void SetServiceSummaries(const Aws::Vector<ServiceSummary>& value) { m_serviceSummaries = value; }
76 inline void SetServiceSummaries(Aws::Vector<ServiceSummary>&& value) { m_serviceSummaries = std::move(value); }
79 inline ListServicesResult& AddServiceSummaries(const ServiceSummary& value) { m_serviceSummaries.push_back(value); return *this; }
80 inline ListServicesResult& AddServiceSummaries(ServiceSummary&& value) { m_serviceSummaries.push_back(std::move(value)); return *this; }
82
84
88 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
89 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
90 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
91 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
92 inline ListServicesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
93 inline ListServicesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
94 inline ListServicesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
96
98
99 inline const Aws::String& GetRequestId() const{ return m_requestId; }
100 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
101 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
102 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
103 inline ListServicesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
104 inline ListServicesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
105 inline ListServicesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
107 private:
108
109 Aws::Utils::DateTime m_startTime;
110
111 Aws::Utils::DateTime m_endTime;
112
113 Aws::Vector<ServiceSummary> m_serviceSummaries;
114
115 Aws::String m_nextToken;
116
117 Aws::String m_requestId;
118 };
119
120} // namespace Model
121} // namespace ApplicationSignals
122} // namespace Aws
void SetStartTime(const Aws::Utils::DateTime &value)
AWS_APPLICATIONSIGNALS_API ListServicesResult()
ListServicesResult & WithNextToken(Aws::String &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
ListServicesResult & WithEndTime(Aws::Utils::DateTime &&value)
AWS_APPLICATIONSIGNALS_API ListServicesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListServicesResult & WithServiceSummaries(const Aws::Vector< ServiceSummary > &value)
const Aws::Utils::DateTime & GetEndTime() const
void SetServiceSummaries(Aws::Vector< ServiceSummary > &&value)
ListServicesResult & WithEndTime(const Aws::Utils::DateTime &value)
ListServicesResult & WithRequestId(const char *value)
ListServicesResult & WithRequestId(const Aws::String &value)
ListServicesResult & AddServiceSummaries(const ServiceSummary &value)
ListServicesResult & WithNextToken(const char *value)
ListServicesResult & WithStartTime(Aws::Utils::DateTime &&value)
const Aws::Vector< ServiceSummary > & GetServiceSummaries() const
AWS_APPLICATIONSIGNALS_API ListServicesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListServicesResult & WithServiceSummaries(Aws::Vector< ServiceSummary > &&value)
void SetStartTime(Aws::Utils::DateTime &&value)
ListServicesResult & WithNextToken(const Aws::String &value)
ListServicesResult & WithRequestId(Aws::String &&value)
const Aws::Utils::DateTime & GetStartTime() const
ListServicesResult & AddServiceSummaries(ServiceSummary &&value)
ListServicesResult & WithStartTime(const Aws::Utils::DateTime &value)
void SetServiceSummaries(const Aws::Vector< ServiceSummary > &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