AWS SDK for C++  1.9.108
AWS SDK for C++
CreateMatchmakingConfigurationResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace GameLift
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
44  inline const MatchmakingConfiguration& GetConfiguration() const{ return m_configuration; }
45 
49  inline void SetConfiguration(const MatchmakingConfiguration& value) { m_configuration = value; }
50 
54  inline void SetConfiguration(MatchmakingConfiguration&& value) { m_configuration = std::move(value); }
55 
59  inline CreateMatchmakingConfigurationResult& WithConfiguration(const MatchmakingConfiguration& value) { SetConfiguration(value); return *this;}
60 
64  inline CreateMatchmakingConfigurationResult& WithConfiguration(MatchmakingConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
65 
66  private:
67 
68  MatchmakingConfiguration m_configuration;
69  };
70 
71 } // namespace Model
72 } // namespace GameLift
73 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::CreateMatchmakingConfigurationResult::CreateMatchmakingConfigurationResult
CreateMatchmakingConfigurationResult()
Aws::GameLift::Model::MatchmakingConfiguration
Definition: MatchmakingConfiguration.h:39
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::CreateMatchmakingConfigurationResult::SetConfiguration
void SetConfiguration(MatchmakingConfiguration &&value)
Definition: CreateMatchmakingConfigurationResult.h:54
Aws::GameLift::Model::CreateMatchmakingConfigurationResult::GetConfiguration
const MatchmakingConfiguration & GetConfiguration() const
Definition: CreateMatchmakingConfigurationResult.h:44
Aws::GameLift::Model::CreateMatchmakingConfigurationResult::SetConfiguration
void SetConfiguration(const MatchmakingConfiguration &value)
Definition: CreateMatchmakingConfigurationResult.h:49
GameLift_EXPORTS.h
Aws::GameLift::Model::CreateMatchmakingConfigurationResult::operator=
CreateMatchmakingConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
MatchmakingConfiguration.h
Aws::GameLift::Model::CreateMatchmakingConfigurationResult::WithConfiguration
CreateMatchmakingConfigurationResult & WithConfiguration(const MatchmakingConfiguration &value)
Definition: CreateMatchmakingConfigurationResult.h:59
Aws::GameLift::Model::CreateMatchmakingConfigurationResult
Definition: CreateMatchmakingConfigurationResult.h:34
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::CreateMatchmakingConfigurationResult::CreateMatchmakingConfigurationResult
CreateMatchmakingConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::CreateMatchmakingConfigurationResult::WithConfiguration
CreateMatchmakingConfigurationResult & WithConfiguration(MatchmakingConfiguration &&value)
Definition: CreateMatchmakingConfigurationResult.h:64