AWS SDK for C++  1.9.106
AWS SDK for C++
GetRateBasedStatementManagedKeysResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace WAFV2
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const RateBasedStatementManagedKeysIPSet& GetManagedKeysIPV4() const{ return m_managedKeysIPV4; }
39 
43  inline void SetManagedKeysIPV4(const RateBasedStatementManagedKeysIPSet& value) { m_managedKeysIPV4 = value; }
44 
48  inline void SetManagedKeysIPV4(RateBasedStatementManagedKeysIPSet&& value) { m_managedKeysIPV4 = std::move(value); }
49 
53  inline GetRateBasedStatementManagedKeysResult& WithManagedKeysIPV4(const RateBasedStatementManagedKeysIPSet& value) { SetManagedKeysIPV4(value); return *this;}
54 
58  inline GetRateBasedStatementManagedKeysResult& WithManagedKeysIPV4(RateBasedStatementManagedKeysIPSet&& value) { SetManagedKeysIPV4(std::move(value)); return *this;}
59 
60 
64  inline const RateBasedStatementManagedKeysIPSet& GetManagedKeysIPV6() const{ return m_managedKeysIPV6; }
65 
69  inline void SetManagedKeysIPV6(const RateBasedStatementManagedKeysIPSet& value) { m_managedKeysIPV6 = value; }
70 
74  inline void SetManagedKeysIPV6(RateBasedStatementManagedKeysIPSet&& value) { m_managedKeysIPV6 = std::move(value); }
75 
79  inline GetRateBasedStatementManagedKeysResult& WithManagedKeysIPV6(const RateBasedStatementManagedKeysIPSet& value) { SetManagedKeysIPV6(value); return *this;}
80 
84  inline GetRateBasedStatementManagedKeysResult& WithManagedKeysIPV6(RateBasedStatementManagedKeysIPSet&& value) { SetManagedKeysIPV6(std::move(value)); return *this;}
85 
86  private:
87 
88  RateBasedStatementManagedKeysIPSet m_managedKeysIPV4;
89 
90  RateBasedStatementManagedKeysIPSet m_managedKeysIPV6;
91  };
92 
93 } // namespace Model
94 } // namespace WAFV2
95 } // namespace Aws
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysResult::GetRateBasedStatementManagedKeysResult
GetRateBasedStatementManagedKeysResult()
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysResult::operator=
GetRateBasedStatementManagedKeysResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysResult::WithManagedKeysIPV6
GetRateBasedStatementManagedKeysResult & WithManagedKeysIPV6(const RateBasedStatementManagedKeysIPSet &value)
Definition: GetRateBasedStatementManagedKeysResult.h:79
AWS_WAFV2_API
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysResult::GetRateBasedStatementManagedKeysResult
GetRateBasedStatementManagedKeysResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
WAFV2_EXPORTS.h
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysResult::WithManagedKeysIPV4
GetRateBasedStatementManagedKeysResult & WithManagedKeysIPV4(const RateBasedStatementManagedKeysIPSet &value)
Definition: GetRateBasedStatementManagedKeysResult.h:53
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysResult::SetManagedKeysIPV6
void SetManagedKeysIPV6(const RateBasedStatementManagedKeysIPSet &value)
Definition: GetRateBasedStatementManagedKeysResult.h:69
RateBasedStatementManagedKeysIPSet.h
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysResult::GetManagedKeysIPV6
const RateBasedStatementManagedKeysIPSet & GetManagedKeysIPV6() const
Definition: GetRateBasedStatementManagedKeysResult.h:64
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysResult::SetManagedKeysIPV4
void SetManagedKeysIPV4(const RateBasedStatementManagedKeysIPSet &value)
Definition: GetRateBasedStatementManagedKeysResult.h:43
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysResult
Definition: GetRateBasedStatementManagedKeysResult.h:28
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysResult::SetManagedKeysIPV4
void SetManagedKeysIPV4(RateBasedStatementManagedKeysIPSet &&value)
Definition: GetRateBasedStatementManagedKeysResult.h:48
Aws::WAFV2::Model::RateBasedStatementManagedKeysIPSet
Definition: RateBasedStatementManagedKeysIPSet.h:35
Aws
Definition: AccessManagementClient.h:15
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysResult::SetManagedKeysIPV6
void SetManagedKeysIPV6(RateBasedStatementManagedKeysIPSet &&value)
Definition: GetRateBasedStatementManagedKeysResult.h:74
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysResult::GetManagedKeysIPV4
const RateBasedStatementManagedKeysIPSet & GetManagedKeysIPV4() const
Definition: GetRateBasedStatementManagedKeysResult.h:38
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysResult::WithManagedKeysIPV4
GetRateBasedStatementManagedKeysResult & WithManagedKeysIPV4(RateBasedStatementManagedKeysIPSet &&value)
Definition: GetRateBasedStatementManagedKeysResult.h:58
Aws::WAFV2::Model::GetRateBasedStatementManagedKeysResult::WithManagedKeysIPV6
GetRateBasedStatementManagedKeysResult & WithManagedKeysIPV6(RateBasedStatementManagedKeysIPSet &&value)
Definition: GetRateBasedStatementManagedKeysResult.h:84