AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IntentMetadata.h
1
6#pragma once
7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 LexModelBuildingService
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_LEXMODELBUILDINGSERVICE_API IntentMetadata();
36 AWS_LEXMODELBUILDINGSERVICE_API IntentMetadata(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LEXMODELBUILDINGSERVICE_API IntentMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline IntentMetadata& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline IntentMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline IntentMetadata& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const Aws::String& GetDescription() const{ return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
62 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
63 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
64 inline IntentMetadata& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
65 inline IntentMetadata& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
66 inline IntentMetadata& WithDescription(const char* value) { SetDescription(value); return *this;}
68
70
74 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; }
75 inline bool LastUpdatedDateHasBeenSet() const { return m_lastUpdatedDateHasBeenSet; }
76 inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = value; }
77 inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::move(value); }
78 inline IntentMetadata& WithLastUpdatedDate(const Aws::Utils::DateTime& value) { SetLastUpdatedDate(value); return *this;}
79 inline IntentMetadata& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
87 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
88 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
89 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
90 inline IntentMetadata& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
91 inline IntentMetadata& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
93
95
98 inline const Aws::String& GetVersion() const{ return m_version; }
99 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
100 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
101 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
102 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
103 inline IntentMetadata& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
104 inline IntentMetadata& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
105 inline IntentMetadata& WithVersion(const char* value) { SetVersion(value); return *this;}
107 private:
108
109 Aws::String m_name;
110 bool m_nameHasBeenSet = false;
111
112 Aws::String m_description;
113 bool m_descriptionHasBeenSet = false;
114
115 Aws::Utils::DateTime m_lastUpdatedDate;
116 bool m_lastUpdatedDateHasBeenSet = false;
117
118 Aws::Utils::DateTime m_createdDate;
119 bool m_createdDateHasBeenSet = false;
120
121 Aws::String m_version;
122 bool m_versionHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace LexModelBuildingService
127} // namespace Aws
IntentMetadata & WithVersion(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedDate() const
IntentMetadata & WithName(Aws::String &&value)
IntentMetadata & WithVersion(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
IntentMetadata & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
IntentMetadata & WithCreatedDate(Aws::Utils::DateTime &&value)
IntentMetadata & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
IntentMetadata & WithName(const char *value)
AWS_LEXMODELBUILDINGSERVICE_API IntentMetadata(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedDate(Aws::Utils::DateTime &&value)
void SetLastUpdatedDate(Aws::Utils::DateTime &&value)
IntentMetadata & WithDescription(const char *value)
void SetLastUpdatedDate(const Aws::Utils::DateTime &value)
IntentMetadata & WithDescription(const Aws::String &value)
IntentMetadata & WithName(const Aws::String &value)
IntentMetadata & WithVersion(const char *value)
AWS_LEXMODELBUILDINGSERVICE_API IntentMetadata()
IntentMetadata & WithCreatedDate(const Aws::Utils::DateTime &value)
AWS_LEXMODELBUILDINGSERVICE_API IntentMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedDate(const Aws::Utils::DateTime &value)
IntentMetadata & WithDescription(Aws::String &&value)
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue