AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ValidateMatchmakingRuleSetResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/gamelift/GameLift_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace GameLift {
22namespace Model {
24 public:
25 AWS_GAMELIFT_API ValidateMatchmakingRuleSetResult() = default;
28
30
33 inline bool GetValid() const { return m_valid; }
34 inline void SetValid(bool value) {
35 m_validHasBeenSet = true;
36 m_valid = value;
37 }
39 SetValid(value);
40 return *this;
41 }
43
45
46 inline const Aws::String& GetRequestId() const { return m_requestId; }
47 template <typename RequestIdT = Aws::String>
48 void SetRequestId(RequestIdT&& value) {
49 m_requestIdHasBeenSet = true;
50 m_requestId = std::forward<RequestIdT>(value);
51 }
52 template <typename RequestIdT = Aws::String>
54 SetRequestId(std::forward<RequestIdT>(value));
55 return *this;
56 }
58 private:
59 bool m_valid{false};
60
61 Aws::String m_requestId;
62 bool m_validHasBeenSet = false;
63 bool m_requestIdHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace GameLift
68} // namespace Aws
ValidateMatchmakingRuleSetResult & WithRequestId(RequestIdT &&value)
AWS_GAMELIFT_API ValidateMatchmakingRuleSetResult()=default
AWS_GAMELIFT_API ValidateMatchmakingRuleSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GAMELIFT_API ValidateMatchmakingRuleSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue