AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ThesaurusSummary.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kendra/model/ThesaurusStatus.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 kendra
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_KENDRA_API ThesaurusSummary() = default;
40 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const { return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 template<typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
51 template<typename IdT = Aws::String>
52 ThesaurusSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template<typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
63 template<typename NameT = Aws::String>
64 ThesaurusSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
66
68
71 inline ThesaurusStatus GetStatus() const { return m_status; }
72 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
73 inline void SetStatus(ThesaurusStatus value) { m_statusHasBeenSet = true; m_status = value; }
74 inline ThesaurusSummary& WithStatus(ThesaurusStatus value) { SetStatus(value); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
82 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
83 template<typename CreatedAtT = Aws::Utils::DateTime>
84 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
85 template<typename CreatedAtT = Aws::Utils::DateTime>
86 ThesaurusSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
94 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
95 template<typename UpdatedAtT = Aws::Utils::DateTime>
96 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
97 template<typename UpdatedAtT = Aws::Utils::DateTime>
98 ThesaurusSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
100 private:
101
102 Aws::String m_id;
103 bool m_idHasBeenSet = false;
104
105 Aws::String m_name;
106 bool m_nameHasBeenSet = false;
107
109 bool m_statusHasBeenSet = false;
110
111 Aws::Utils::DateTime m_createdAt{};
112 bool m_createdAtHasBeenSet = false;
113
114 Aws::Utils::DateTime m_updatedAt{};
115 bool m_updatedAtHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace kendra
120} // namespace Aws
void SetStatus(ThesaurusStatus value)
void SetUpdatedAt(UpdatedAtT &&value)
ThesaurusSummary & WithName(NameT &&value)
AWS_KENDRA_API ThesaurusSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
ThesaurusSummary & WithId(IdT &&value)
AWS_KENDRA_API ThesaurusSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ThesaurusSummary & WithCreatedAt(CreatedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetId() const
const Aws::String & GetName() const
ThesaurusSummary & WithUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_KENDRA_API ThesaurusSummary()=default
ThesaurusSummary & WithStatus(ThesaurusStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue