AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PhoneNumberField.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WAFV2
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_WAFV2_API PhoneNumberField() = default;
39 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
62 inline const Aws::String& GetIdentifier() const { return m_identifier; }
63 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
64 template<typename IdentifierT = Aws::String>
65 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
66 template<typename IdentifierT = Aws::String>
67 PhoneNumberField& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
69 private:
70
71 Aws::String m_identifier;
72 bool m_identifierHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace WAFV2
77} // namespace Aws
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetIdentifier() const
AWS_WAFV2_API PhoneNumberField()=default
void SetIdentifier(IdentifierT &&value)
PhoneNumberField & WithIdentifier(IdentifierT &&value)
AWS_WAFV2_API PhoneNumberField(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API PhoneNumberField & operator=(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue