7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qconnect/QConnect_EXPORTS.h>
11#include <aws/qconnect/model/AIPromptType.h>
12#include <aws/qconnect/model/CrossRegionStatus.h>
13#include <aws/qconnect/model/ModelLifecycle.h>
46 template <
typename ModelIdT = Aws::String>
48 m_modelIdHasBeenSet =
true;
49 m_modelId = std::forward<ModelIdT>(value);
51 template <
typename ModelIdT = 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>
87 m_crossRegionStatusHasBeenSet =
true;
88 m_crossRegionStatus = value;
103 m_supportsPromptCachingHasBeenSet =
true;
104 m_supportsPromptCaching = value;
118 template <
typename SupportedAIPromptTypesT = Aws::Vector<AIPromptType>>
120 m_supportedAIPromptTypesHasBeenSet =
true;
121 m_supportedAIPromptTypes = std::forward<SupportedAIPromptTypesT>(value);
123 template <
typename SupportedAIPromptTypesT = Aws::Vector<AIPromptType>>
129 m_supportedAIPromptTypesHasBeenSet =
true;
130 m_supportedAIPromptTypes.push_back(value);
144 m_modelLifecycleHasBeenSet =
true;
145 m_modelLifecycle = value;
160 template <
typename LegacyTimestampT = Aws::Utils::DateTime>
162 m_legacyTimestampHasBeenSet =
true;
163 m_legacyTimestamp = std::forward<LegacyTimestampT>(value);
165 template <
typename LegacyTimestampT = Aws::Utils::DateTime>
179 template <
typename EndOfLifeTimestampT = Aws::Utils::DateTime>
181 m_endOfLifeTimestampHasBeenSet =
true;
182 m_endOfLifeTimestamp = std::forward<EndOfLifeTimestampT>(value);
184 template <
typename EndOfLifeTimestampT = Aws::Utils::DateTime>
197 bool m_supportsPromptCaching{
false};
206 bool m_modelIdHasBeenSet =
false;
207 bool m_displayNameHasBeenSet =
false;
208 bool m_crossRegionStatusHasBeenSet =
false;
209 bool m_supportsPromptCachingHasBeenSet =
false;
210 bool m_supportedAIPromptTypesHasBeenSet =
false;
211 bool m_modelLifecycleHasBeenSet =
false;
212 bool m_legacyTimestampHasBeenSet =
false;
213 bool m_endOfLifeTimestampHasBeenSet =
false;
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetModelLifecycle(ModelLifecycle value)
bool GetSupportsPromptCaching() const
ModelSummary & WithSupportedAIPromptTypes(SupportedAIPromptTypesT &&value)
void SetSupportsPromptCaching(bool value)
ModelSummary & WithDisplayName(DisplayNameT &&value)
bool CrossRegionStatusHasBeenSet() const
bool ModelIdHasBeenSet() const
void SetDisplayName(DisplayNameT &&value)
bool LegacyTimestampHasBeenSet() const
ModelSummary & WithEndOfLifeTimestamp(EndOfLifeTimestampT &&value)
bool SupportedAIPromptTypesHasBeenSet() const
void SetLegacyTimestamp(LegacyTimestampT &&value)
void SetCrossRegionStatus(CrossRegionStatus value)
ModelSummary & AddSupportedAIPromptTypes(AIPromptType value)
const Aws::Utils::DateTime & GetEndOfLifeTimestamp() const
const Aws::Vector< AIPromptType > & GetSupportedAIPromptTypes() const
AWS_QCONNECT_API ModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelSummary & WithSupportsPromptCaching(bool value)
ModelSummary & WithModelId(ModelIdT &&value)
ModelLifecycle GetModelLifecycle() const
bool EndOfLifeTimestampHasBeenSet() const
const Aws::Utils::DateTime & GetLegacyTimestamp() const
bool ModelLifecycleHasBeenSet() const
ModelSummary & WithLegacyTimestamp(LegacyTimestampT &&value)
void SetModelId(ModelIdT &&value)
bool DisplayNameHasBeenSet() const
void SetEndOfLifeTimestamp(EndOfLifeTimestampT &&value)
AWS_QCONNECT_API ModelSummary()=default
ModelSummary & WithCrossRegionStatus(CrossRegionStatus value)
bool SupportsPromptCachingHasBeenSet() const
CrossRegionStatus GetCrossRegionStatus() const
const Aws::String & GetModelId() const
AWS_QCONNECT_API ModelSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDisplayName() const
ModelSummary & WithModelLifecycle(ModelLifecycle value)
void SetSupportedAIPromptTypes(SupportedAIPromptTypesT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue