AWS SDK for C++  1.8.7
AWS SDK for C++
CreateMatchmakingRuleSetResult.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 MatchmakingRuleSet& GetRuleSet() const{ return m_ruleSet; }
45 
49  inline void SetRuleSet(const MatchmakingRuleSet& value) { m_ruleSet = value; }
50 
54  inline void SetRuleSet(MatchmakingRuleSet&& value) { m_ruleSet = std::move(value); }
55 
59  inline CreateMatchmakingRuleSetResult& WithRuleSet(const MatchmakingRuleSet& value) { SetRuleSet(value); return *this;}
60 
64  inline CreateMatchmakingRuleSetResult& WithRuleSet(MatchmakingRuleSet&& value) { SetRuleSet(std::move(value)); return *this;}
65 
66  private:
67 
68  MatchmakingRuleSet m_ruleSet;
69  };
70 
71 } // namespace Model
72 } // namespace GameLift
73 } // namespace Aws
CreateMatchmakingRuleSetResult & WithRuleSet(const MatchmakingRuleSet &value)
#define AWS_GAMELIFT_API
CreateMatchmakingRuleSetResult & WithRuleSet(MatchmakingRuleSet &&value)