AWS SDK for C++  1.9.20
AWS SDK for C++
DeleteGameSessionQueueRequest.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 "DeleteGameSessionQueue"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
45  inline const Aws::String& GetName() const{ return m_name; }
46 
52  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 
59  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
60 
66  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
67 
73  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
74 
80  inline DeleteGameSessionQueueRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
81 
87  inline DeleteGameSessionQueueRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
88 
94  inline DeleteGameSessionQueueRequest& WithName(const char* value) { SetName(value); return *this;}
95 
96  private:
97 
98  Aws::String m_name;
99  bool m_nameHasBeenSet;
100  };
101 
102 } // namespace Model
103 } // namespace GameLift
104 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::GameLift::Model::DeleteGameSessionQueueRequest::WithName
DeleteGameSessionQueueRequest & WithName(const char *value)
Definition: DeleteGameSessionQueueRequest.h:94
Aws::GameLift::Model::DeleteGameSessionQueueRequest::SetName
void SetName(const char *value)
Definition: DeleteGameSessionQueueRequest.h:73
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DeleteGameSessionQueueRequest::GetName
const Aws::String & GetName() const
Definition: DeleteGameSessionQueueRequest.h:45
Aws::GameLift::Model::DeleteGameSessionQueueRequest::DeleteGameSessionQueueRequest
DeleteGameSessionQueueRequest()
GameLift_EXPORTS.h
GameLiftRequest.h
Aws::GameLift::GameLiftRequest
Definition: GameLiftRequest.h:17
Aws::GameLift::Model::DeleteGameSessionQueueRequest::WithName
DeleteGameSessionQueueRequest & WithName(const Aws::String &value)
Definition: DeleteGameSessionQueueRequest.h:80
AWSString.h
Aws::GameLift::Model::DeleteGameSessionQueueRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: DeleteGameSessionQueueRequest.h:52
Aws::GameLift::Model::DeleteGameSessionQueueRequest::WithName
DeleteGameSessionQueueRequest & WithName(Aws::String &&value)
Definition: DeleteGameSessionQueueRequest.h:87
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::DeleteGameSessionQueueRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::GameLift::Model::DeleteGameSessionQueueRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GameLift::Model::DeleteGameSessionQueueRequest
Definition: DeleteGameSessionQueueRequest.h:25
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::DeleteGameSessionQueueRequest::SetName
void SetName(Aws::String &&value)
Definition: DeleteGameSessionQueueRequest.h:66
Aws::GameLift::Model::DeleteGameSessionQueueRequest::SetName
void SetName(const Aws::String &value)
Definition: DeleteGameSessionQueueRequest.h:59
Aws::GameLift::Model::DeleteGameSessionQueueRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteGameSessionQueueRequest.h:33