AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDeletionCharacter(const Aws::String& value) { m_deletionCharacterHasBeenSet = true; m_deletionCharacter = value; }
69 inline void SetDeletionCharacter(Aws::String&& value) { m_deletionCharacterHasBeenSet = true; m_deletionCharacter = std::move(value); }
70 inline void SetDeletionCharacter(const char* value) { m_deletionCharacterHasBeenSet = true; m_deletionCharacter.assign(value); }
71 inline DTMFSpecification& WithDeletionCharacter(const Aws::String& value) { SetDeletionCharacter(value); return *this;}
72 inline DTMFSpecification& WithDeletionCharacter(Aws::String&& value) { SetDeletionCharacter(std::move(value)); return *this;}
73 inline DTMFSpecification& WithDeletionCharacter(const char* value) { SetDeletionCharacter(value); return *this;}
75
77
81 inline const Aws::String& GetEndCharacter() const{ return m_endCharacter; }
82 inline bool EndCharacterHasBeenSet() const { return m_endCharacterHasBeenSet; }
83 inline void SetEndCharacter(const Aws::String& value) { m_endCharacterHasBeenSet = true; m_endCharacter = value; }
84 inline void SetEndCharacter(Aws::String&& value) { m_endCharacterHasBeenSet = true; m_endCharacter = std::move(value); }
85 inline void SetEndCharacter(const char* value) { m_endCharacterHasBeenSet = true; m_endCharacter.assign(value); }
86 inline DTMFSpecification& WithEndCharacter(const Aws::String& value) { SetEndCharacter(value); return *this;}
87 inline DTMFSpecification& WithEndCharacter(Aws::String&& value) { SetEndCharacter(std::move(value)); return *this;}
88 inline DTMFSpecification& WithEndCharacter(const char* value) { SetEndCharacter(value); return *this;}
90 private:
91
92 int m_maxLength;
93 bool m_maxLengthHasBeenSet = false;
94
95 int m_endTimeoutMs;
96 bool m_endTimeoutMsHasBeenSet = false;
97
98 Aws::String m_deletionCharacter;
99 bool m_deletionCharacterHasBeenSet = false;
100
101 Aws::String m_endCharacter;
102 bool m_endCharacterHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace LexModelsV2
107} // namespace Aws
DTMFSpecification & WithEndCharacter(const char *value)
AWS_LEXMODELSV2_API DTMFSpecification(Aws::Utils::Json::JsonView jsonValue)
DTMFSpecification & WithEndCharacter(Aws::String &&value)
const Aws::String & GetEndCharacter() const
DTMFSpecification & WithDeletionCharacter(Aws::String &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDeletionCharacter() const
void SetDeletionCharacter(const Aws::String &value)
AWS_LEXMODELSV2_API DTMFSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
DTMFSpecification & WithMaxLength(int value)
DTMFSpecification & WithDeletionCharacter(const Aws::String &value)
DTMFSpecification & WithDeletionCharacter(const char *value)
void SetEndCharacter(const Aws::String &value)
DTMFSpecification & WithEndCharacter(const Aws::String &value)
DTMFSpecification & WithEndTimeoutMs(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue