AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListServiceOperationsResult.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/ServiceOperation.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 ListServiceOperationsResult();
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 ListServiceOperationsResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
50 inline ListServiceOperationsResult& 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 ListServiceOperationsResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
65 inline ListServiceOperationsResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
67
69
73 inline const Aws::Vector<ServiceOperation>& GetServiceOperations() const{ return m_serviceOperations; }
74 inline void SetServiceOperations(const Aws::Vector<ServiceOperation>& value) { m_serviceOperations = value; }
75 inline void SetServiceOperations(Aws::Vector<ServiceOperation>&& value) { m_serviceOperations = std::move(value); }
78 inline ListServiceOperationsResult& AddServiceOperations(const ServiceOperation& value) { m_serviceOperations.push_back(value); return *this; }
79 inline ListServiceOperationsResult& AddServiceOperations(ServiceOperation&& value) { m_serviceOperations.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 ListServiceOperationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
92 inline ListServiceOperationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
93 inline ListServiceOperationsResult& 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 ListServiceOperationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
103 inline ListServiceOperationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
104 inline ListServiceOperationsResult& 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<ServiceOperation> m_serviceOperations;
113
114 Aws::String m_nextToken;
115
116 Aws::String m_requestId;
117 };
118
119} // namespace Model
120} // namespace ApplicationSignals
121} // namespace Aws
ListServiceOperationsResult & WithNextToken(const char *value)
ListServiceOperationsResult & WithEndTime(const Aws::Utils::DateTime &value)
ListServiceOperationsResult & WithRequestId(const char *value)
void SetServiceOperations(Aws::Vector< ServiceOperation > &&value)
ListServiceOperationsResult & WithServiceOperations(const Aws::Vector< ServiceOperation > &value)
ListServiceOperationsResult & WithStartTime(Aws::Utils::DateTime &&value)
AWS_APPLICATIONSIGNALS_API ListServiceOperationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListServiceOperationsResult & AddServiceOperations(ServiceOperation &&value)
ListServiceOperationsResult & WithRequestId(Aws::String &&value)
void SetServiceOperations(const Aws::Vector< ServiceOperation > &value)
ListServiceOperationsResult & WithNextToken(const Aws::String &value)
AWS_APPLICATIONSIGNALS_API ListServiceOperationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListServiceOperationsResult & AddServiceOperations(const ServiceOperation &value)
ListServiceOperationsResult & WithRequestId(const Aws::String &value)
ListServiceOperationsResult & WithNextToken(Aws::String &&value)
ListServiceOperationsResult & WithStartTime(const Aws::Utils::DateTime &value)
ListServiceOperationsResult & WithServiceOperations(Aws::Vector< ServiceOperation > &&value)
ListServiceOperationsResult & WithEndTime(Aws::Utils::DateTime &&value)
const Aws::Vector< ServiceOperation > & GetServiceOperations() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue