AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateRuleGroupResult.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/network-firewall/model/RuleGroupResponse.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace NetworkFirewall
25{
26namespace Model
27{
29 {
30 public:
31 AWS_NETWORKFIREWALL_API CreateRuleGroupResult();
34
35
37
48 inline const Aws::String& GetUpdateToken() const{ return m_updateToken; }
49 inline void SetUpdateToken(const Aws::String& value) { m_updateToken = value; }
50 inline void SetUpdateToken(Aws::String&& value) { m_updateToken = std::move(value); }
51 inline void SetUpdateToken(const char* value) { m_updateToken.assign(value); }
52 inline CreateRuleGroupResult& WithUpdateToken(const Aws::String& value) { SetUpdateToken(value); return *this;}
53 inline CreateRuleGroupResult& WithUpdateToken(Aws::String&& value) { SetUpdateToken(std::move(value)); return *this;}
54 inline CreateRuleGroupResult& WithUpdateToken(const char* value) { SetUpdateToken(value); return *this;}
56
58
63 inline const RuleGroupResponse& GetRuleGroupResponse() const{ return m_ruleGroupResponse; }
64 inline void SetRuleGroupResponse(const RuleGroupResponse& value) { m_ruleGroupResponse = value; }
65 inline void SetRuleGroupResponse(RuleGroupResponse&& value) { m_ruleGroupResponse = std::move(value); }
67 inline CreateRuleGroupResult& WithRuleGroupResponse(RuleGroupResponse&& value) { SetRuleGroupResponse(std::move(value)); return *this;}
69
71
72 inline const Aws::String& GetRequestId() const{ return m_requestId; }
73 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
74 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
75 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
76 inline CreateRuleGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
77 inline CreateRuleGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline CreateRuleGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
80 private:
81
82 Aws::String m_updateToken;
83
84 RuleGroupResponse m_ruleGroupResponse;
85
86 Aws::String m_requestId;
87 };
88
89} // namespace Model
90} // namespace NetworkFirewall
91} // namespace Aws
CreateRuleGroupResult & WithUpdateToken(const char *value)
CreateRuleGroupResult & WithRequestId(Aws::String &&value)
CreateRuleGroupResult & WithRequestId(const char *value)
CreateRuleGroupResult & WithRequestId(const Aws::String &value)
CreateRuleGroupResult & WithUpdateToken(Aws::String &&value)
AWS_NETWORKFIREWALL_API CreateRuleGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRuleGroupResponse(const RuleGroupResponse &value)
AWS_NETWORKFIREWALL_API CreateRuleGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRuleGroupResult & WithRuleGroupResponse(RuleGroupResponse &&value)
CreateRuleGroupResult & WithRuleGroupResponse(const RuleGroupResponse &value)
CreateRuleGroupResult & WithUpdateToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue