AWS SDK for C++

AWS SDK for C++ Version 1.11.931

Loading...
Searching...
No Matches
IPSetReferenceStatement.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wafv2/WAFV2_EXPORTS.h>
9#include <aws/wafv2/model/IPSetForwardedIPConfig.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace WAFV2 {
21namespace Model {
22
36 public:
37 AWS_WAFV2_API IPSetReferenceStatement() = default;
40 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
47 inline const Aws::String& GetARN() const { return m_aRN; }
48 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
49 template <typename ARNT = Aws::String>
50 void SetARN(ARNT&& value) {
51 m_aRNHasBeenSet = true;
52 m_aRN = std::forward<ARNT>(value);
53 }
54 template <typename ARNT = Aws::String>
56 SetARN(std::forward<ARNT>(value));
57 return *this;
58 }
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) {
73 m_iPSetForwardedIPConfigHasBeenSet = true;
74 m_iPSetForwardedIPConfig = std::forward<IPSetForwardedIPConfigT>(value);
75 }
76 template <typename IPSetForwardedIPConfigT = IPSetForwardedIPConfig>
77 IPSetReferenceStatement& WithIPSetForwardedIPConfig(IPSetForwardedIPConfigT&& value) {
78 SetIPSetForwardedIPConfig(std::forward<IPSetForwardedIPConfigT>(value));
79 return *this;
80 }
82 private:
83 Aws::String m_aRN;
84
85 IPSetForwardedIPConfig m_iPSetForwardedIPConfig;
86 bool m_aRNHasBeenSet = false;
87 bool m_iPSetForwardedIPConfigHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace WAFV2
92} // 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