AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeRuleGroupMetadataResult.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/RuleGroupType.h>
10#include <aws/network-firewall/model/StatefulRuleOptions.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace NetworkFirewall
27{
28namespace Model
29{
31 {
32 public:
33 AWS_NETWORKFIREWALL_API DescribeRuleGroupMetadataResult();
36
37
39
44 inline const Aws::String& GetRuleGroupArn() const{ return m_ruleGroupArn; }
45 inline void SetRuleGroupArn(const Aws::String& value) { m_ruleGroupArn = value; }
46 inline void SetRuleGroupArn(Aws::String&& value) { m_ruleGroupArn = std::move(value); }
47 inline void SetRuleGroupArn(const char* value) { m_ruleGroupArn.assign(value); }
48 inline DescribeRuleGroupMetadataResult& WithRuleGroupArn(const Aws::String& value) { SetRuleGroupArn(value); return *this;}
49 inline DescribeRuleGroupMetadataResult& WithRuleGroupArn(Aws::String&& value) { SetRuleGroupArn(std::move(value)); return *this;}
50 inline DescribeRuleGroupMetadataResult& WithRuleGroupArn(const char* value) { SetRuleGroupArn(value); return *this;}
52
54
59 inline const Aws::String& GetRuleGroupName() const{ return m_ruleGroupName; }
60 inline void SetRuleGroupName(const Aws::String& value) { m_ruleGroupName = value; }
61 inline void SetRuleGroupName(Aws::String&& value) { m_ruleGroupName = std::move(value); }
62 inline void SetRuleGroupName(const char* value) { m_ruleGroupName.assign(value); }
64 inline DescribeRuleGroupMetadataResult& WithRuleGroupName(Aws::String&& value) { SetRuleGroupName(std::move(value)); return *this;}
65 inline DescribeRuleGroupMetadataResult& WithRuleGroupName(const char* value) { SetRuleGroupName(value); return *this;}
67
69
72 inline const Aws::String& GetDescription() const{ return m_description; }
73 inline void SetDescription(const Aws::String& value) { m_description = value; }
74 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
75 inline void SetDescription(const char* value) { m_description.assign(value); }
76 inline DescribeRuleGroupMetadataResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
77 inline DescribeRuleGroupMetadataResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
78 inline DescribeRuleGroupMetadataResult& WithDescription(const char* value) { SetDescription(value); return *this;}
80
82
88 inline const RuleGroupType& GetType() const{ return m_type; }
89 inline void SetType(const RuleGroupType& value) { m_type = value; }
90 inline void SetType(RuleGroupType&& value) { m_type = std::move(value); }
91 inline DescribeRuleGroupMetadataResult& WithType(const RuleGroupType& value) { SetType(value); return *this;}
92 inline DescribeRuleGroupMetadataResult& WithType(RuleGroupType&& value) { SetType(std::move(value)); return *this;}
94
96
105 inline int GetCapacity() const{ return m_capacity; }
106 inline void SetCapacity(int value) { m_capacity = value; }
107 inline DescribeRuleGroupMetadataResult& WithCapacity(int value) { SetCapacity(value); return *this;}
109
111
112 inline const StatefulRuleOptions& GetStatefulRuleOptions() const{ return m_statefulRuleOptions; }
113 inline void SetStatefulRuleOptions(const StatefulRuleOptions& value) { m_statefulRuleOptions = value; }
114 inline void SetStatefulRuleOptions(StatefulRuleOptions&& value) { m_statefulRuleOptions = std::move(value); }
118
120
123 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
124 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
125 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
129
131
132 inline const Aws::String& GetRequestId() const{ return m_requestId; }
133 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
134 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
135 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
136 inline DescribeRuleGroupMetadataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
137 inline DescribeRuleGroupMetadataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
138 inline DescribeRuleGroupMetadataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
140 private:
141
142 Aws::String m_ruleGroupArn;
143
144 Aws::String m_ruleGroupName;
145
146 Aws::String m_description;
147
148 RuleGroupType m_type;
149
150 int m_capacity;
151
152 StatefulRuleOptions m_statefulRuleOptions;
153
154 Aws::Utils::DateTime m_lastModifiedTime;
155
156 Aws::String m_requestId;
157 };
158
159} // namespace Model
160} // namespace NetworkFirewall
161} // namespace Aws
DescribeRuleGroupMetadataResult & WithStatefulRuleOptions(StatefulRuleOptions &&value)
DescribeRuleGroupMetadataResult & WithStatefulRuleOptions(const StatefulRuleOptions &value)
AWS_NETWORKFIREWALL_API DescribeRuleGroupMetadataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeRuleGroupMetadataResult & WithRequestId(const Aws::String &value)
DescribeRuleGroupMetadataResult & WithType(RuleGroupType &&value)
AWS_NETWORKFIREWALL_API DescribeRuleGroupMetadataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeRuleGroupMetadataResult & WithDescription(Aws::String &&value)
DescribeRuleGroupMetadataResult & WithRuleGroupArn(const char *value)
DescribeRuleGroupMetadataResult & WithRuleGroupName(const char *value)
DescribeRuleGroupMetadataResult & WithRuleGroupArn(Aws::String &&value)
DescribeRuleGroupMetadataResult & WithRuleGroupName(Aws::String &&value)
DescribeRuleGroupMetadataResult & WithDescription(const Aws::String &value)
DescribeRuleGroupMetadataResult & WithRuleGroupArn(const Aws::String &value)
DescribeRuleGroupMetadataResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeRuleGroupMetadataResult & WithRequestId(const char *value)
DescribeRuleGroupMetadataResult & WithDescription(const char *value)
DescribeRuleGroupMetadataResult & WithRequestId(Aws::String &&value)
DescribeRuleGroupMetadataResult & WithType(const RuleGroupType &value)
DescribeRuleGroupMetadataResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeRuleGroupMetadataResult & WithRuleGroupName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue