AWS SDK for C++

AWS SDK for C++ Version 1.11.932

Loading...
Searching...
No Matches
PasswordField.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
31 public:
32 AWS_WAFV2_API PasswordField() = default;
33 AWS_WAFV2_API PasswordField(Aws::Utils::Json::JsonView jsonValue);
35 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
51 inline const Aws::String& GetIdentifier() const { return m_identifier; }
52 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
53 template <typename IdentifierT = Aws::String>
54 void SetIdentifier(IdentifierT&& value) {
55 m_identifierHasBeenSet = true;
56 m_identifier = std::forward<IdentifierT>(value);
57 }
58 template <typename IdentifierT = Aws::String>
59 PasswordField& WithIdentifier(IdentifierT&& value) {
60 SetIdentifier(std::forward<IdentifierT>(value));
61 return *this;
62 }
64 private:
65 Aws::String m_identifier;
66 bool m_identifierHasBeenSet = false;
67};
68
69} // namespace Model
70} // namespace WAFV2
71} // namespace Aws
PasswordField & WithIdentifier(IdentifierT &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAFV2_API PasswordField()=default
void SetIdentifier(IdentifierT &&value)
const Aws::String & GetIdentifier() const
AWS_WAFV2_API PasswordField & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API PasswordField(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue