AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ClaimGameServerRequest.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/ClaimFilterOption.h>
11#include <utility>
12
13namespace Aws
14{
15namespace GameLift
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GAMELIFT_API ClaimGameServerRequest() = 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 "ClaimGameServer"; }
32
33 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
34
36
37
39
45 inline const Aws::String& GetGameServerGroupName() const { return m_gameServerGroupName; }
46 inline bool GameServerGroupNameHasBeenSet() const { return m_gameServerGroupNameHasBeenSet; }
47 template<typename GameServerGroupNameT = Aws::String>
48 void SetGameServerGroupName(GameServerGroupNameT&& value) { m_gameServerGroupNameHasBeenSet = true; m_gameServerGroupName = std::forward<GameServerGroupNameT>(value); }
49 template<typename GameServerGroupNameT = Aws::String>
50 ClaimGameServerRequest& WithGameServerGroupName(GameServerGroupNameT&& value) { SetGameServerGroupName(std::forward<GameServerGroupNameT>(value)); return *this;}
52
54
59 inline const Aws::String& GetGameServerId() const { return m_gameServerId; }
60 inline bool GameServerIdHasBeenSet() const { return m_gameServerIdHasBeenSet; }
61 template<typename GameServerIdT = Aws::String>
62 void SetGameServerId(GameServerIdT&& value) { m_gameServerIdHasBeenSet = true; m_gameServerId = std::forward<GameServerIdT>(value); }
63 template<typename GameServerIdT = Aws::String>
64 ClaimGameServerRequest& WithGameServerId(GameServerIdT&& value) { SetGameServerId(std::forward<GameServerIdT>(value)); return *this;}
66
68
73 inline const Aws::String& GetGameServerData() const { return m_gameServerData; }
74 inline bool GameServerDataHasBeenSet() const { return m_gameServerDataHasBeenSet; }
75 template<typename GameServerDataT = Aws::String>
76 void SetGameServerData(GameServerDataT&& value) { m_gameServerDataHasBeenSet = true; m_gameServerData = std::forward<GameServerDataT>(value); }
77 template<typename GameServerDataT = Aws::String>
78 ClaimGameServerRequest& WithGameServerData(GameServerDataT&& value) { SetGameServerData(std::forward<GameServerDataT>(value)); return *this;}
80
82
85 inline const ClaimFilterOption& GetFilterOption() const { return m_filterOption; }
86 inline bool FilterOptionHasBeenSet() const { return m_filterOptionHasBeenSet; }
87 template<typename FilterOptionT = ClaimFilterOption>
88 void SetFilterOption(FilterOptionT&& value) { m_filterOptionHasBeenSet = true; m_filterOption = std::forward<FilterOptionT>(value); }
89 template<typename FilterOptionT = ClaimFilterOption>
90 ClaimGameServerRequest& WithFilterOption(FilterOptionT&& value) { SetFilterOption(std::forward<FilterOptionT>(value)); return *this;}
92 private:
93
94 Aws::String m_gameServerGroupName;
95 bool m_gameServerGroupNameHasBeenSet = false;
96
97 Aws::String m_gameServerId;
98 bool m_gameServerIdHasBeenSet = false;
99
100 Aws::String m_gameServerData;
101 bool m_gameServerDataHasBeenSet = false;
102
103 ClaimFilterOption m_filterOption;
104 bool m_filterOptionHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace GameLift
109} // namespace Aws
AWS_GAMELIFT_API ClaimGameServerRequest()=default
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ClaimGameServerRequest & WithGameServerData(GameServerDataT &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ClaimGameServerRequest & WithGameServerId(GameServerIdT &&value)
void SetGameServerGroupName(GameServerGroupNameT &&value)
ClaimGameServerRequest & WithGameServerGroupName(GameServerGroupNameT &&value)
const ClaimFilterOption & GetFilterOption() const
ClaimGameServerRequest & WithFilterOption(FilterOptionT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String