AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeFleetLocationAttributesRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace GameLift
16{
17namespace Model
18{
19
23 {
24 public:
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 "DescribeFleetLocationAttributes"; }
32
33 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetFleetId() const{ return m_fleetId; }
44 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
45 inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
46 inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
47 inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
48 inline DescribeFleetLocationAttributesRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
49 inline DescribeFleetLocationAttributesRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
50 inline DescribeFleetLocationAttributesRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;}
52
54
59 inline const Aws::Vector<Aws::String>& GetLocations() const{ return m_locations; }
60 inline bool LocationsHasBeenSet() const { return m_locationsHasBeenSet; }
61 inline void SetLocations(const Aws::Vector<Aws::String>& value) { m_locationsHasBeenSet = true; m_locations = value; }
62 inline void SetLocations(Aws::Vector<Aws::String>&& value) { m_locationsHasBeenSet = true; m_locations = std::move(value); }
65 inline DescribeFleetLocationAttributesRequest& AddLocations(const Aws::String& value) { m_locationsHasBeenSet = true; m_locations.push_back(value); return *this; }
66 inline DescribeFleetLocationAttributesRequest& AddLocations(Aws::String&& value) { m_locationsHasBeenSet = true; m_locations.push_back(std::move(value)); return *this; }
67 inline DescribeFleetLocationAttributesRequest& AddLocations(const char* value) { m_locationsHasBeenSet = true; m_locations.push_back(value); return *this; }
69
71
76 inline int GetLimit() const{ return m_limit; }
77 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
78 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
79 inline DescribeFleetLocationAttributesRequest& WithLimit(int value) { SetLimit(value); return *this;}
81
83
88 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
89 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
90 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
91 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
92 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
94 inline DescribeFleetLocationAttributesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
95 inline DescribeFleetLocationAttributesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
97 private:
98
99 Aws::String m_fleetId;
100 bool m_fleetIdHasBeenSet = false;
101
102 Aws::Vector<Aws::String> m_locations;
103 bool m_locationsHasBeenSet = false;
104
105 int m_limit;
106 bool m_limitHasBeenSet = false;
107
108 Aws::String m_nextToken;
109 bool m_nextTokenHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace GameLift
114} // namespace Aws
DescribeFleetLocationAttributesRequest & WithLocations(Aws::Vector< Aws::String > &&value)
DescribeFleetLocationAttributesRequest & AddLocations(const Aws::String &value)
DescribeFleetLocationAttributesRequest & AddLocations(const char *value)
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeFleetLocationAttributesRequest & WithLocations(const Aws::Vector< Aws::String > &value)
DescribeFleetLocationAttributesRequest & WithFleetId(const char *value)
DescribeFleetLocationAttributesRequest & WithFleetId(Aws::String &&value)
DescribeFleetLocationAttributesRequest & WithFleetId(const Aws::String &value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
DescribeFleetLocationAttributesRequest & WithNextToken(const char *value)
DescribeFleetLocationAttributesRequest & AddLocations(Aws::String &&value)
DescribeFleetLocationAttributesRequest & WithNextToken(Aws::String &&value)
DescribeFleetLocationAttributesRequest & WithNextToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector