AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BotMetadata.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/lex-models/model/Status.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LexModelBuildingService
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_LEXMODELBUILDINGSERVICE_API BotMetadata();
37 AWS_LEXMODELBUILDINGSERVICE_API BotMetadata(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LEXMODELBUILDINGSERVICE_API BotMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline BotMetadata& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline BotMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline BotMetadata& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetDescription() const{ return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
63 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
64 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
65 inline BotMetadata& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
66 inline BotMetadata& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
67 inline BotMetadata& WithDescription(const char* value) { SetDescription(value); return *this;}
69
71
74 inline const Status& GetStatus() const{ return m_status; }
75 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
76 inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; }
77 inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
78 inline BotMetadata& WithStatus(const Status& value) { SetStatus(value); return *this;}
79 inline BotMetadata& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
81
83
87 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; }
88 inline bool LastUpdatedDateHasBeenSet() const { return m_lastUpdatedDateHasBeenSet; }
89 inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = value; }
90 inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::move(value); }
91 inline BotMetadata& WithLastUpdatedDate(const Aws::Utils::DateTime& value) { SetLastUpdatedDate(value); return *this;}
92 inline BotMetadata& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;}
94
96
99 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
100 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
101 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
102 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
103 inline BotMetadata& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
104 inline BotMetadata& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
106
108
112 inline const Aws::String& GetVersion() const{ return m_version; }
113 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
114 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
115 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
116 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
117 inline BotMetadata& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
118 inline BotMetadata& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
119 inline BotMetadata& WithVersion(const char* value) { SetVersion(value); return *this;}
121 private:
122
123 Aws::String m_name;
124 bool m_nameHasBeenSet = false;
125
126 Aws::String m_description;
127 bool m_descriptionHasBeenSet = false;
128
129 Status m_status;
130 bool m_statusHasBeenSet = false;
131
132 Aws::Utils::DateTime m_lastUpdatedDate;
133 bool m_lastUpdatedDateHasBeenSet = false;
134
135 Aws::Utils::DateTime m_createdDate;
136 bool m_createdDateHasBeenSet = false;
137
138 Aws::String m_version;
139 bool m_versionHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace LexModelBuildingService
144} // namespace Aws
BotMetadata & WithVersion(const char *value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
BotMetadata & WithStatus(const Status &value)
Definition BotMetadata.h:78
void SetLastUpdatedDate(Aws::Utils::DateTime &&value)
Definition BotMetadata.h:90
AWS_LEXMODELBUILDINGSERVICE_API BotMetadata(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
Definition BotMetadata.h:48
BotMetadata & WithVersion(const Aws::String &value)
BotMetadata & WithDescription(Aws::String &&value)
Definition BotMetadata.h:66
BotMetadata & WithName(Aws::String &&value)
Definition BotMetadata.h:52
BotMetadata & WithName(const Aws::String &value)
Definition BotMetadata.h:51
BotMetadata & WithVersion(Aws::String &&value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
BotMetadata & WithStatus(Status &&value)
Definition BotMetadata.h:79
BotMetadata & WithCreatedDate(const Aws::Utils::DateTime &value)
void SetLastUpdatedDate(const Aws::Utils::DateTime &value)
Definition BotMetadata.h:89
const Aws::Utils::DateTime & GetCreatedDate() const
Definition BotMetadata.h:99
BotMetadata & WithDescription(const Aws::String &value)
Definition BotMetadata.h:65
BotMetadata & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
Definition BotMetadata.h:91
BotMetadata & WithCreatedDate(Aws::Utils::DateTime &&value)
AWS_LEXMODELBUILDINGSERVICE_API BotMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
Definition BotMetadata.h:87
AWS_LEXMODELBUILDINGSERVICE_API BotMetadata()
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(const Aws::String &value)
Definition BotMetadata.h:62
BotMetadata & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
Definition BotMetadata.h:92
BotMetadata & WithName(const char *value)
Definition BotMetadata.h:53
void SetVersion(const Aws::String &value)
BotMetadata & WithDescription(const char *value)
Definition BotMetadata.h:67
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue