AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
IndexConfigurationSummary.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/IndexEdition.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/kendra/model/IndexStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace kendra
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_KENDRA_API IndexConfigurationSummary() = default;
41 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetName() const { return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 template<typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
52 template<typename NameT = Aws::String>
53 IndexConfigurationSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
55
57
62 inline const Aws::String& GetId() const { return m_id; }
63 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
64 template<typename IdT = Aws::String>
65 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
66 template<typename IdT = Aws::String>
67 IndexConfigurationSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
69
71
75 inline IndexEdition GetEdition() const { return m_edition; }
76 inline bool EditionHasBeenSet() const { return m_editionHasBeenSet; }
77 inline void SetEdition(IndexEdition value) { m_editionHasBeenSet = true; m_edition = value; }
78 inline IndexConfigurationSummary& WithEdition(IndexEdition value) { SetEdition(value); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
86 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
87 template<typename CreatedAtT = Aws::Utils::DateTime>
88 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
89 template<typename CreatedAtT = Aws::Utils::DateTime>
90 IndexConfigurationSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
98 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
99 template<typename UpdatedAtT = Aws::Utils::DateTime>
100 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
101 template<typename UpdatedAtT = Aws::Utils::DateTime>
102 IndexConfigurationSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
104
106
110 inline IndexStatus GetStatus() const { return m_status; }
111 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
112 inline void SetStatus(IndexStatus value) { m_statusHasBeenSet = true; m_status = value; }
113 inline IndexConfigurationSummary& WithStatus(IndexStatus value) { SetStatus(value); return *this;}
115 private:
116
117 Aws::String m_name;
118 bool m_nameHasBeenSet = false;
119
120 Aws::String m_id;
121 bool m_idHasBeenSet = false;
122
124 bool m_editionHasBeenSet = false;
125
126 Aws::Utils::DateTime m_createdAt{};
127 bool m_createdAtHasBeenSet = false;
128
129 Aws::Utils::DateTime m_updatedAt{};
130 bool m_updatedAtHasBeenSet = false;
131
133 bool m_statusHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace kendra
138} // namespace Aws
IndexConfigurationSummary & WithName(NameT &&value)
AWS_KENDRA_API IndexConfigurationSummary(Aws::Utils::Json::JsonView jsonValue)
IndexConfigurationSummary & WithStatus(IndexStatus value)
AWS_KENDRA_API IndexConfigurationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
IndexConfigurationSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_KENDRA_API IndexConfigurationSummary()=default
IndexConfigurationSummary & WithCreatedAt(CreatedAtT &&value)
IndexConfigurationSummary & WithId(IdT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
IndexConfigurationSummary & WithEdition(IndexEdition value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue