7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/qbusiness/model/IndexStatus.h>
37 AWS_QBUSINESS_API
Index() =
default;
49 template<
typename DisplayNameT = Aws::String>
51 template<
typename DisplayNameT = Aws::String>
61 template<
typename IndexIdT = Aws::String>
62 void SetIndexId(
IndexIdT&& value) { m_indexIdHasBeenSet =
true; m_indexId = std::forward<IndexIdT>(value); }
63 template<
typename IndexIdT = Aws::String>
73 template<
typename CreatedAtT = Aws::Utils::DateTime>
74 void SetCreatedAt(
CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
75 template<
typename CreatedAtT = Aws::Utils::DateTime>
85 template<
typename UpdatedAtT = Aws::Utils::DateTime>
86 void SetUpdatedAt(
UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
87 template<
typename UpdatedAtT = Aws::Utils::DateTime>
104 bool m_displayNameHasBeenSet =
false;
107 bool m_indexIdHasBeenSet =
false;
110 bool m_createdAtHasBeenSet =
false;
113 bool m_updatedAtHasBeenSet =
false;
116 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