AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
56 inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
57 inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
58 inline IPSetReferenceStatement& WithARN(const Aws::String& value) { SetARN(value); return *this;}
59 inline IPSetReferenceStatement& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
60 inline IPSetReferenceStatement& WithARN(const char* value) { SetARN(value); return *this;}
62
64
71 inline const IPSetForwardedIPConfig& GetIPSetForwardedIPConfig() const{ return m_iPSetForwardedIPConfig; }
72 inline bool IPSetForwardedIPConfigHasBeenSet() const { return m_iPSetForwardedIPConfigHasBeenSet; }
73 inline void SetIPSetForwardedIPConfig(const IPSetForwardedIPConfig& value) { m_iPSetForwardedIPConfigHasBeenSet = true; m_iPSetForwardedIPConfig = value; }
74 inline void SetIPSetForwardedIPConfig(IPSetForwardedIPConfig&& value) { m_iPSetForwardedIPConfigHasBeenSet = true; m_iPSetForwardedIPConfig = std::move(value); }
78 private:
79
80 Aws::String m_aRN;
81 bool m_aRNHasBeenSet = false;
82
83 IPSetForwardedIPConfig m_iPSetForwardedIPConfig;
84 bool m_iPSetForwardedIPConfigHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace WAFV2
89} // namespace Aws
void SetIPSetForwardedIPConfig(IPSetForwardedIPConfig &&value)
AWS_WAFV2_API IPSetReferenceStatement(Aws::Utils::Json::JsonView jsonValue)
IPSetReferenceStatement & WithARN(const char *value)
IPSetReferenceStatement & WithIPSetForwardedIPConfig(const IPSetForwardedIPConfig &value)
const IPSetForwardedIPConfig & GetIPSetForwardedIPConfig() const
IPSetReferenceStatement & WithARN(const Aws::String &value)
void SetIPSetForwardedIPConfig(const IPSetForwardedIPConfig &value)
AWS_WAFV2_API IPSetReferenceStatement & operator=(Aws::Utils::Json::JsonView jsonValue)
IPSetReferenceStatement & WithIPSetForwardedIPConfig(IPSetForwardedIPConfig &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
IPSetReferenceStatement & WithARN(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue