AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
36
37
39
46 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
47 template<typename StartTimeT = Aws::Utils::DateTime>
48 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
49 template<typename StartTimeT = Aws::Utils::DateTime>
50 ListServiceOperationsResult& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
52
54
61 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
62 template<typename EndTimeT = Aws::Utils::DateTime>
63 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
64 template<typename EndTimeT = Aws::Utils::DateTime>
65 ListServiceOperationsResult& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
67
69
73 inline const Aws::Vector<ServiceOperation>& GetServiceOperations() const { return m_serviceOperations; }
74 template<typename ServiceOperationsT = Aws::Vector<ServiceOperation>>
75 void SetServiceOperations(ServiceOperationsT&& value) { m_serviceOperationsHasBeenSet = true; m_serviceOperations = std::forward<ServiceOperationsT>(value); }
76 template<typename ServiceOperationsT = Aws::Vector<ServiceOperation>>
77 ListServiceOperationsResult& WithServiceOperations(ServiceOperationsT&& value) { SetServiceOperations(std::forward<ServiceOperationsT>(value)); return *this;}
78 template<typename ServiceOperationsT = ServiceOperation>
79 ListServiceOperationsResult& AddServiceOperations(ServiceOperationsT&& value) { m_serviceOperationsHasBeenSet = true; m_serviceOperations.emplace_back(std::forward<ServiceOperationsT>(value)); return *this; }
81
83
87 inline const Aws::String& GetNextToken() const { return m_nextToken; }
88 template<typename NextTokenT = Aws::String>
89 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
90 template<typename NextTokenT = Aws::String>
91 ListServiceOperationsResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
93
95
96 inline const Aws::String& GetRequestId() const { return m_requestId; }
97 template<typename RequestIdT = Aws::String>
98 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
99 template<typename RequestIdT = Aws::String>
100 ListServiceOperationsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
102 private:
103
104 Aws::Utils::DateTime m_startTime{};
105 bool m_startTimeHasBeenSet = false;
106
107 Aws::Utils::DateTime m_endTime{};
108 bool m_endTimeHasBeenSet = false;
109
110 Aws::Vector<ServiceOperation> m_serviceOperations;
111 bool m_serviceOperationsHasBeenSet = false;
112
113 Aws::String m_nextToken;
114 bool m_nextTokenHasBeenSet = false;
115
116 Aws::String m_requestId;
117 bool m_requestIdHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace ApplicationSignals
122} // namespace Aws
AWS_APPLICATIONSIGNALS_API ListServiceOperationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListServiceOperationsResult & WithServiceOperations(ServiceOperationsT &&value)
ListServiceOperationsResult & WithStartTime(StartTimeT &&value)
AWS_APPLICATIONSIGNALS_API ListServiceOperationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListServiceOperationsResult & AddServiceOperations(ServiceOperationsT &&value)
ListServiceOperationsResult & WithEndTime(EndTimeT &&value)
ListServiceOperationsResult & WithNextToken(NextTokenT &&value)
ListServiceOperationsResult & WithRequestId(RequestIdT &&value)
AWS_APPLICATIONSIGNALS_API ListServiceOperationsResult()=default
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