AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSessionsStatisticsAggregationResult.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/deadline/model/SessionsStatisticsAggregationStatus.h>
11#include <aws/deadline/model/Statistics.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 deadline
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline const Aws::Vector<Statistics>& GetStatistics() const{ return m_statistics; }
43 inline void SetStatistics(const Aws::Vector<Statistics>& value) { m_statistics = value; }
44 inline void SetStatistics(Aws::Vector<Statistics>&& value) { m_statistics = std::move(value); }
47 inline GetSessionsStatisticsAggregationResult& AddStatistics(const Statistics& value) { m_statistics.push_back(value); return *this; }
48 inline GetSessionsStatisticsAggregationResult& AddStatistics(Statistics&& value) { m_statistics.push_back(std::move(value)); return *this; }
50
52
61 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
62 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
63 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
64 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
66 inline GetSessionsStatisticsAggregationResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
67 inline GetSessionsStatisticsAggregationResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
69
71
81 inline const SessionsStatisticsAggregationStatus& GetStatus() const{ return m_status; }
82 inline void SetStatus(const SessionsStatisticsAggregationStatus& value) { m_status = value; }
83 inline void SetStatus(SessionsStatisticsAggregationStatus&& value) { m_status = std::move(value); }
87
89
92 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
93 inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
94 inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
95 inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
97 inline GetSessionsStatisticsAggregationResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
98 inline GetSessionsStatisticsAggregationResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
100
102
103 inline const Aws::String& GetRequestId() const{ return m_requestId; }
104 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
105 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
106 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
108 inline GetSessionsStatisticsAggregationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
109 inline GetSessionsStatisticsAggregationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
111 private:
112
113 Aws::Vector<Statistics> m_statistics;
114
115 Aws::String m_nextToken;
116
118
119 Aws::String m_statusMessage;
120
121 Aws::String m_requestId;
122 };
123
124} // namespace Model
125} // namespace deadline
126} // namespace Aws
GetSessionsStatisticsAggregationResult & WithRequestId(Aws::String &&value)
AWS_DEADLINE_API GetSessionsStatisticsAggregationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSessionsStatisticsAggregationResult & WithNextToken(const char *value)
GetSessionsStatisticsAggregationResult & WithStatus(const SessionsStatisticsAggregationStatus &value)
GetSessionsStatisticsAggregationResult & WithStatistics(Aws::Vector< Statistics > &&value)
GetSessionsStatisticsAggregationResult & AddStatistics(Statistics &&value)
GetSessionsStatisticsAggregationResult & AddStatistics(const Statistics &value)
GetSessionsStatisticsAggregationResult & WithStatusMessage(Aws::String &&value)
GetSessionsStatisticsAggregationResult & WithStatusMessage(const char *value)
GetSessionsStatisticsAggregationResult & WithStatistics(const Aws::Vector< Statistics > &value)
GetSessionsStatisticsAggregationResult & WithStatusMessage(const Aws::String &value)
GetSessionsStatisticsAggregationResult & WithRequestId(const Aws::String &value)
GetSessionsStatisticsAggregationResult & WithNextToken(const Aws::String &value)
GetSessionsStatisticsAggregationResult & WithStatus(SessionsStatisticsAggregationStatus &&value)
GetSessionsStatisticsAggregationResult & WithNextToken(Aws::String &&value)
AWS_DEADLINE_API GetSessionsStatisticsAggregationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSessionsStatisticsAggregationResult & WithRequestId(const char *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