7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearch/OpenSearchService_EXPORTS.h>
10#include <aws/opensearch/model/InsightPriorityLevel.h>
11#include <aws/opensearch/model/InsightStatus.h>
12#include <aws/opensearch/model/InsightType.h>
23namespace OpenSearchService {
35 AWS_OPENSEARCHSERVICE_API
Insight() =
default;
46 template <
typename InsightIdT = Aws::String>
48 m_insightIdHasBeenSet =
true;
49 m_insightId = std::forward<InsightIdT>(value);
51 template <
typename InsightIdT = Aws::String>
64 template <
typename DisplayNameT = Aws::String>
66 m_displayNameHasBeenSet =
true;
67 m_displayName = std::forward<DisplayNameT>(value);
69 template <
typename DisplayNameT = Aws::String>
84 m_typeHasBeenSet =
true;
101 m_priorityHasBeenSet =
true;
118 m_statusHasBeenSet =
true;
133 template <
typename CreationTimeT = Aws::Utils::DateTime>
135 m_creationTimeHasBeenSet =
true;
136 m_creationTime = std::forward<CreationTimeT>(value);
138 template <
typename CreationTimeT = Aws::Utils::DateTime>
151 template <
typename UpdateTimeT = Aws::Utils::DateTime>
153 m_updateTimeHasBeenSet =
true;
154 m_updateTime = std::forward<UpdateTimeT>(value);
156 template <
typename UpdateTimeT = Aws::Utils::DateTime>
170 m_isExperimentalHasBeenSet =
true;
171 m_isExperimental = value;
193 bool m_isExperimental{
false};
194 bool m_insightIdHasBeenSet =
false;
195 bool m_displayNameHasBeenSet =
false;
196 bool m_typeHasBeenSet =
false;
197 bool m_priorityHasBeenSet =
false;
198 bool m_statusHasBeenSet =
false;
199 bool m_creationTimeHasBeenSet =
false;
200 bool m_updateTimeHasBeenSet =
false;
201 bool m_isExperimentalHasBeenSet =
false;
InsightPriorityLevel GetPriority() const
bool UpdateTimeHasBeenSet() const
bool InsightIdHasBeenSet() const
void SetCreationTime(CreationTimeT &&value)
InsightStatus GetStatus() const
Insight & WithCreationTime(CreationTimeT &&value)
void SetIsExperimental(bool value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetPriority(InsightPriorityLevel value)
void SetUpdateTime(UpdateTimeT &&value)
void SetDisplayName(DisplayNameT &&value)
bool DisplayNameHasBeenSet() const
Insight & WithType(InsightType value)
bool GetIsExperimental() const
Insight & WithDisplayName(DisplayNameT &&value)
Insight & WithIsExperimental(bool value)
Insight & WithUpdateTime(UpdateTimeT &&value)
AWS_OPENSEARCHSERVICE_API Insight()=default
InsightType GetType() const
void SetType(InsightType value)
bool TypeHasBeenSet() const
AWS_OPENSEARCHSERVICE_API Insight & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInsightId(InsightIdT &&value)
bool IsExperimentalHasBeenSet() const
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetInsightId() const
Insight & WithInsightId(InsightIdT &&value)
bool CreationTimeHasBeenSet() const
const Aws::String & GetDisplayName() const
Insight & WithStatus(InsightStatus value)
bool StatusHasBeenSet() const
const Aws::Utils::DateTime & GetUpdateTime() const
bool PriorityHasBeenSet() const
void SetStatus(InsightStatus value)
Insight & WithPriority(InsightPriorityLevel value)
AWS_OPENSEARCHSERVICE_API Insight(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue