AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBuildId(const Aws::String& value) { m_buildIdHasBeenSet = true; m_buildId = value; }
46 inline void SetBuildId(Aws::String&& value) { m_buildIdHasBeenSet = true; m_buildId = std::move(value); }
47 inline void SetBuildId(const char* value) { m_buildIdHasBeenSet = true; m_buildId.assign(value); }
48 inline ListFleetsRequest& WithBuildId(const Aws::String& value) { SetBuildId(value); return *this;}
49 inline ListFleetsRequest& WithBuildId(Aws::String&& value) { SetBuildId(std::move(value)); return *this;}
50 inline ListFleetsRequest& WithBuildId(const char* value) { SetBuildId(value); return *this;}
52
54
59 inline const Aws::String& GetScriptId() const{ return m_scriptId; }
60 inline bool ScriptIdHasBeenSet() const { return m_scriptIdHasBeenSet; }
61 inline void SetScriptId(const Aws::String& value) { m_scriptIdHasBeenSet = true; m_scriptId = value; }
62 inline void SetScriptId(Aws::String&& value) { m_scriptIdHasBeenSet = true; m_scriptId = std::move(value); }
63 inline void SetScriptId(const char* value) { m_scriptIdHasBeenSet = true; m_scriptId.assign(value); }
64 inline ListFleetsRequest& WithScriptId(const Aws::String& value) { SetScriptId(value); return *this;}
65 inline ListFleetsRequest& WithScriptId(Aws::String&& value) { SetScriptId(std::move(value)); return *this;}
66 inline ListFleetsRequest& WithScriptId(const char* value) { SetScriptId(value); return *this;}
68
70
75 inline const Aws::String& GetContainerGroupDefinitionName() const{ return m_containerGroupDefinitionName; }
76 inline bool ContainerGroupDefinitionNameHasBeenSet() const { return m_containerGroupDefinitionNameHasBeenSet; }
77 inline void SetContainerGroupDefinitionName(const Aws::String& value) { m_containerGroupDefinitionNameHasBeenSet = true; m_containerGroupDefinitionName = value; }
78 inline void SetContainerGroupDefinitionName(Aws::String&& value) { m_containerGroupDefinitionNameHasBeenSet = true; m_containerGroupDefinitionName = std::move(value); }
79 inline void SetContainerGroupDefinitionName(const char* value) { m_containerGroupDefinitionNameHasBeenSet = true; m_containerGroupDefinitionName.assign(value); }
84
86
90 inline int GetLimit() const{ return m_limit; }
91 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
92 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
93 inline ListFleetsRequest& WithLimit(int value) { SetLimit(value); return *this;}
95
97
102 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
103 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
104 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
105 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
106 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
107 inline ListFleetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
108 inline ListFleetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
109 inline ListFleetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
111 private:
112
113 Aws::String m_buildId;
114 bool m_buildIdHasBeenSet = false;
115
116 Aws::String m_scriptId;
117 bool m_scriptIdHasBeenSet = false;
118
119 Aws::String m_containerGroupDefinitionName;
120 bool m_containerGroupDefinitionNameHasBeenSet = false;
121
122 int m_limit;
123 bool m_limitHasBeenSet = false;
124
125 Aws::String m_nextToken;
126 bool m_nextTokenHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace GameLift
131} // namespace Aws
ListFleetsRequest & WithBuildId(const Aws::String &value)
ListFleetsRequest & WithBuildId(const char *value)
const Aws::String & GetBuildId() const
ListFleetsRequest & WithContainerGroupDefinitionName(const char *value)
ListFleetsRequest & WithNextToken(Aws::String &&value)
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetContainerGroupDefinitionName(const char *value)
const Aws::String & GetScriptId() const
ListFleetsRequest & WithContainerGroupDefinitionName(Aws::String &&value)
void SetScriptId(const Aws::String &value)
ListFleetsRequest & WithLimit(int value)
ListFleetsRequest & WithContainerGroupDefinitionName(const Aws::String &value)
ListFleetsRequest & WithScriptId(Aws::String &&value)
void SetBuildId(const Aws::String &value)
void SetNextToken(const Aws::String &value)
ListFleetsRequest & WithNextToken(const char *value)
ListFleetsRequest & WithBuildId(Aws::String &&value)
const Aws::String & GetNextToken() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetContainerGroupDefinitionName() const
ListFleetsRequest & WithScriptId(const char *value)
ListFleetsRequest & WithScriptId(const Aws::String &value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
void SetContainerGroupDefinitionName(Aws::String &&value)
void SetContainerGroupDefinitionName(const Aws::String &value)
ListFleetsRequest & WithNextToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String