AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
49 template<typename NameT = Aws::String>
50 IntentMetadata& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
61 template<typename DescriptionT = Aws::String>
62 IntentMetadata& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
64
66
70 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const { return m_lastUpdatedDate; }
71 inline bool LastUpdatedDateHasBeenSet() const { return m_lastUpdatedDateHasBeenSet; }
72 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
73 void SetLastUpdatedDate(LastUpdatedDateT&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value); }
74 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
75 IntentMetadata& WithLastUpdatedDate(LastUpdatedDateT&& value) { SetLastUpdatedDate(std::forward<LastUpdatedDateT>(value)); return *this;}
77
79
82 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
83 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
84 template<typename CreatedDateT = Aws::Utils::DateTime>
85 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
86 template<typename CreatedDateT = Aws::Utils::DateTime>
87 IntentMetadata& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
89
91
94 inline const Aws::String& GetVersion() const { return m_version; }
95 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
96 template<typename VersionT = Aws::String>
97 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
98 template<typename VersionT = Aws::String>
99 IntentMetadata& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
101 private:
102
103 Aws::String m_name;
104 bool m_nameHasBeenSet = false;
105
106 Aws::String m_description;
107 bool m_descriptionHasBeenSet = false;
108
109 Aws::Utils::DateTime m_lastUpdatedDate{};
110 bool m_lastUpdatedDateHasBeenSet = false;
111
112 Aws::Utils::DateTime m_createdDate{};
113 bool m_createdDateHasBeenSet = false;
114
115 Aws::String m_version;
116 bool m_versionHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace LexModelBuildingService
121} // 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