AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DefaultVocabulary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/VocabularyLanguageCode.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONNECT_API DefaultVocabulary() = default;
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
49 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
50 template<typename InstanceIdT = Aws::String>
51 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
52 template<typename InstanceIdT = Aws::String>
53 DefaultVocabulary& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
55
57
63 inline VocabularyLanguageCode GetLanguageCode() const { return m_languageCode; }
64 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
65 inline void SetLanguageCode(VocabularyLanguageCode value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
68
70
73 inline const Aws::String& GetVocabularyId() const { return m_vocabularyId; }
74 inline bool VocabularyIdHasBeenSet() const { return m_vocabularyIdHasBeenSet; }
75 template<typename VocabularyIdT = Aws::String>
76 void SetVocabularyId(VocabularyIdT&& value) { m_vocabularyIdHasBeenSet = true; m_vocabularyId = std::forward<VocabularyIdT>(value); }
77 template<typename VocabularyIdT = Aws::String>
78 DefaultVocabulary& WithVocabularyId(VocabularyIdT&& value) { SetVocabularyId(std::forward<VocabularyIdT>(value)); return *this;}
80
82
85 inline const Aws::String& GetVocabularyName() const { return m_vocabularyName; }
86 inline bool VocabularyNameHasBeenSet() const { return m_vocabularyNameHasBeenSet; }
87 template<typename VocabularyNameT = Aws::String>
88 void SetVocabularyName(VocabularyNameT&& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = std::forward<VocabularyNameT>(value); }
89 template<typename VocabularyNameT = Aws::String>
90 DefaultVocabulary& WithVocabularyName(VocabularyNameT&& value) { SetVocabularyName(std::forward<VocabularyNameT>(value)); return *this;}
92 private:
93
94 Aws::String m_instanceId;
95 bool m_instanceIdHasBeenSet = false;
96
98 bool m_languageCodeHasBeenSet = false;
99
100 Aws::String m_vocabularyId;
101 bool m_vocabularyIdHasBeenSet = false;
102
103 Aws::String m_vocabularyName;
104 bool m_vocabularyNameHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Connect
109} // namespace Aws
void SetLanguageCode(VocabularyLanguageCode value)
void SetVocabularyName(VocabularyNameT &&value)
DefaultVocabulary & WithVocabularyId(VocabularyIdT &&value)
DefaultVocabulary & WithVocabularyName(VocabularyNameT &&value)
const Aws::String & GetVocabularyName() const
void SetVocabularyId(VocabularyIdT &&value)
DefaultVocabulary & WithInstanceId(InstanceIdT &&value)
AWS_CONNECT_API DefaultVocabulary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetInstanceId() const
AWS_CONNECT_API DefaultVocabulary & operator=(Aws::Utils::Json::JsonView jsonValue)
VocabularyLanguageCode GetLanguageCode() const
void SetInstanceId(InstanceIdT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetVocabularyId() const
DefaultVocabulary & WithLanguageCode(VocabularyLanguageCode value)
AWS_CONNECT_API DefaultVocabulary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue