AWS SDK for C++

AWS SDK for C++ Version 1.11.932

Loading...
Searching...
No Matches
AddressField.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wafv2/WAFV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace WAFV2 {
20namespace Model {
21
30 public:
31 AWS_WAFV2_API AddressField() = default;
32 AWS_WAFV2_API AddressField(Aws::Utils::Json::JsonView jsonValue);
34 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
57 inline const Aws::String& GetIdentifier() const { return m_identifier; }
58 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
59 template <typename IdentifierT = Aws::String>
60 void SetIdentifier(IdentifierT&& value) {
61 m_identifierHasBeenSet = true;
62 m_identifier = std::forward<IdentifierT>(value);
63 }
64 template <typename IdentifierT = Aws::String>
65 AddressField& WithIdentifier(IdentifierT&& value) {
66 SetIdentifier(std::forward<IdentifierT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_identifier;
72 bool m_identifierHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace WAFV2
77} // namespace Aws
AWS_WAFV2_API AddressField(Aws::Utils::Json::JsonView jsonValue)
void SetIdentifier(IdentifierT &&value)
AWS_WAFV2_API AddressField()=default
AddressField & WithIdentifier(IdentifierT &&value)
const Aws::String & GetIdentifier() const
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAFV2_API AddressField & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue