AWS SDK for C++  1.8.7
AWS SDK for C++
ValidateMatchmakingRuleSetRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace GameLift
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "ValidateMatchmakingRuleSet"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
39 
44  inline const Aws::String& GetRuleSetBody() const{ return m_ruleSetBody; }
45 
50  inline bool RuleSetBodyHasBeenSet() const { return m_ruleSetBodyHasBeenSet; }
51 
56  inline void SetRuleSetBody(const Aws::String& value) { m_ruleSetBodyHasBeenSet = true; m_ruleSetBody = value; }
57 
62  inline void SetRuleSetBody(Aws::String&& value) { m_ruleSetBodyHasBeenSet = true; m_ruleSetBody = std::move(value); }
63 
68  inline void SetRuleSetBody(const char* value) { m_ruleSetBodyHasBeenSet = true; m_ruleSetBody.assign(value); }
69 
74  inline ValidateMatchmakingRuleSetRequest& WithRuleSetBody(const Aws::String& value) { SetRuleSetBody(value); return *this;}
75 
80  inline ValidateMatchmakingRuleSetRequest& WithRuleSetBody(Aws::String&& value) { SetRuleSetBody(std::move(value)); return *this;}
81 
86  inline ValidateMatchmakingRuleSetRequest& WithRuleSetBody(const char* value) { SetRuleSetBody(value); return *this;}
87 
88  private:
89 
90  Aws::String m_ruleSetBody;
91  bool m_ruleSetBodyHasBeenSet;
92  };
93 
94 } // namespace Model
95 } // namespace GameLift
96 } // namespace Aws
ValidateMatchmakingRuleSetRequest & WithRuleSetBody(Aws::String &&value)
#define AWS_GAMELIFT_API
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
ValidateMatchmakingRuleSetRequest & WithRuleSetBody(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ValidateMatchmakingRuleSetRequest & WithRuleSetBody(const Aws::String &value)