AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeGameSessionQueuesResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace GameLift
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
46  inline const Aws::Vector<GameSessionQueue>& GetGameSessionQueues() const{ return m_gameSessionQueues; }
47 
51  inline void SetGameSessionQueues(const Aws::Vector<GameSessionQueue>& value) { m_gameSessionQueues = value; }
52 
56  inline void SetGameSessionQueues(Aws::Vector<GameSessionQueue>&& value) { m_gameSessionQueues = std::move(value); }
57 
61  inline DescribeGameSessionQueuesResult& WithGameSessionQueues(const Aws::Vector<GameSessionQueue>& value) { SetGameSessionQueues(value); return *this;}
62 
66  inline DescribeGameSessionQueuesResult& WithGameSessionQueues(Aws::Vector<GameSessionQueue>&& value) { SetGameSessionQueues(std::move(value)); return *this;}
67 
71  inline DescribeGameSessionQueuesResult& AddGameSessionQueues(const GameSessionQueue& value) { m_gameSessionQueues.push_back(value); return *this; }
72 
76  inline DescribeGameSessionQueuesResult& AddGameSessionQueues(GameSessionQueue&& value) { m_gameSessionQueues.push_back(std::move(value)); return *this; }
77 
78 
84  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 
91  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
92 
98  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
99 
105  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
106 
112  inline DescribeGameSessionQueuesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
113 
119  inline DescribeGameSessionQueuesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
120 
126  inline DescribeGameSessionQueuesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
127 
128  private:
129 
130  Aws::Vector<GameSessionQueue> m_gameSessionQueues;
131 
132  Aws::String m_nextToken;
133  };
134 
135 } // namespace Model
136 } // namespace GameLift
137 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::GameSessionQueue
Definition: GameSessionQueue.h:41
Aws::GameLift::Model::DescribeGameSessionQueuesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeGameSessionQueuesResult.h:98
Aws::GameLift::Model::DescribeGameSessionQueuesResult::AddGameSessionQueues
DescribeGameSessionQueuesResult & AddGameSessionQueues(GameSessionQueue &&value)
Definition: DescribeGameSessionQueuesResult.h:76
Aws::GameLift::Model::DescribeGameSessionQueuesResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeGameSessionQueuesResult.h:105
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DescribeGameSessionQueuesResult::GetGameSessionQueues
const Aws::Vector< GameSessionQueue > & GetGameSessionQueues() const
Definition: DescribeGameSessionQueuesResult.h:46
Aws::GameLift::Model::DescribeGameSessionQueuesResult::AddGameSessionQueues
DescribeGameSessionQueuesResult & AddGameSessionQueues(const GameSessionQueue &value)
Definition: DescribeGameSessionQueuesResult.h:71
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GameLift::Model::DescribeGameSessionQueuesResult::WithNextToken
DescribeGameSessionQueuesResult & WithNextToken(Aws::String &&value)
Definition: DescribeGameSessionQueuesResult.h:119
AWSVector.h
Aws::GameLift::Model::DescribeGameSessionQueuesResult::DescribeGameSessionQueuesResult
DescribeGameSessionQueuesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GameLift_EXPORTS.h
Aws::GameLift::Model::DescribeGameSessionQueuesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeGameSessionQueuesResult.h:91
Aws::GameLift::Model::DescribeGameSessionQueuesResult::operator=
DescribeGameSessionQueuesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::DescribeGameSessionQueuesResult::SetGameSessionQueues
void SetGameSessionQueues(const Aws::Vector< GameSessionQueue > &value)
Definition: DescribeGameSessionQueuesResult.h:51
AWSString.h
Aws::GameLift::Model::DescribeGameSessionQueuesResult::WithGameSessionQueues
DescribeGameSessionQueuesResult & WithGameSessionQueues(const Aws::Vector< GameSessionQueue > &value)
Definition: DescribeGameSessionQueuesResult.h:61
Aws::GameLift::Model::DescribeGameSessionQueuesResult::WithNextToken
DescribeGameSessionQueuesResult & WithNextToken(const char *value)
Definition: DescribeGameSessionQueuesResult.h:126
Aws::GameLift::Model::DescribeGameSessionQueuesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeGameSessionQueuesResult.h:84
Aws::GameLift::Model::DescribeGameSessionQueuesResult::WithNextToken
DescribeGameSessionQueuesResult & WithNextToken(const Aws::String &value)
Definition: DescribeGameSessionQueuesResult.h:112
Aws::GameLift::Model::DescribeGameSessionQueuesResult::SetGameSessionQueues
void SetGameSessionQueues(Aws::Vector< GameSessionQueue > &&value)
Definition: DescribeGameSessionQueuesResult.h:56
Aws::GameLift::Model::DescribeGameSessionQueuesResult::DescribeGameSessionQueuesResult
DescribeGameSessionQueuesResult()
GameSessionQueue.h
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::DescribeGameSessionQueuesResult::WithGameSessionQueues
DescribeGameSessionQueuesResult & WithGameSessionQueues(Aws::Vector< GameSessionQueue > &&value)
Definition: DescribeGameSessionQueuesResult.h:66
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::DescribeGameSessionQueuesResult
Definition: DescribeGameSessionQueuesResult.h:36