AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGameServerGroupName(const Aws::String& value) { m_gameServerGroupNameHasBeenSet = true; m_gameServerGroupName = value; }
48 inline void SetGameServerGroupName(Aws::String&& value) { m_gameServerGroupNameHasBeenSet = true; m_gameServerGroupName = std::move(value); }
49 inline void SetGameServerGroupName(const char* value) { m_gameServerGroupNameHasBeenSet = true; m_gameServerGroupName.assign(value); }
51 inline ClaimGameServerRequest& WithGameServerGroupName(Aws::String&& value) { SetGameServerGroupName(std::move(value)); return *this;}
52 inline ClaimGameServerRequest& WithGameServerGroupName(const char* value) { SetGameServerGroupName(value); return *this;}
54
56
61 inline const Aws::String& GetGameServerId() const{ return m_gameServerId; }
62 inline bool GameServerIdHasBeenSet() const { return m_gameServerIdHasBeenSet; }
63 inline void SetGameServerId(const Aws::String& value) { m_gameServerIdHasBeenSet = true; m_gameServerId = value; }
64 inline void SetGameServerId(Aws::String&& value) { m_gameServerIdHasBeenSet = true; m_gameServerId = std::move(value); }
65 inline void SetGameServerId(const char* value) { m_gameServerIdHasBeenSet = true; m_gameServerId.assign(value); }
66 inline ClaimGameServerRequest& WithGameServerId(const Aws::String& value) { SetGameServerId(value); return *this;}
67 inline ClaimGameServerRequest& WithGameServerId(Aws::String&& value) { SetGameServerId(std::move(value)); return *this;}
68 inline ClaimGameServerRequest& WithGameServerId(const char* value) { SetGameServerId(value); return *this;}
70
72
77 inline const Aws::String& GetGameServerData() const{ return m_gameServerData; }
78 inline bool GameServerDataHasBeenSet() const { return m_gameServerDataHasBeenSet; }
79 inline void SetGameServerData(const Aws::String& value) { m_gameServerDataHasBeenSet = true; m_gameServerData = value; }
80 inline void SetGameServerData(Aws::String&& value) { m_gameServerDataHasBeenSet = true; m_gameServerData = std::move(value); }
81 inline void SetGameServerData(const char* value) { m_gameServerDataHasBeenSet = true; m_gameServerData.assign(value); }
82 inline ClaimGameServerRequest& WithGameServerData(const Aws::String& value) { SetGameServerData(value); return *this;}
83 inline ClaimGameServerRequest& WithGameServerData(Aws::String&& value) { SetGameServerData(std::move(value)); return *this;}
84 inline ClaimGameServerRequest& WithGameServerData(const char* value) { SetGameServerData(value); return *this;}
86
88
91 inline const ClaimFilterOption& GetFilterOption() const{ return m_filterOption; }
92 inline bool FilterOptionHasBeenSet() const { return m_filterOptionHasBeenSet; }
93 inline void SetFilterOption(const ClaimFilterOption& value) { m_filterOptionHasBeenSet = true; m_filterOption = value; }
94 inline void SetFilterOption(ClaimFilterOption&& value) { m_filterOptionHasBeenSet = true; m_filterOption = std::move(value); }
95 inline ClaimGameServerRequest& WithFilterOption(const ClaimFilterOption& value) { SetFilterOption(value); return *this;}
96 inline ClaimGameServerRequest& WithFilterOption(ClaimFilterOption&& value) { SetFilterOption(std::move(value)); return *this;}
98 private:
99
100 Aws::String m_gameServerGroupName;
101 bool m_gameServerGroupNameHasBeenSet = false;
102
103 Aws::String m_gameServerId;
104 bool m_gameServerIdHasBeenSet = false;
105
106 Aws::String m_gameServerData;
107 bool m_gameServerDataHasBeenSet = false;
108
109 ClaimFilterOption m_filterOption;
110 bool m_filterOptionHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace GameLift
115} // namespace Aws
void SetGameServerGroupName(const Aws::String &value)
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ClaimGameServerRequest & WithGameServerId(Aws::String &&value)
ClaimGameServerRequest & WithFilterOption(const ClaimFilterOption &value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ClaimGameServerRequest & WithGameServerData(Aws::String &&value)
ClaimGameServerRequest & WithGameServerGroupName(const Aws::String &value)
ClaimGameServerRequest & WithFilterOption(ClaimFilterOption &&value)
ClaimGameServerRequest & WithGameServerData(const Aws::String &value)
ClaimGameServerRequest & WithGameServerId(const Aws::String &value)
ClaimGameServerRequest & WithGameServerGroupName(const char *value)
void SetFilterOption(const ClaimFilterOption &value)
const ClaimFilterOption & GetFilterOption() const
ClaimGameServerRequest & WithGameServerGroupName(Aws::String &&value)
ClaimGameServerRequest & WithGameServerData(const char *value)
ClaimGameServerRequest & WithGameServerId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String