AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VocabularySummary.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 <aws/connect/model/VocabularyState.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Connect
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_CONNECT_API VocabularySummary();
41 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline VocabularySummary& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline VocabularySummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline VocabularySummary& WithName(const char* value) { SetName(value); return *this;}
57
59
62 inline const Aws::String& GetId() const{ return m_id; }
63 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
64 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
65 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
66 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
67 inline VocabularySummary& WithId(const Aws::String& value) { SetId(value); return *this;}
68 inline VocabularySummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
69 inline VocabularySummary& WithId(const char* value) { SetId(value); return *this;}
71
73
76 inline const Aws::String& GetArn() const{ return m_arn; }
77 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
78 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
79 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
80 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
81 inline VocabularySummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
82 inline VocabularySummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
83 inline VocabularySummary& WithArn(const char* value) { SetArn(value); return *this;}
85
87
93 inline const VocabularyLanguageCode& GetLanguageCode() const{ return m_languageCode; }
94 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
95 inline void SetLanguageCode(const VocabularyLanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
96 inline void SetLanguageCode(VocabularyLanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
97 inline VocabularySummary& WithLanguageCode(const VocabularyLanguageCode& value) { SetLanguageCode(value); return *this;}
98 inline VocabularySummary& WithLanguageCode(VocabularyLanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
100
102
105 inline const VocabularyState& GetState() const{ return m_state; }
106 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
107 inline void SetState(const VocabularyState& value) { m_stateHasBeenSet = true; m_state = value; }
108 inline void SetState(VocabularyState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
109 inline VocabularySummary& WithState(const VocabularyState& value) { SetState(value); return *this;}
110 inline VocabularySummary& WithState(VocabularyState&& value) { SetState(std::move(value)); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
118 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
119 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
120 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
122 inline VocabularySummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
124
126
129 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
130 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
131 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
132 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
133 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
134 inline VocabularySummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
135 inline VocabularySummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
136 inline VocabularySummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
138 private:
139
140 Aws::String m_name;
141 bool m_nameHasBeenSet = false;
142
143 Aws::String m_id;
144 bool m_idHasBeenSet = false;
145
146 Aws::String m_arn;
147 bool m_arnHasBeenSet = false;
148
149 VocabularyLanguageCode m_languageCode;
150 bool m_languageCodeHasBeenSet = false;
151
152 VocabularyState m_state;
153 bool m_stateHasBeenSet = false;
154
155 Aws::Utils::DateTime m_lastModifiedTime;
156 bool m_lastModifiedTimeHasBeenSet = false;
157
158 Aws::String m_failureReason;
159 bool m_failureReasonHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace Connect
164} // namespace Aws
const Aws::String & GetFailureReason() const
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
VocabularySummary & WithName(Aws::String &&value)
VocabularySummary & WithState(const VocabularyState &value)
VocabularySummary & WithName(const Aws::String &value)
void SetState(VocabularyState &&value)
VocabularySummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
const Aws::String & GetName() const
void SetArn(const Aws::String &value)
VocabularySummary & WithArn(Aws::String &&value)
void SetName(const Aws::String &value)
void SetFailureReason(Aws::String &&value)
AWS_CONNECT_API VocabularySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
VocabularySummary & WithLanguageCode(VocabularyLanguageCode &&value)
VocabularySummary & WithArn(const char *value)
void SetLanguageCode(VocabularyLanguageCode &&value)
void SetFailureReason(const Aws::String &value)
VocabularySummary & WithArn(const Aws::String &value)
const VocabularyState & GetState() const
VocabularySummary & WithId(const Aws::String &value)
VocabularySummary & WithFailureReason(Aws::String &&value)
VocabularySummary & WithState(VocabularyState &&value)
void SetId(const Aws::String &value)
VocabularySummary & WithName(const char *value)
VocabularySummary & WithId(const char *value)
void SetLanguageCode(const VocabularyLanguageCode &value)
void SetState(const VocabularyState &value)
VocabularySummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
const VocabularyLanguageCode & GetLanguageCode() const
VocabularySummary & WithId(Aws::String &&value)
VocabularySummary & WithLanguageCode(const VocabularyLanguageCode &value)
VocabularySummary & WithFailureReason(const char *value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
VocabularySummary & WithFailureReason(const Aws::String &value)
AWS_CONNECT_API VocabularySummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue