AWS SDK for C++  1.9.45
AWS SDK for C++
DescribeMatchmakingConfigurationsResult.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<MatchmakingConfiguration>& GetConfigurations() const{ return m_configurations; }
47 
51  inline void SetConfigurations(const Aws::Vector<MatchmakingConfiguration>& value) { m_configurations = value; }
52 
56  inline void SetConfigurations(Aws::Vector<MatchmakingConfiguration>&& value) { m_configurations = std::move(value); }
57 
61  inline DescribeMatchmakingConfigurationsResult& WithConfigurations(const Aws::Vector<MatchmakingConfiguration>& value) { SetConfigurations(value); return *this;}
62 
66  inline DescribeMatchmakingConfigurationsResult& WithConfigurations(Aws::Vector<MatchmakingConfiguration>&& value) { SetConfigurations(std::move(value)); return *this;}
67 
71  inline DescribeMatchmakingConfigurationsResult& AddConfigurations(const MatchmakingConfiguration& value) { m_configurations.push_back(value); return *this; }
72 
76  inline DescribeMatchmakingConfigurationsResult& AddConfigurations(MatchmakingConfiguration&& value) { m_configurations.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 DescribeMatchmakingConfigurationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
113 
119  inline DescribeMatchmakingConfigurationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
120 
126  inline DescribeMatchmakingConfigurationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
127 
128  private:
129 
130  Aws::Vector<MatchmakingConfiguration> m_configurations;
131 
132  Aws::String m_nextToken;
133  };
134 
135 } // namespace Model
136 } // namespace GameLift
137 } // namespace Aws
Aws::GameLift::Model::DescribeMatchmakingConfigurationsResult::WithConfigurations
DescribeMatchmakingConfigurationsResult & WithConfigurations(Aws::Vector< MatchmakingConfiguration > &&value)
Definition: DescribeMatchmakingConfigurationsResult.h:66
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::DescribeMatchmakingConfigurationsResult::WithNextToken
DescribeMatchmakingConfigurationsResult & WithNextToken(const char *value)
Definition: DescribeMatchmakingConfigurationsResult.h:126
Aws::GameLift::Model::DescribeMatchmakingConfigurationsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeMatchmakingConfigurationsResult.h:98
Aws::GameLift::Model::DescribeMatchmakingConfigurationsResult::SetConfigurations
void SetConfigurations(const Aws::Vector< MatchmakingConfiguration > &value)
Definition: DescribeMatchmakingConfigurationsResult.h:51
Aws::GameLift::Model::DescribeMatchmakingConfigurationsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeMatchmakingConfigurationsResult.h:84
Aws::GameLift::Model::MatchmakingConfiguration
Definition: MatchmakingConfiguration.h:39
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::DescribeMatchmakingConfigurationsResult::operator=
DescribeMatchmakingConfigurationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GameLift_EXPORTS.h
Aws::GameLift::Model::DescribeMatchmakingConfigurationsResult::GetConfigurations
const Aws::Vector< MatchmakingConfiguration > & GetConfigurations() const
Definition: DescribeMatchmakingConfigurationsResult.h:46
Aws::GameLift::Model::DescribeMatchmakingConfigurationsResult
Definition: DescribeMatchmakingConfigurationsResult.h:36
Aws::GameLift::Model::DescribeMatchmakingConfigurationsResult::AddConfigurations
DescribeMatchmakingConfigurationsResult & AddConfigurations(const MatchmakingConfiguration &value)
Definition: DescribeMatchmakingConfigurationsResult.h:71
Aws::GameLift::Model::DescribeMatchmakingConfigurationsResult::WithNextToken
DescribeMatchmakingConfigurationsResult & WithNextToken(Aws::String &&value)
Definition: DescribeMatchmakingConfigurationsResult.h:119
Aws::GameLift::Model::DescribeMatchmakingConfigurationsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeMatchmakingConfigurationsResult.h:91
Aws::GameLift::Model::DescribeMatchmakingConfigurationsResult::DescribeMatchmakingConfigurationsResult
DescribeMatchmakingConfigurationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
MatchmakingConfiguration.h
Aws::GameLift::Model::DescribeMatchmakingConfigurationsResult::DescribeMatchmakingConfigurationsResult
DescribeMatchmakingConfigurationsResult()
Aws::GameLift::Model::DescribeMatchmakingConfigurationsResult::SetConfigurations
void SetConfigurations(Aws::Vector< MatchmakingConfiguration > &&value)
Definition: DescribeMatchmakingConfigurationsResult.h:56
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::DescribeMatchmakingConfigurationsResult::WithNextToken
DescribeMatchmakingConfigurationsResult & WithNextToken(const Aws::String &value)
Definition: DescribeMatchmakingConfigurationsResult.h:112
Aws::GameLift::Model::DescribeMatchmakingConfigurationsResult::AddConfigurations
DescribeMatchmakingConfigurationsResult & AddConfigurations(MatchmakingConfiguration &&value)
Definition: DescribeMatchmakingConfigurationsResult.h:76
Aws::GameLift::Model::DescribeMatchmakingConfigurationsResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeMatchmakingConfigurationsResult.h:105
Aws::GameLift::Model::DescribeMatchmakingConfigurationsResult::WithConfigurations
DescribeMatchmakingConfigurationsResult & WithConfigurations(const Aws::Vector< MatchmakingConfiguration > &value)
Definition: DescribeMatchmakingConfigurationsResult.h:61