AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
DeregisterGameServerRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace GameLift {
15namespace Model {
16
20 public:
21 AWS_GAMELIFT_API DeregisterGameServerRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DeregisterGameServer"; }
28
29 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
30
32
34
38 inline const Aws::String& GetGameServerGroupName() const { return m_gameServerGroupName; }
39 inline bool GameServerGroupNameHasBeenSet() const { return m_gameServerGroupNameHasBeenSet; }
40 template <typename GameServerGroupNameT = Aws::String>
41 void SetGameServerGroupName(GameServerGroupNameT&& value) {
42 m_gameServerGroupNameHasBeenSet = true;
43 m_gameServerGroupName = std::forward<GameServerGroupNameT>(value);
44 }
45 template <typename GameServerGroupNameT = Aws::String>
47 SetGameServerGroupName(std::forward<GameServerGroupNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetGameServerId() const { return m_gameServerId; }
57 inline bool GameServerIdHasBeenSet() const { return m_gameServerIdHasBeenSet; }
58 template <typename GameServerIdT = Aws::String>
59 void SetGameServerId(GameServerIdT&& value) {
60 m_gameServerIdHasBeenSet = true;
61 m_gameServerId = std::forward<GameServerIdT>(value);
62 }
63 template <typename GameServerIdT = Aws::String>
65 SetGameServerId(std::forward<GameServerIdT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_gameServerGroupName;
71
72 Aws::String m_gameServerId;
73 bool m_gameServerGroupNameHasBeenSet = false;
74 bool m_gameServerIdHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace GameLift
79} // namespace Aws
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeregisterGameServerRequest & WithGameServerGroupName(GameServerGroupNameT &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
DeregisterGameServerRequest & WithGameServerId(GameServerIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_GAMELIFT_API DeregisterGameServerRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String