AWS SDK for C++

AWS SDK for C++ Version 1.11.780

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
27 public:
28 AWS_DEADLINE_API GetSessionsStatisticsAggregationRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "GetSessionsStatisticsAggregation"; }
35
36 AWS_DEADLINE_API Aws::String SerializePayload() const override;
37
38 AWS_DEADLINE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
46 inline const Aws::String& GetFarmId() const { return m_farmId; }
47 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
48 template <typename FarmIdT = Aws::String>
49 void SetFarmId(FarmIdT&& value) {
50 m_farmIdHasBeenSet = true;
51 m_farmId = std::forward<FarmIdT>(value);
52 }
53 template <typename FarmIdT = Aws::String>
55 SetFarmId(std::forward<FarmIdT>(value));
56 return *this;
57 }
59
61
65 inline const Aws::String& GetNextToken() const { return m_nextToken; }
66 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
67 template <typename NextTokenT = Aws::String>
68 void SetNextToken(NextTokenT&& value) {
69 m_nextTokenHasBeenSet = true;
70 m_nextToken = std::forward<NextTokenT>(value);
71 }
72 template <typename NextTokenT = Aws::String>
74 SetNextToken(std::forward<NextTokenT>(value));
75 return *this;
76 }
78
80
84 inline int GetMaxResults() const { return m_maxResults; }
85 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
86 inline void SetMaxResults(int value) {
87 m_maxResultsHasBeenSet = true;
88 m_maxResults = value;
89 }
91 SetMaxResults(value);
92 return *this;
93 }
95
97
102 inline const Aws::String& GetAggregationId() const { return m_aggregationId; }
103 inline bool AggregationIdHasBeenSet() const { return m_aggregationIdHasBeenSet; }
104 template <typename AggregationIdT = Aws::String>
105 void SetAggregationId(AggregationIdT&& value) {
106 m_aggregationIdHasBeenSet = true;
107 m_aggregationId = std::forward<AggregationIdT>(value);
108 }
109 template <typename AggregationIdT = Aws::String>
111 SetAggregationId(std::forward<AggregationIdT>(value));
112 return *this;
113 }
115 private:
116 Aws::String m_farmId;
117
118 Aws::String m_nextToken;
119
120 int m_maxResults{0};
121
122 Aws::String m_aggregationId;
123 bool m_farmIdHasBeenSet = false;
124 bool m_nextTokenHasBeenSet = false;
125 bool m_maxResultsHasBeenSet = false;
126 bool m_aggregationIdHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace deadline
131} // 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