7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/QBusiness_EXPORTS.h>
10#include <aws/qbusiness/model/IndexStatus.h>
32 AWS_QBUSINESS_API
Index() =
default;
43 template <
typename DisplayNameT = Aws::String>
45 m_displayNameHasBeenSet =
true;
46 m_displayName = std::forward<DisplayNameT>(value);
48 template <
typename DisplayNameT = Aws::String>
61 template <
typename IndexIdT = Aws::String>
63 m_indexIdHasBeenSet =
true;
64 m_indexId = std::forward<IndexIdT>(value);
66 template <
typename IndexIdT = Aws::String>
79 template <
typename CreatedAtT = Aws::Utils::DateTime>
81 m_createdAtHasBeenSet =
true;
82 m_createdAt = std::forward<CreatedAtT>(value);
84 template <
typename CreatedAtT = Aws::Utils::DateTime>
97 template <
typename UpdatedAtT = Aws::Utils::DateTime>
99 m_updatedAtHasBeenSet =
true;
100 m_updatedAt = std::forward<UpdatedAtT>(value);
102 template <
typename UpdatedAtT = Aws::Utils::DateTime>
117 m_statusHasBeenSet =
true;
127 bool m_displayNameHasBeenSet =
false;
130 bool m_indexIdHasBeenSet =
false;
133 bool m_createdAtHasBeenSet =
false;
136 bool m_updatedAtHasBeenSet =
false;
139 bool m_statusHasBeenSet =
false;
const Aws::Utils::DateTime & GetCreatedAt() const
Index & WithStatus(IndexStatus value)
bool UpdatedAtHasBeenSet() const
AWS_QBUSINESS_API Index & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
Index & WithUpdatedAt(UpdatedAtT &&value)
void SetIndexId(IndexIdT &&value)
void SetDisplayName(DisplayNameT &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
Index & WithCreatedAt(CreatedAtT &&value)
bool CreatedAtHasBeenSet() const
AWS_QBUSINESS_API Index(Aws::Utils::Json::JsonView jsonValue)
Index & WithDisplayName(DisplayNameT &&value)
bool IndexIdHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetStatus(IndexStatus value)
bool DisplayNameHasBeenSet() const
Index & WithIndexId(IndexIdT &&value)
IndexStatus GetStatus() const
const Aws::String & GetDisplayName() const
AWS_QBUSINESS_API Index()=default
const Aws::String & GetIndexId() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue