AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DTMFSpecification.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_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 LexModelsV2
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_LEXMODELSV2_API DTMFSpecification() = default;
35 AWS_LEXMODELSV2_API DTMFSpecification(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline int GetMaxLength() const { return m_maxLength; }
45 inline bool MaxLengthHasBeenSet() const { return m_maxLengthHasBeenSet; }
46 inline void SetMaxLength(int value) { m_maxLengthHasBeenSet = true; m_maxLength = value; }
47 inline DTMFSpecification& WithMaxLength(int value) { SetMaxLength(value); return *this;}
49
51
55 inline int GetEndTimeoutMs() const { return m_endTimeoutMs; }
56 inline bool EndTimeoutMsHasBeenSet() const { return m_endTimeoutMsHasBeenSet; }
57 inline void SetEndTimeoutMs(int value) { m_endTimeoutMsHasBeenSet = true; m_endTimeoutMs = value; }
58 inline DTMFSpecification& WithEndTimeoutMs(int value) { SetEndTimeoutMs(value); return *this;}
60
62
66 inline const Aws::String& GetDeletionCharacter() const { return m_deletionCharacter; }
67 inline bool DeletionCharacterHasBeenSet() const { return m_deletionCharacterHasBeenSet; }
68 template<typename DeletionCharacterT = Aws::String>
69 void SetDeletionCharacter(DeletionCharacterT&& value) { m_deletionCharacterHasBeenSet = true; m_deletionCharacter = std::forward<DeletionCharacterT>(value); }
70 template<typename DeletionCharacterT = Aws::String>
71 DTMFSpecification& WithDeletionCharacter(DeletionCharacterT&& value) { SetDeletionCharacter(std::forward<DeletionCharacterT>(value)); return *this;}
73
75
79 inline const Aws::String& GetEndCharacter() const { return m_endCharacter; }
80 inline bool EndCharacterHasBeenSet() const { return m_endCharacterHasBeenSet; }
81 template<typename EndCharacterT = Aws::String>
82 void SetEndCharacter(EndCharacterT&& value) { m_endCharacterHasBeenSet = true; m_endCharacter = std::forward<EndCharacterT>(value); }
83 template<typename EndCharacterT = Aws::String>
84 DTMFSpecification& WithEndCharacter(EndCharacterT&& value) { SetEndCharacter(std::forward<EndCharacterT>(value)); return *this;}
86 private:
87
88 int m_maxLength{0};
89 bool m_maxLengthHasBeenSet = false;
90
91 int m_endTimeoutMs{0};
92 bool m_endTimeoutMsHasBeenSet = false;
93
94 Aws::String m_deletionCharacter;
95 bool m_deletionCharacterHasBeenSet = false;
96
97 Aws::String m_endCharacter;
98 bool m_endCharacterHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace LexModelsV2
103} // namespace Aws
void SetDeletionCharacter(DeletionCharacterT &&value)
AWS_LEXMODELSV2_API DTMFSpecification(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetEndCharacter() const
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDeletionCharacter() const
AWS_LEXMODELSV2_API DTMFSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
DTMFSpecification & WithDeletionCharacter(DeletionCharacterT &&value)
DTMFSpecification & WithMaxLength(int value)
AWS_LEXMODELSV2_API DTMFSpecification()=default
DTMFSpecification & WithEndCharacter(EndCharacterT &&value)
void SetEndCharacter(EndCharacterT &&value)
DTMFSpecification & WithEndTimeoutMs(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue