AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
36
37
39
44 inline const Aws::String& GetRuleGroupArn() const { return m_ruleGroupArn; }
45 template<typename RuleGroupArnT = Aws::String>
46 void SetRuleGroupArn(RuleGroupArnT&& value) { m_ruleGroupArnHasBeenSet = true; m_ruleGroupArn = std::forward<RuleGroupArnT>(value); }
47 template<typename RuleGroupArnT = Aws::String>
48 DescribeRuleGroupMetadataResult& WithRuleGroupArn(RuleGroupArnT&& value) { SetRuleGroupArn(std::forward<RuleGroupArnT>(value)); return *this;}
50
52
57 inline const Aws::String& GetRuleGroupName() const { return m_ruleGroupName; }
58 template<typename RuleGroupNameT = Aws::String>
59 void SetRuleGroupName(RuleGroupNameT&& value) { m_ruleGroupNameHasBeenSet = true; m_ruleGroupName = std::forward<RuleGroupNameT>(value); }
60 template<typename RuleGroupNameT = Aws::String>
61 DescribeRuleGroupMetadataResult& WithRuleGroupName(RuleGroupNameT&& value) { SetRuleGroupName(std::forward<RuleGroupNameT>(value)); return *this;}
63
65
68 inline const Aws::String& GetDescription() const { return m_description; }
69 template<typename DescriptionT = Aws::String>
70 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
71 template<typename DescriptionT = Aws::String>
72 DescribeRuleGroupMetadataResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
74
76
82 inline RuleGroupType GetType() const { return m_type; }
83 inline void SetType(RuleGroupType value) { m_typeHasBeenSet = true; m_type = value; }
84 inline DescribeRuleGroupMetadataResult& WithType(RuleGroupType value) { SetType(value); return *this;}
86
88
97 inline int GetCapacity() const { return m_capacity; }
98 inline void SetCapacity(int value) { m_capacityHasBeenSet = true; m_capacity = value; }
99 inline DescribeRuleGroupMetadataResult& WithCapacity(int value) { SetCapacity(value); return *this;}
101
103
104 inline const StatefulRuleOptions& GetStatefulRuleOptions() const { return m_statefulRuleOptions; }
105 template<typename StatefulRuleOptionsT = StatefulRuleOptions>
106 void SetStatefulRuleOptions(StatefulRuleOptionsT&& value) { m_statefulRuleOptionsHasBeenSet = true; m_statefulRuleOptions = std::forward<StatefulRuleOptionsT>(value); }
107 template<typename StatefulRuleOptionsT = StatefulRuleOptions>
108 DescribeRuleGroupMetadataResult& WithStatefulRuleOptions(StatefulRuleOptionsT&& value) { SetStatefulRuleOptions(std::forward<StatefulRuleOptionsT>(value)); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
116 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
117 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
118 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
119 DescribeRuleGroupMetadataResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
121
123
124 inline const Aws::String& GetRequestId() const { return m_requestId; }
125 template<typename RequestIdT = Aws::String>
126 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
127 template<typename RequestIdT = Aws::String>
128 DescribeRuleGroupMetadataResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
130 private:
131
132 Aws::String m_ruleGroupArn;
133 bool m_ruleGroupArnHasBeenSet = false;
134
135 Aws::String m_ruleGroupName;
136 bool m_ruleGroupNameHasBeenSet = false;
137
138 Aws::String m_description;
139 bool m_descriptionHasBeenSet = false;
140
142 bool m_typeHasBeenSet = false;
143
144 int m_capacity{0};
145 bool m_capacityHasBeenSet = false;
146
147 StatefulRuleOptions m_statefulRuleOptions;
148 bool m_statefulRuleOptionsHasBeenSet = false;
149
150 Aws::Utils::DateTime m_lastModifiedTime{};
151 bool m_lastModifiedTimeHasBeenSet = false;
152
153 Aws::String m_requestId;
154 bool m_requestIdHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace NetworkFirewall
159} // namespace Aws
DescribeRuleGroupMetadataResult & WithDescription(DescriptionT &&value)
AWS_NETWORKFIREWALL_API DescribeRuleGroupMetadataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeRuleGroupMetadataResult & WithRuleGroupArn(RuleGroupArnT &&value)
DescribeRuleGroupMetadataResult & WithStatefulRuleOptions(StatefulRuleOptionsT &&value)
AWS_NETWORKFIREWALL_API DescribeRuleGroupMetadataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeRuleGroupMetadataResult & WithType(RuleGroupType value)
DescribeRuleGroupMetadataResult & WithRequestId(RequestIdT &&value)
DescribeRuleGroupMetadataResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeRuleGroupMetadataResult & WithRuleGroupName(RuleGroupNameT &&value)
AWS_NETWORKFIREWALL_API DescribeRuleGroupMetadataResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue