AWS SDK for C++  1.9.102
AWS SDK for C++
SlotTypeMetadata.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace LexModelBuildingService
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetName() const{ return m_name; }
45 
49  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 
54  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 
59  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 
64  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 
69  inline SlotTypeMetadata& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
74  inline SlotTypeMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 
79  inline SlotTypeMetadata& WithName(const char* value) { SetName(value); return *this;}
80 
81 
85  inline const Aws::String& GetDescription() const{ return m_description; }
86 
90  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
91 
95  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
96 
100  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
101 
105  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
106 
110  inline SlotTypeMetadata& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
111 
115  inline SlotTypeMetadata& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
116 
120  inline SlotTypeMetadata& WithDescription(const char* value) { SetDescription(value); return *this;}
121 
122 
127  inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; }
128 
133  inline bool LastUpdatedDateHasBeenSet() const { return m_lastUpdatedDateHasBeenSet; }
134 
139  inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = value; }
140 
145  inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::move(value); }
146 
151  inline SlotTypeMetadata& WithLastUpdatedDate(const Aws::Utils::DateTime& value) { SetLastUpdatedDate(value); return *this;}
152 
157  inline SlotTypeMetadata& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;}
158 
159 
163  inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
164 
168  inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
169 
173  inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
174 
178  inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
179 
183  inline SlotTypeMetadata& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
184 
188  inline SlotTypeMetadata& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
189 
190 
194  inline const Aws::String& GetVersion() const{ return m_version; }
195 
199  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
200 
204  inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
205 
209  inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
210 
214  inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
215 
219  inline SlotTypeMetadata& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
220 
224  inline SlotTypeMetadata& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
225 
229  inline SlotTypeMetadata& WithVersion(const char* value) { SetVersion(value); return *this;}
230 
231  private:
232 
233  Aws::String m_name;
234  bool m_nameHasBeenSet;
235 
236  Aws::String m_description;
237  bool m_descriptionHasBeenSet;
238 
239  Aws::Utils::DateTime m_lastUpdatedDate;
240  bool m_lastUpdatedDateHasBeenSet;
241 
242  Aws::Utils::DateTime m_createdDate;
243  bool m_createdDateHasBeenSet;
244 
245  Aws::String m_version;
246  bool m_versionHasBeenSet;
247  };
248 
249 } // namespace Model
250 } // namespace LexModelBuildingService
251 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::LexModelBuildingService::Model::SlotTypeMetadata::CreatedDateHasBeenSet
bool CreatedDateHasBeenSet() const
Definition: SlotTypeMetadata.h:168
Aws::LexModelBuildingService::Model::SlotTypeMetadata::GetDescription
const Aws::String & GetDescription() const
Definition: SlotTypeMetadata.h:85
Aws::LexModelBuildingService::Model::SlotTypeMetadata::WithVersion
SlotTypeMetadata & WithVersion(const Aws::String &value)
Definition: SlotTypeMetadata.h:219
Aws::LexModelBuildingService::Model::SlotTypeMetadata::NameHasBeenSet
bool NameHasBeenSet() const
Definition: SlotTypeMetadata.h:49
DateTime.h
Aws::LexModelBuildingService::Model::SlotTypeMetadata::WithDescription
SlotTypeMetadata & WithDescription(const char *value)
Definition: SlotTypeMetadata.h:120
Aws::LexModelBuildingService::Model::SlotTypeMetadata::LastUpdatedDateHasBeenSet
bool LastUpdatedDateHasBeenSet() const
Definition: SlotTypeMetadata.h:133
Aws::LexModelBuildingService::Model::SlotTypeMetadata::SetDescription
void SetDescription(const char *value)
Definition: SlotTypeMetadata.h:105
Aws::LexModelBuildingService::Model::SlotTypeMetadata::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::LexModelBuildingService::Model::SlotTypeMetadata::SlotTypeMetadata
SlotTypeMetadata(Aws::Utils::Json::JsonView jsonValue)
Aws::LexModelBuildingService::Model::SlotTypeMetadata::WithLastUpdatedDate
SlotTypeMetadata & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
Definition: SlotTypeMetadata.h:151
Aws::LexModelBuildingService::Model::SlotTypeMetadata::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: SlotTypeMetadata.h:199
Aws::LexModelBuildingService::Model::SlotTypeMetadata::WithCreatedDate
SlotTypeMetadata & WithCreatedDate(const Aws::Utils::DateTime &value)
Definition: SlotTypeMetadata.h:183
Aws::LexModelBuildingService::Model::SlotTypeMetadata::WithCreatedDate
SlotTypeMetadata & WithCreatedDate(Aws::Utils::DateTime &&value)
Definition: SlotTypeMetadata.h:188
LexModelBuildingService_EXPORTS.h
Aws::LexModelBuildingService::Model::SlotTypeMetadata::WithDescription
SlotTypeMetadata & WithDescription(Aws::String &&value)
Definition: SlotTypeMetadata.h:115
Aws::LexModelBuildingService::Model::SlotTypeMetadata::WithName
SlotTypeMetadata & WithName(const char *value)
Definition: SlotTypeMetadata.h:79
Aws::LexModelBuildingService::Model::SlotTypeMetadata::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: SlotTypeMetadata.h:90
Aws::LexModelBuildingService::Model::SlotTypeMetadata::WithVersion
SlotTypeMetadata & WithVersion(Aws::String &&value)
Definition: SlotTypeMetadata.h:224
Aws::LexModelBuildingService::Model::SlotTypeMetadata::GetVersion
const Aws::String & GetVersion() const
Definition: SlotTypeMetadata.h:194
Aws::LexModelBuildingService::Model::SlotTypeMetadata::SetCreatedDate
void SetCreatedDate(const Aws::Utils::DateTime &value)
Definition: SlotTypeMetadata.h:173
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::LexModelBuildingService::Model::SlotTypeMetadata::SetDescription
void SetDescription(Aws::String &&value)
Definition: SlotTypeMetadata.h:100
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AWS_LEXMODELBUILDINGSERVICE_API
#define AWS_LEXMODELBUILDINGSERVICE_API
Definition: LexModelBuildingService_EXPORTS.h:28
Aws::LexModelBuildingService::Model::SlotTypeMetadata
Definition: SlotTypeMetadata.h:33
Aws::LexModelBuildingService::Model::SlotTypeMetadata::SetLastUpdatedDate
void SetLastUpdatedDate(Aws::Utils::DateTime &&value)
Definition: SlotTypeMetadata.h:145
Aws::LexModelBuildingService::Model::SlotTypeMetadata::GetCreatedDate
const Aws::Utils::DateTime & GetCreatedDate() const
Definition: SlotTypeMetadata.h:163
Aws::LexModelBuildingService::Model::SlotTypeMetadata::GetName
const Aws::String & GetName() const
Definition: SlotTypeMetadata.h:44
Aws::LexModelBuildingService::Model::SlotTypeMetadata::SetVersion
void SetVersion(Aws::String &&value)
Definition: SlotTypeMetadata.h:209
Aws::LexModelBuildingService::Model::SlotTypeMetadata::WithDescription
SlotTypeMetadata & WithDescription(const Aws::String &value)
Definition: SlotTypeMetadata.h:110
Aws::LexModelBuildingService::Model::SlotTypeMetadata::GetLastUpdatedDate
const Aws::Utils::DateTime & GetLastUpdatedDate() const
Definition: SlotTypeMetadata.h:127
Aws::LexModelBuildingService::Model::SlotTypeMetadata::WithName
SlotTypeMetadata & WithName(Aws::String &&value)
Definition: SlotTypeMetadata.h:74
Aws::LexModelBuildingService::Model::SlotTypeMetadata::SetName
void SetName(Aws::String &&value)
Definition: SlotTypeMetadata.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::LexModelBuildingService::Model::SlotTypeMetadata::SetName
void SetName(const Aws::String &value)
Definition: SlotTypeMetadata.h:54
Aws::LexModelBuildingService::Model::SlotTypeMetadata::WithName
SlotTypeMetadata & WithName(const Aws::String &value)
Definition: SlotTypeMetadata.h:69
Aws::LexModelBuildingService::Model::SlotTypeMetadata::operator=
SlotTypeMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LexModelBuildingService::Model::SlotTypeMetadata::SlotTypeMetadata
SlotTypeMetadata()
Aws::LexModelBuildingService::Model::SlotTypeMetadata::SetVersion
void SetVersion(const char *value)
Definition: SlotTypeMetadata.h:214
Aws::LexModelBuildingService::Model::SlotTypeMetadata::SetName
void SetName(const char *value)
Definition: SlotTypeMetadata.h:64
Aws::LexModelBuildingService::Model::SlotTypeMetadata::SetVersion
void SetVersion(const Aws::String &value)
Definition: SlotTypeMetadata.h:204
Aws::LexModelBuildingService::Model::SlotTypeMetadata::SetLastUpdatedDate
void SetLastUpdatedDate(const Aws::Utils::DateTime &value)
Definition: SlotTypeMetadata.h:139
Aws::LexModelBuildingService::Model::SlotTypeMetadata::WithLastUpdatedDate
SlotTypeMetadata & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
Definition: SlotTypeMetadata.h:157
Aws::LexModelBuildingService::Model::SlotTypeMetadata::SetDescription
void SetDescription(const Aws::String &value)
Definition: SlotTypeMetadata.h:95
Aws::LexModelBuildingService::Model::SlotTypeMetadata::SetCreatedDate
void SetCreatedDate(Aws::Utils::DateTime &&value)
Definition: SlotTypeMetadata.h:178
Aws::LexModelBuildingService::Model::SlotTypeMetadata::WithVersion
SlotTypeMetadata & WithVersion(const char *value)
Definition: SlotTypeMetadata.h:229