AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
PasswordRequirements.h
1
6#pragma once
7#include <aws/wickr/Wickr_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Wickr {
17namespace Model {
18
27 public:
28 AWS_WICKR_API PasswordRequirements() = default;
31 AWS_WICKR_API Aws::Utils::Json::JsonValue Jsonize() const;
32
34
37 inline int GetLowercase() const { return m_lowercase; }
38 inline bool LowercaseHasBeenSet() const { return m_lowercaseHasBeenSet; }
39 inline void SetLowercase(int value) {
40 m_lowercaseHasBeenSet = true;
41 m_lowercase = value;
42 }
44 SetLowercase(value);
45 return *this;
46 }
48
50
53 inline int GetMinLength() const { return m_minLength; }
54 inline bool MinLengthHasBeenSet() const { return m_minLengthHasBeenSet; }
55 inline void SetMinLength(int value) {
56 m_minLengthHasBeenSet = true;
57 m_minLength = value;
58 }
60 SetMinLength(value);
61 return *this;
62 }
64
66
69 inline int GetNumbers() const { return m_numbers; }
70 inline bool NumbersHasBeenSet() const { return m_numbersHasBeenSet; }
71 inline void SetNumbers(int value) {
72 m_numbersHasBeenSet = true;
73 m_numbers = value;
74 }
75 inline PasswordRequirements& WithNumbers(int value) {
76 SetNumbers(value);
77 return *this;
78 }
80
82
85 inline int GetSymbols() const { return m_symbols; }
86 inline bool SymbolsHasBeenSet() const { return m_symbolsHasBeenSet; }
87 inline void SetSymbols(int value) {
88 m_symbolsHasBeenSet = true;
89 m_symbols = value;
90 }
91 inline PasswordRequirements& WithSymbols(int value) {
92 SetSymbols(value);
93 return *this;
94 }
96
98
101 inline int GetUppercase() const { return m_uppercase; }
102 inline bool UppercaseHasBeenSet() const { return m_uppercaseHasBeenSet; }
103 inline void SetUppercase(int value) {
104 m_uppercaseHasBeenSet = true;
105 m_uppercase = value;
106 }
108 SetUppercase(value);
109 return *this;
110 }
112 private:
113 int m_lowercase{0};
114
115 int m_minLength{0};
116
117 int m_numbers{0};
118
119 int m_symbols{0};
120
121 int m_uppercase{0};
122 bool m_lowercaseHasBeenSet = false;
123 bool m_minLengthHasBeenSet = false;
124 bool m_numbersHasBeenSet = false;
125 bool m_symbolsHasBeenSet = false;
126 bool m_uppercaseHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace Wickr
131} // namespace Aws
PasswordRequirements & WithSymbols(int value)
PasswordRequirements & WithLowercase(int value)
AWS_WICKR_API PasswordRequirements & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WICKR_API PasswordRequirements(Aws::Utils::Json::JsonView jsonValue)
AWS_WICKR_API PasswordRequirements()=default
PasswordRequirements & WithMinLength(int value)
PasswordRequirements & WithNumbers(int value)
PasswordRequirements & WithUppercase(int value)
AWS_WICKR_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue