AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
GetSessionsStatisticsAggregationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/deadline/DeadlineRequest.h>
9#include <aws/deadline/Deadline_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace deadline {
18namespace Model {
19
23 public:
24 AWS_DEADLINE_API GetSessionsStatisticsAggregationRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetSessionsStatisticsAggregation"; }
31
32 AWS_DEADLINE_API Aws::String SerializePayload() const override;
33
34 AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
42 inline const Aws::String& GetFarmId() const { return m_farmId; }
43 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
44 template <typename FarmIdT = Aws::String>
45 void SetFarmId(FarmIdT&& value) {
46 m_farmIdHasBeenSet = true;
47 m_farmId = std::forward<FarmIdT>(value);
48 }
49 template <typename FarmIdT = Aws::String>
51 SetFarmId(std::forward<FarmIdT>(value));
52 return *this;
53 }
55
57
62 inline const Aws::String& GetAggregationId() const { return m_aggregationId; }
63 inline bool AggregationIdHasBeenSet() const { return m_aggregationIdHasBeenSet; }
64 template <typename AggregationIdT = Aws::String>
65 void SetAggregationId(AggregationIdT&& value) {
66 m_aggregationIdHasBeenSet = true;
67 m_aggregationId = std::forward<AggregationIdT>(value);
68 }
69 template <typename AggregationIdT = Aws::String>
71 SetAggregationId(std::forward<AggregationIdT>(value));
72 return *this;
73 }
75
77
81 inline int GetMaxResults() const { return m_maxResults; }
82 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
83 inline void SetMaxResults(int value) {
84 m_maxResultsHasBeenSet = true;
85 m_maxResults = value;
86 }
88 SetMaxResults(value);
89 return *this;
90 }
92
94
98 inline const Aws::String& GetNextToken() const { return m_nextToken; }
99 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
100 template <typename NextTokenT = Aws::String>
101 void SetNextToken(NextTokenT&& value) {
102 m_nextTokenHasBeenSet = true;
103 m_nextToken = std::forward<NextTokenT>(value);
104 }
105 template <typename NextTokenT = Aws::String>
107 SetNextToken(std::forward<NextTokenT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_farmId;
113
114 Aws::String m_aggregationId;
115
116 int m_maxResults{0};
117
118 Aws::String m_nextToken;
119 bool m_farmIdHasBeenSet = false;
120 bool m_aggregationIdHasBeenSet = false;
121 bool m_maxResultsHasBeenSet = false;
122 bool m_nextTokenHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace deadline
127} // namespace Aws
AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_DEADLINE_API Aws::String SerializePayload() const override
GetSessionsStatisticsAggregationRequest & WithAggregationId(AggregationIdT &&value)
GetSessionsStatisticsAggregationRequest & WithFarmId(FarmIdT &&value)
GetSessionsStatisticsAggregationRequest & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String