AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
11
12namespace Aws
13{
14namespace GameLift
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_GAMELIFT_API ListComputeRequest();
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 "ListCompute"; }
31
32 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetFleetId() const{ return m_fleetId; }
42 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
43 inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
44 inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
45 inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
46 inline ListComputeRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
47 inline ListComputeRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
48 inline ListComputeRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;}
50
52
58 inline const Aws::String& GetLocation() const{ return m_location; }
59 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
60 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
61 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
62 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
63 inline ListComputeRequest& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
64 inline ListComputeRequest& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
65 inline ListComputeRequest& WithLocation(const char* value) { SetLocation(value); return *this;}
67
69
73 inline int GetLimit() const{ return m_limit; }
74 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
75 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
76 inline ListComputeRequest& WithLimit(int value) { SetLimit(value); return *this;}
78
80
85 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
86 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
87 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
88 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
89 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
90 inline ListComputeRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
91 inline ListComputeRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
92 inline ListComputeRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
94 private:
95
96 Aws::String m_fleetId;
97 bool m_fleetIdHasBeenSet = false;
98
99 Aws::String m_location;
100 bool m_locationHasBeenSet = false;
101
102 int m_limit;
103 bool m_limitHasBeenSet = false;
104
105 Aws::String m_nextToken;
106 bool m_nextTokenHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace GameLift
111} // namespace Aws
ListComputeRequest & WithNextToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListComputeRequest & WithNextToken(Aws::String &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
ListComputeRequest & WithNextToken(const char *value)
ListComputeRequest & WithFleetId(Aws::String &&value)
ListComputeRequest & WithFleetId(const Aws::String &value)
ListComputeRequest & WithLocation(const Aws::String &value)
void SetFleetId(const Aws::String &value)
void SetNextToken(const Aws::String &value)
ListComputeRequest & WithLimit(int value)
void SetLocation(const Aws::String &value)
ListComputeRequest & WithFleetId(const char *value)
ListComputeRequest & WithLocation(Aws::String &&value)
ListComputeRequest & WithLocation(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String