AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeMatchmakingRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace GameLift
16 {
17 namespace Model
18 {
19 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DescribeMatchmaking"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
45  inline const Aws::Vector<Aws::String>& GetTicketIds() const{ return m_ticketIds; }
46 
51  inline bool TicketIdsHasBeenSet() const { return m_ticketIdsHasBeenSet; }
52 
57  inline void SetTicketIds(const Aws::Vector<Aws::String>& value) { m_ticketIdsHasBeenSet = true; m_ticketIds = value; }
58 
63  inline void SetTicketIds(Aws::Vector<Aws::String>&& value) { m_ticketIdsHasBeenSet = true; m_ticketIds = std::move(value); }
64 
69  inline DescribeMatchmakingRequest& WithTicketIds(const Aws::Vector<Aws::String>& value) { SetTicketIds(value); return *this;}
70 
75  inline DescribeMatchmakingRequest& WithTicketIds(Aws::Vector<Aws::String>&& value) { SetTicketIds(std::move(value)); return *this;}
76 
81  inline DescribeMatchmakingRequest& AddTicketIds(const Aws::String& value) { m_ticketIdsHasBeenSet = true; m_ticketIds.push_back(value); return *this; }
82 
87  inline DescribeMatchmakingRequest& AddTicketIds(Aws::String&& value) { m_ticketIdsHasBeenSet = true; m_ticketIds.push_back(std::move(value)); return *this; }
88 
93  inline DescribeMatchmakingRequest& AddTicketIds(const char* value) { m_ticketIdsHasBeenSet = true; m_ticketIds.push_back(value); return *this; }
94 
95  private:
96 
97  Aws::Vector<Aws::String> m_ticketIds;
98  bool m_ticketIdsHasBeenSet;
99  };
100 
101 } // namespace Model
102 } // namespace GameLift
103 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::GameLift::Model::DescribeMatchmakingRequest::WithTicketIds
DescribeMatchmakingRequest & WithTicketIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeMatchmakingRequest.h:69
Aws::GameLift::Model::DescribeMatchmakingRequest::WithTicketIds
DescribeMatchmakingRequest & WithTicketIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeMatchmakingRequest.h:75
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::GameLift::Model::DescribeMatchmakingRequest::GetTicketIds
const Aws::Vector< Aws::String > & GetTicketIds() const
Definition: DescribeMatchmakingRequest.h:45
Aws::GameLift::Model::DescribeMatchmakingRequest::TicketIdsHasBeenSet
bool TicketIdsHasBeenSet() const
Definition: DescribeMatchmakingRequest.h:51
GameLift_EXPORTS.h
Aws::GameLift::Model::DescribeMatchmakingRequest::AddTicketIds
DescribeMatchmakingRequest & AddTicketIds(Aws::String &&value)
Definition: DescribeMatchmakingRequest.h:87
GameLiftRequest.h
Aws::GameLift::Model::DescribeMatchmakingRequest
Definition: DescribeMatchmakingRequest.h:26
Aws::GameLift::Model::DescribeMatchmakingRequest::AddTicketIds
DescribeMatchmakingRequest & AddTicketIds(const Aws::String &value)
Definition: DescribeMatchmakingRequest.h:81
Aws::GameLift::GameLiftRequest
Definition: GameLiftRequest.h:17
AWSString.h
Aws::GameLift::Model::DescribeMatchmakingRequest::SetTicketIds
void SetTicketIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeMatchmakingRequest.h:63
Aws::GameLift::Model::DescribeMatchmakingRequest::AddTicketIds
DescribeMatchmakingRequest & AddTicketIds(const char *value)
Definition: DescribeMatchmakingRequest.h:93
Aws::GameLift::Model::DescribeMatchmakingRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::DescribeMatchmakingRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::GameLift::Model::DescribeMatchmakingRequest::DescribeMatchmakingRequest
DescribeMatchmakingRequest()
Aws::GameLift::Model::DescribeMatchmakingRequest::SetTicketIds
void SetTicketIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeMatchmakingRequest.h:57
Aws::GameLift::Model::DescribeMatchmakingRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeMatchmakingRequest.h:34