AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ListFleetsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace GameLift {
15namespace Model {
16
20 public:
21 AWS_GAMELIFT_API ListFleetsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "ListFleets"; }
28
29 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
30
32
34
39 inline const Aws::String& GetBuildId() const { return m_buildId; }
40 inline bool BuildIdHasBeenSet() const { return m_buildIdHasBeenSet; }
41 template <typename BuildIdT = Aws::String>
42 void SetBuildId(BuildIdT&& value) {
43 m_buildIdHasBeenSet = true;
44 m_buildId = std::forward<BuildIdT>(value);
45 }
46 template <typename BuildIdT = Aws::String>
47 ListFleetsRequest& WithBuildId(BuildIdT&& value) {
48 SetBuildId(std::forward<BuildIdT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::String& GetScriptId() const { return m_scriptId; }
60 inline bool ScriptIdHasBeenSet() const { return m_scriptIdHasBeenSet; }
61 template <typename ScriptIdT = Aws::String>
62 void SetScriptId(ScriptIdT&& value) {
63 m_scriptIdHasBeenSet = true;
64 m_scriptId = std::forward<ScriptIdT>(value);
65 }
66 template <typename ScriptIdT = Aws::String>
67 ListFleetsRequest& WithScriptId(ScriptIdT&& value) {
68 SetScriptId(std::forward<ScriptIdT>(value));
69 return *this;
70 }
72
74
78 inline int GetLimit() const { return m_limit; }
79 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
80 inline void SetLimit(int value) {
81 m_limitHasBeenSet = true;
82 m_limit = value;
83 }
84 inline ListFleetsRequest& WithLimit(int value) {
85 SetLimit(value);
86 return *this;
87 }
89
91
96 inline const Aws::String& GetNextToken() const { return m_nextToken; }
97 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
98 template <typename NextTokenT = Aws::String>
99 void SetNextToken(NextTokenT&& value) {
100 m_nextTokenHasBeenSet = true;
101 m_nextToken = std::forward<NextTokenT>(value);
102 }
103 template <typename NextTokenT = Aws::String>
104 ListFleetsRequest& WithNextToken(NextTokenT&& value) {
105 SetNextToken(std::forward<NextTokenT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_buildId;
111
112 Aws::String m_scriptId;
113
114 int m_limit{0};
115
116 Aws::String m_nextToken;
117 bool m_buildIdHasBeenSet = false;
118 bool m_scriptIdHasBeenSet = false;
119 bool m_limitHasBeenSet = false;
120 bool m_nextTokenHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace GameLift
125} // namespace Aws
AWS_GAMELIFT_API ListFleetsRequest()=default
const Aws::String & GetBuildId() const
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetScriptId() const
ListFleetsRequest & WithLimit(int value)
const Aws::String & GetNextToken() const
virtual const char * GetServiceRequestName() const override
ListFleetsRequest & WithNextToken(NextTokenT &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
ListFleetsRequest & WithScriptId(ScriptIdT &&value)
ListFleetsRequest & WithBuildId(BuildIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String