AWS SDK for C++  1.9.130
AWS SDK for C++
DescribeGameSessionPlacementRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace GameLift
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DescribeGameSessionPlacement"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetPlacementId() const{ return m_placementId; }
44 
48  inline bool PlacementIdHasBeenSet() const { return m_placementIdHasBeenSet; }
49 
53  inline void SetPlacementId(const Aws::String& value) { m_placementIdHasBeenSet = true; m_placementId = value; }
54 
58  inline void SetPlacementId(Aws::String&& value) { m_placementIdHasBeenSet = true; m_placementId = std::move(value); }
59 
63  inline void SetPlacementId(const char* value) { m_placementIdHasBeenSet = true; m_placementId.assign(value); }
64 
68  inline DescribeGameSessionPlacementRequest& WithPlacementId(const Aws::String& value) { SetPlacementId(value); return *this;}
69 
73  inline DescribeGameSessionPlacementRequest& WithPlacementId(Aws::String&& value) { SetPlacementId(std::move(value)); return *this;}
74 
78  inline DescribeGameSessionPlacementRequest& WithPlacementId(const char* value) { SetPlacementId(value); return *this;}
79 
80  private:
81 
82  Aws::String m_placementId;
83  bool m_placementIdHasBeenSet;
84  };
85 
86 } // namespace Model
87 } // namespace GameLift
88 } // namespace Aws
Aws::GameLift::Model::DescribeGameSessionPlacementRequest::SetPlacementId
void SetPlacementId(const Aws::String &value)
Definition: DescribeGameSessionPlacementRequest.h:53
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DescribeGameSessionPlacementRequest::PlacementIdHasBeenSet
bool PlacementIdHasBeenSet() const
Definition: DescribeGameSessionPlacementRequest.h:48
Aws::GameLift::Model::DescribeGameSessionPlacementRequest::WithPlacementId
DescribeGameSessionPlacementRequest & WithPlacementId(const char *value)
Definition: DescribeGameSessionPlacementRequest.h:78
Aws::GameLift::Model::DescribeGameSessionPlacementRequest::GetPlacementId
const Aws::String & GetPlacementId() const
Definition: DescribeGameSessionPlacementRequest.h:43
Aws::GameLift::Model::DescribeGameSessionPlacementRequest::WithPlacementId
DescribeGameSessionPlacementRequest & WithPlacementId(const Aws::String &value)
Definition: DescribeGameSessionPlacementRequest.h:68
Aws::GameLift::Model::DescribeGameSessionPlacementRequest::SerializePayload
Aws::String SerializePayload() const override
GameLift_EXPORTS.h
Aws::GameLift::Model::DescribeGameSessionPlacementRequest::WithPlacementId
DescribeGameSessionPlacementRequest & WithPlacementId(Aws::String &&value)
Definition: DescribeGameSessionPlacementRequest.h:73
GameLiftRequest.h
Aws::GameLift::Model::DescribeGameSessionPlacementRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeGameSessionPlacementRequest.h:33
Aws::GameLift::Model::DescribeGameSessionPlacementRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::GameLift::Model::DescribeGameSessionPlacementRequest::SetPlacementId
void SetPlacementId(Aws::String &&value)
Definition: DescribeGameSessionPlacementRequest.h:58
Aws::GameLift::Model::DescribeGameSessionPlacementRequest::DescribeGameSessionPlacementRequest
DescribeGameSessionPlacementRequest()
Aws::GameLift::GameLiftRequest
Definition: GameLiftRequest.h:17
AWSString.h
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::DescribeGameSessionPlacementRequest::SetPlacementId
void SetPlacementId(const char *value)
Definition: DescribeGameSessionPlacementRequest.h:63
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::DescribeGameSessionPlacementRequest
Definition: DescribeGameSessionPlacementRequest.h:25