AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
51 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
52 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
53 inline DefaultVocabulary& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
54 inline DefaultVocabulary& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
55 inline DefaultVocabulary& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
57
59
65 inline const VocabularyLanguageCode& GetLanguageCode() const{ return m_languageCode; }
66 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
67 inline void SetLanguageCode(const VocabularyLanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
68 inline void SetLanguageCode(VocabularyLanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
69 inline DefaultVocabulary& WithLanguageCode(const VocabularyLanguageCode& value) { SetLanguageCode(value); return *this;}
70 inline DefaultVocabulary& WithLanguageCode(VocabularyLanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
72
74
77 inline const Aws::String& GetVocabularyId() const{ return m_vocabularyId; }
78 inline bool VocabularyIdHasBeenSet() const { return m_vocabularyIdHasBeenSet; }
79 inline void SetVocabularyId(const Aws::String& value) { m_vocabularyIdHasBeenSet = true; m_vocabularyId = value; }
80 inline void SetVocabularyId(Aws::String&& value) { m_vocabularyIdHasBeenSet = true; m_vocabularyId = std::move(value); }
81 inline void SetVocabularyId(const char* value) { m_vocabularyIdHasBeenSet = true; m_vocabularyId.assign(value); }
82 inline DefaultVocabulary& WithVocabularyId(const Aws::String& value) { SetVocabularyId(value); return *this;}
83 inline DefaultVocabulary& WithVocabularyId(Aws::String&& value) { SetVocabularyId(std::move(value)); return *this;}
84 inline DefaultVocabulary& WithVocabularyId(const char* value) { SetVocabularyId(value); return *this;}
86
88
91 inline const Aws::String& GetVocabularyName() const{ return m_vocabularyName; }
92 inline bool VocabularyNameHasBeenSet() const { return m_vocabularyNameHasBeenSet; }
93 inline void SetVocabularyName(const Aws::String& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = value; }
94 inline void SetVocabularyName(Aws::String&& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = std::move(value); }
95 inline void SetVocabularyName(const char* value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName.assign(value); }
96 inline DefaultVocabulary& WithVocabularyName(const Aws::String& value) { SetVocabularyName(value); return *this;}
97 inline DefaultVocabulary& WithVocabularyName(Aws::String&& value) { SetVocabularyName(std::move(value)); return *this;}
98 inline DefaultVocabulary& WithVocabularyName(const char* value) { SetVocabularyName(value); return *this;}
100 private:
101
102 Aws::String m_instanceId;
103 bool m_instanceIdHasBeenSet = false;
104
105 VocabularyLanguageCode m_languageCode;
106 bool m_languageCodeHasBeenSet = false;
107
108 Aws::String m_vocabularyId;
109 bool m_vocabularyIdHasBeenSet = false;
110
111 Aws::String m_vocabularyName;
112 bool m_vocabularyNameHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Connect
117} // namespace Aws
DefaultVocabulary & WithLanguageCode(const VocabularyLanguageCode &value)
void SetInstanceId(Aws::String &&value)
void SetVocabularyId(const Aws::String &value)
DefaultVocabulary & WithInstanceId(const Aws::String &value)
const VocabularyLanguageCode & GetLanguageCode() const
DefaultVocabulary & WithLanguageCode(VocabularyLanguageCode &&value)
DefaultVocabulary & WithVocabularyId(const Aws::String &value)
DefaultVocabulary & WithVocabularyId(const char *value)
const Aws::String & GetVocabularyName() const
DefaultVocabulary & WithInstanceId(const char *value)
void SetVocabularyId(Aws::String &&value)
DefaultVocabulary & WithVocabularyName(const Aws::String &value)
void SetLanguageCode(VocabularyLanguageCode &&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)
void SetLanguageCode(const VocabularyLanguageCode &value)
DefaultVocabulary & WithVocabularyId(Aws::String &&value)
DefaultVocabulary & WithVocabularyName(const char *value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetVocabularyId() const
DefaultVocabulary & WithInstanceId(Aws::String &&value)
void SetVocabularyName(const Aws::String &value)
void SetVocabularyName(Aws::String &&value)
DefaultVocabulary & WithVocabularyName(Aws::String &&value)
void SetInstanceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue