AWS SDK for C++  1.9.107
AWS SDK for C++
DescribeGameSessionDetailsResult.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 
47  inline const Aws::Vector<GameSessionDetail>& GetGameSessionDetails() const{ return m_gameSessionDetails; }
48 
53  inline void SetGameSessionDetails(const Aws::Vector<GameSessionDetail>& value) { m_gameSessionDetails = value; }
54 
59  inline void SetGameSessionDetails(Aws::Vector<GameSessionDetail>&& value) { m_gameSessionDetails = std::move(value); }
60 
65  inline DescribeGameSessionDetailsResult& WithGameSessionDetails(const Aws::Vector<GameSessionDetail>& value) { SetGameSessionDetails(value); return *this;}
66 
71  inline DescribeGameSessionDetailsResult& WithGameSessionDetails(Aws::Vector<GameSessionDetail>&& value) { SetGameSessionDetails(std::move(value)); return *this;}
72 
77  inline DescribeGameSessionDetailsResult& AddGameSessionDetails(const GameSessionDetail& value) { m_gameSessionDetails.push_back(value); return *this; }
78 
83  inline DescribeGameSessionDetailsResult& AddGameSessionDetails(GameSessionDetail&& value) { m_gameSessionDetails.push_back(std::move(value)); return *this; }
84 
85 
91  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
92 
98  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
99 
105  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
106 
112  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
113 
119  inline DescribeGameSessionDetailsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
120 
126  inline DescribeGameSessionDetailsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
127 
133  inline DescribeGameSessionDetailsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
134 
135  private:
136 
137  Aws::Vector<GameSessionDetail> m_gameSessionDetails;
138 
139  Aws::String m_nextToken;
140  };
141 
142 } // namespace Model
143 } // namespace GameLift
144 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::DescribeGameSessionDetailsResult::DescribeGameSessionDetailsResult
DescribeGameSessionDetailsResult()
Aws::GameLift::Model::DescribeGameSessionDetailsResult::AddGameSessionDetails
DescribeGameSessionDetailsResult & AddGameSessionDetails(GameSessionDetail &&value)
Definition: DescribeGameSessionDetailsResult.h:83
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DescribeGameSessionDetailsResult::SetGameSessionDetails
void SetGameSessionDetails(const Aws::Vector< GameSessionDetail > &value)
Definition: DescribeGameSessionDetailsResult.h:53
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GameLift::Model::GameSessionDetail
Definition: GameSessionDetail.h:34
AWSVector.h
Aws::GameLift::Model::DescribeGameSessionDetailsResult::WithGameSessionDetails
DescribeGameSessionDetailsResult & WithGameSessionDetails(Aws::Vector< GameSessionDetail > &&value)
Definition: DescribeGameSessionDetailsResult.h:71
GameLift_EXPORTS.h
Aws::GameLift::Model::DescribeGameSessionDetailsResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeGameSessionDetailsResult.h:112
Aws::GameLift::Model::DescribeGameSessionDetailsResult::operator=
DescribeGameSessionDetailsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::DescribeGameSessionDetailsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeGameSessionDetailsResult.h:91
Aws::GameLift::Model::DescribeGameSessionDetailsResult::WithNextToken
DescribeGameSessionDetailsResult & WithNextToken(Aws::String &&value)
Definition: DescribeGameSessionDetailsResult.h:126
Aws::GameLift::Model::DescribeGameSessionDetailsResult::GetGameSessionDetails
const Aws::Vector< GameSessionDetail > & GetGameSessionDetails() const
Definition: DescribeGameSessionDetailsResult.h:47
Aws::GameLift::Model::DescribeGameSessionDetailsResult::SetGameSessionDetails
void SetGameSessionDetails(Aws::Vector< GameSessionDetail > &&value)
Definition: DescribeGameSessionDetailsResult.h:59
Aws::GameLift::Model::DescribeGameSessionDetailsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeGameSessionDetailsResult.h:98
AWSString.h
GameSessionDetail.h
Aws::GameLift::Model::DescribeGameSessionDetailsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeGameSessionDetailsResult.h:105
Aws::GameLift::Model::DescribeGameSessionDetailsResult::DescribeGameSessionDetailsResult
DescribeGameSessionDetailsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::DescribeGameSessionDetailsResult::AddGameSessionDetails
DescribeGameSessionDetailsResult & AddGameSessionDetails(const GameSessionDetail &value)
Definition: DescribeGameSessionDetailsResult.h:77
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::DescribeGameSessionDetailsResult::WithNextToken
DescribeGameSessionDetailsResult & WithNextToken(const Aws::String &value)
Definition: DescribeGameSessionDetailsResult.h:119
Aws::GameLift::Model::DescribeGameSessionDetailsResult
Definition: DescribeGameSessionDetailsResult.h:36
Aws::GameLift::Model::DescribeGameSessionDetailsResult::WithGameSessionDetails
DescribeGameSessionDetailsResult & WithGameSessionDetails(const Aws::Vector< GameSessionDetail > &value)
Definition: DescribeGameSessionDetailsResult.h:65
Aws::GameLift::Model::DescribeGameSessionDetailsResult::WithNextToken
DescribeGameSessionDetailsResult & WithNextToken(const char *value)
Definition: DescribeGameSessionDetailsResult.h:133