AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListComputeRequest.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 <aws/gamelift/model/ListComputeInputStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace GameLift
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GAMELIFT_API ListComputeRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListCompute"; }
32
33 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetFleetId() const { return m_fleetId; }
43 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
44 template<typename FleetIdT = Aws::String>
45 void SetFleetId(FleetIdT&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::forward<FleetIdT>(value); }
46 template<typename FleetIdT = Aws::String>
47 ListComputeRequest& WithFleetId(FleetIdT&& value) { SetFleetId(std::forward<FleetIdT>(value)); return *this;}
49
51
57 inline const Aws::String& GetLocation() const { return m_location; }
58 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
59 template<typename LocationT = Aws::String>
60 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
61 template<typename LocationT = Aws::String>
62 ListComputeRequest& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
64
66
70 inline const Aws::String& GetContainerGroupDefinitionName() const { return m_containerGroupDefinitionName; }
71 inline bool ContainerGroupDefinitionNameHasBeenSet() const { return m_containerGroupDefinitionNameHasBeenSet; }
72 template<typename ContainerGroupDefinitionNameT = Aws::String>
73 void SetContainerGroupDefinitionName(ContainerGroupDefinitionNameT&& value) { m_containerGroupDefinitionNameHasBeenSet = true; m_containerGroupDefinitionName = std::forward<ContainerGroupDefinitionNameT>(value); }
74 template<typename ContainerGroupDefinitionNameT = Aws::String>
75 ListComputeRequest& WithContainerGroupDefinitionName(ContainerGroupDefinitionNameT&& value) { SetContainerGroupDefinitionName(std::forward<ContainerGroupDefinitionNameT>(value)); return *this;}
77
79
87 inline ListComputeInputStatus GetComputeStatus() const { return m_computeStatus; }
88 inline bool ComputeStatusHasBeenSet() const { return m_computeStatusHasBeenSet; }
89 inline void SetComputeStatus(ListComputeInputStatus value) { m_computeStatusHasBeenSet = true; m_computeStatus = value; }
92
94
98 inline int GetLimit() const { return m_limit; }
99 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
100 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
101 inline ListComputeRequest& WithLimit(int value) { SetLimit(value); return *this;}
103
105
110 inline const Aws::String& GetNextToken() const { return m_nextToken; }
111 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
112 template<typename NextTokenT = Aws::String>
113 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
114 template<typename NextTokenT = Aws::String>
115 ListComputeRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
117 private:
118
119 Aws::String m_fleetId;
120 bool m_fleetIdHasBeenSet = false;
121
122 Aws::String m_location;
123 bool m_locationHasBeenSet = false;
124
125 Aws::String m_containerGroupDefinitionName;
126 bool m_containerGroupDefinitionNameHasBeenSet = false;
127
129 bool m_computeStatusHasBeenSet = false;
130
131 int m_limit{0};
132 bool m_limitHasBeenSet = false;
133
134 Aws::String m_nextToken;
135 bool m_nextTokenHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace GameLift
140} // namespace Aws
ListComputeRequest & WithFleetId(FleetIdT &&value)
ListComputeRequest & WithContainerGroupDefinitionName(ContainerGroupDefinitionNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_GAMELIFT_API ListComputeRequest()=default
ListComputeRequest & WithNextToken(NextTokenT &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
const Aws::String & GetContainerGroupDefinitionName() const
void SetContainerGroupDefinitionName(ContainerGroupDefinitionNameT &&value)
ListComputeRequest & WithLocation(LocationT &&value)
ListComputeRequest & WithComputeStatus(ListComputeInputStatus value)
void SetComputeStatus(ListComputeInputStatus value)
ListComputeRequest & WithLimit(int value)
ListComputeInputStatus GetComputeStatus() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String