AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
DescribeGameServerRequest.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 DescribeGameServerRequest() = 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 "DescribeGameServer"; }
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>
46 DescribeGameServerRequest& WithGameServerGroupName(GameServerGroupNameT&& value) {
47 SetGameServerGroupName(std::forward<GameServerGroupNameT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetGameServerId() const { return m_gameServerId; }
58 inline bool GameServerIdHasBeenSet() const { return m_gameServerIdHasBeenSet; }
59 template <typename GameServerIdT = Aws::String>
60 void SetGameServerId(GameServerIdT&& value) {
61 m_gameServerIdHasBeenSet = true;
62 m_gameServerId = std::forward<GameServerIdT>(value);
63 }
64 template <typename GameServerIdT = Aws::String>
66 SetGameServerId(std::forward<GameServerIdT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_gameServerGroupName;
72 bool m_gameServerGroupNameHasBeenSet = false;
73
74 Aws::String m_gameServerId;
75 bool m_gameServerIdHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace GameLift
80} // namespace Aws
AWS_GAMELIFT_API DescribeGameServerRequest()=default
DescribeGameServerRequest & WithGameServerGroupName(GameServerGroupNameT &&value)
void SetGameServerGroupName(GameServerGroupNameT &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DescribeGameServerRequest & WithGameServerId(GameServerIdT &&value)
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String