AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListFleetsRequest.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace GameLift
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_GAMELIFT_API ListFleetsRequest() = 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 "ListFleets"; }
31
32 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
33
35
36
38
43 inline const Aws::String& GetBuildId() const { return m_buildId; }
44 inline bool BuildIdHasBeenSet() const { return m_buildIdHasBeenSet; }
45 template<typename BuildIdT = Aws::String>
46 void SetBuildId(BuildIdT&& value) { m_buildIdHasBeenSet = true; m_buildId = std::forward<BuildIdT>(value); }
47 template<typename BuildIdT = Aws::String>
48 ListFleetsRequest& WithBuildId(BuildIdT&& value) { SetBuildId(std::forward<BuildIdT>(value)); return *this;}
50
52
57 inline const Aws::String& GetScriptId() const { return m_scriptId; }
58 inline bool ScriptIdHasBeenSet() const { return m_scriptIdHasBeenSet; }
59 template<typename ScriptIdT = Aws::String>
60 void SetScriptId(ScriptIdT&& value) { m_scriptIdHasBeenSet = true; m_scriptId = std::forward<ScriptIdT>(value); }
61 template<typename ScriptIdT = Aws::String>
62 ListFleetsRequest& WithScriptId(ScriptIdT&& value) { SetScriptId(std::forward<ScriptIdT>(value)); return *this;}
64
66
70 inline int GetLimit() const { return m_limit; }
71 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
72 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
73 inline ListFleetsRequest& WithLimit(int value) { SetLimit(value); return *this;}
75
77
82 inline const Aws::String& GetNextToken() const { return m_nextToken; }
83 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
84 template<typename NextTokenT = Aws::String>
85 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
86 template<typename NextTokenT = Aws::String>
87 ListFleetsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
89 private:
90
91 Aws::String m_buildId;
92 bool m_buildIdHasBeenSet = false;
93
94 Aws::String m_scriptId;
95 bool m_scriptIdHasBeenSet = false;
96
97 int m_limit{0};
98 bool m_limitHasBeenSet = false;
99
100 Aws::String m_nextToken;
101 bool m_nextTokenHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace GameLift
106} // 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