AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
IPSetReferenceStatement.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wafv2/model/IPSetForwardedIPConfig.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace WAFV2
23{
24namespace Model
25{
26
40 {
41 public:
42 AWS_WAFV2_API IPSetReferenceStatement() = default;
45 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline const Aws::String& GetARN() const { return m_aRN; }
54 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
55 template<typename ARNT = Aws::String>
56 void SetARN(ARNT&& value) { m_aRNHasBeenSet = true; m_aRN = std::forward<ARNT>(value); }
57 template<typename ARNT = Aws::String>
58 IPSetReferenceStatement& WithARN(ARNT&& value) { SetARN(std::forward<ARNT>(value)); return *this;}
60
62
69 inline const IPSetForwardedIPConfig& GetIPSetForwardedIPConfig() const { return m_iPSetForwardedIPConfig; }
70 inline bool IPSetForwardedIPConfigHasBeenSet() const { return m_iPSetForwardedIPConfigHasBeenSet; }
71 template<typename IPSetForwardedIPConfigT = IPSetForwardedIPConfig>
72 void SetIPSetForwardedIPConfig(IPSetForwardedIPConfigT&& value) { m_iPSetForwardedIPConfigHasBeenSet = true; m_iPSetForwardedIPConfig = std::forward<IPSetForwardedIPConfigT>(value); }
73 template<typename IPSetForwardedIPConfigT = IPSetForwardedIPConfig>
74 IPSetReferenceStatement& WithIPSetForwardedIPConfig(IPSetForwardedIPConfigT&& value) { SetIPSetForwardedIPConfig(std::forward<IPSetForwardedIPConfigT>(value)); return *this;}
76 private:
77
78 Aws::String m_aRN;
79 bool m_aRNHasBeenSet = false;
80
81 IPSetForwardedIPConfig m_iPSetForwardedIPConfig;
82 bool m_iPSetForwardedIPConfigHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace WAFV2
87} // namespace Aws
AWS_WAFV2_API IPSetReferenceStatement(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API IPSetReferenceStatement()=default
void SetIPSetForwardedIPConfig(IPSetForwardedIPConfigT &&value)
const IPSetForwardedIPConfig & GetIPSetForwardedIPConfig() const
AWS_WAFV2_API IPSetReferenceStatement & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
IPSetReferenceStatement & WithARN(ARNT &&value)
IPSetReferenceStatement & WithIPSetForwardedIPConfig(IPSetForwardedIPConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue