AWS SDK for C++

AWS SDK for C++ Version 1.11.926

Loading...
Searching...
No Matches
IntentMetadata.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace LexModelBuildingService {
21namespace Model {
22
29 public:
30 AWS_LEXMODELBUILDINGSERVICE_API IntentMetadata() = default;
31 AWS_LEXMODELBUILDINGSERVICE_API IntentMetadata(Aws::Utils::Json::JsonView jsonValue);
32 AWS_LEXMODELBUILDINGSERVICE_API IntentMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetName() const { return m_name; }
40 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
41 template <typename NameT = Aws::String>
42 void SetName(NameT&& value) {
43 m_nameHasBeenSet = true;
44 m_name = std::forward<NameT>(value);
45 }
46 template <typename NameT = Aws::String>
47 IntentMetadata& WithName(NameT&& value) {
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDescription() const { return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 template <typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) {
61 m_descriptionHasBeenSet = true;
62 m_description = std::forward<DescriptionT>(value);
63 }
64 template <typename DescriptionT = Aws::String>
65 IntentMetadata& WithDescription(DescriptionT&& value) {
66 SetDescription(std::forward<DescriptionT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const { return m_lastUpdatedDate; }
77 inline bool LastUpdatedDateHasBeenSet() const { return m_lastUpdatedDateHasBeenSet; }
78 template <typename LastUpdatedDateT = Aws::Utils::DateTime>
79 void SetLastUpdatedDate(LastUpdatedDateT&& value) {
80 m_lastUpdatedDateHasBeenSet = true;
81 m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value);
82 }
83 template <typename LastUpdatedDateT = Aws::Utils::DateTime>
84 IntentMetadata& WithLastUpdatedDate(LastUpdatedDateT&& value) {
85 SetLastUpdatedDate(std::forward<LastUpdatedDateT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
95 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
96 template <typename CreatedDateT = Aws::Utils::DateTime>
97 void SetCreatedDate(CreatedDateT&& value) {
98 m_createdDateHasBeenSet = true;
99 m_createdDate = std::forward<CreatedDateT>(value);
100 }
101 template <typename CreatedDateT = Aws::Utils::DateTime>
102 IntentMetadata& WithCreatedDate(CreatedDateT&& value) {
103 SetCreatedDate(std::forward<CreatedDateT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetVersion() const { return m_version; }
113 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
114 template <typename VersionT = Aws::String>
115 void SetVersion(VersionT&& value) {
116 m_versionHasBeenSet = true;
117 m_version = std::forward<VersionT>(value);
118 }
119 template <typename VersionT = Aws::String>
120 IntentMetadata& WithVersion(VersionT&& value) {
121 SetVersion(std::forward<VersionT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_name;
127
128 Aws::String m_description;
129
130 Aws::Utils::DateTime m_lastUpdatedDate{};
131
132 Aws::Utils::DateTime m_createdDate{};
133
134 Aws::String m_version;
135 bool m_nameHasBeenSet = false;
136 bool m_descriptionHasBeenSet = false;
137 bool m_lastUpdatedDateHasBeenSet = false;
138 bool m_createdDateHasBeenSet = false;
139 bool m_versionHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace LexModelBuildingService
144} // namespace Aws
IntentMetadata & WithDescription(DescriptionT &&value)
void SetLastUpdatedDate(LastUpdatedDateT &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
const Aws::Utils::DateTime & GetLastUpdatedDate() const
IntentMetadata & WithVersion(VersionT &&value)
AWS_LEXMODELBUILDINGSERVICE_API IntentMetadata(Aws::Utils::Json::JsonView jsonValue)
IntentMetadata & WithLastUpdatedDate(LastUpdatedDateT &&value)
AWS_LEXMODELBUILDINGSERVICE_API IntentMetadata()=default
AWS_LEXMODELBUILDINGSERVICE_API IntentMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
IntentMetadata & WithCreatedDate(CreatedDateT &&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