AWS SDK for C++

AWS SDK for C++ Version 1.11.906

Loading...
Searching...
No Matches
UpdateCodeConfigurationParameters.h
1
6#pragma once
7#include <aws/endusermessaging/EndUserMessaging_EXPORTS.h>
8#include <aws/endusermessaging/model/CodeType.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EndUserMessaging {
20namespace Model {
21
30 public:
31 AWS_ENDUSERMESSAGING_API UpdateCodeConfigurationParameters() = default;
34 AWS_ENDUSERMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline CodeType GetCodeType() const { return m_codeType; }
42 inline bool CodeTypeHasBeenSet() const { return m_codeTypeHasBeenSet; }
43 inline void SetCodeType(CodeType value) {
44 m_codeTypeHasBeenSet = true;
45 m_codeType = value;
46 }
48 SetCodeType(value);
49 return *this;
50 }
52
54
58 inline int GetCodeLength() const { return m_codeLength; }
59 inline bool CodeLengthHasBeenSet() const { return m_codeLengthHasBeenSet; }
60 inline void SetCodeLength(int value) {
61 m_codeLengthHasBeenSet = true;
62 m_codeLength = value;
63 }
65 SetCodeLength(value);
66 return *this;
67 }
69
71
76 inline int GetValidityPeriodMinutes() const { return m_validityPeriodMinutes; }
77 inline bool ValidityPeriodMinutesHasBeenSet() const { return m_validityPeriodMinutesHasBeenSet; }
78 inline void SetValidityPeriodMinutes(int value) {
79 m_validityPeriodMinutesHasBeenSet = true;
80 m_validityPeriodMinutes = value;
81 }
84 return *this;
85 }
87
89
94 inline int GetMaxAttempts() const { return m_maxAttempts; }
95 inline bool MaxAttemptsHasBeenSet() const { return m_maxAttemptsHasBeenSet; }
96 inline void SetMaxAttempts(int value) {
97 m_maxAttemptsHasBeenSet = true;
98 m_maxAttempts = value;
99 }
101 SetMaxAttempts(value);
102 return *this;
103 }
105 private:
106 CodeType m_codeType{CodeType::NOT_SET};
107
108 int m_codeLength{0};
109
110 int m_validityPeriodMinutes{0};
111
112 int m_maxAttempts{0};
113 bool m_codeTypeHasBeenSet = false;
114 bool m_codeLengthHasBeenSet = false;
115 bool m_validityPeriodMinutesHasBeenSet = false;
116 bool m_maxAttemptsHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace EndUserMessaging
121} // namespace Aws
AWS_ENDUSERMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ENDUSERMESSAGING_API UpdateCodeConfigurationParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ENDUSERMESSAGING_API UpdateCodeConfigurationParameters(Aws::Utils::Json::JsonView jsonValue)
AWS_ENDUSERMESSAGING_API UpdateCodeConfigurationParameters()=default
Aws::Utils::Json::JsonValue JsonValue