7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/FoundationModelLifecycleStatus.h>
9#include <aws/core/utils/DateTime.h>
44 m_statusHasBeenSet =
true;
59 template <
typename StartOfLifeTimeT = Aws::Utils::DateTime>
61 m_startOfLifeTimeHasBeenSet =
true;
62 m_startOfLifeTime = std::forward<StartOfLifeTimeT>(value);
64 template <
typename StartOfLifeTimeT = Aws::Utils::DateTime>
77 template <
typename EndOfLifeTimeT = Aws::Utils::DateTime>
79 m_endOfLifeTimeHasBeenSet =
true;
80 m_endOfLifeTime = std::forward<EndOfLifeTimeT>(value);
82 template <
typename EndOfLifeTimeT = Aws::Utils::DateTime>
97 template <
typename LegacyTimeT = Aws::Utils::DateTime>
99 m_legacyTimeHasBeenSet =
true;
100 m_legacyTime = std::forward<LegacyTimeT>(value);
102 template <
typename LegacyTimeT = Aws::Utils::DateTime>
116 template <
typename PublicExtendedAccessTimeT = Aws::Utils::DateTime>
118 m_publicExtendedAccessTimeHasBeenSet =
true;
119 m_publicExtendedAccessTime = std::forward<PublicExtendedAccessTimeT>(value);
121 template <
typename PublicExtendedAccessTimeT = Aws::Utils::DateTime>
137 bool m_statusHasBeenSet =
false;
138 bool m_startOfLifeTimeHasBeenSet =
false;
139 bool m_endOfLifeTimeHasBeenSet =
false;
140 bool m_legacyTimeHasBeenSet =
false;
141 bool m_publicExtendedAccessTimeHasBeenSet =
false;
const Aws::Utils::DateTime & GetLegacyTime() const
AWS_BEDROCK_API FoundationModelLifecycle()=default
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API FoundationModelLifecycle & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(FoundationModelLifecycleStatus value)
bool LegacyTimeHasBeenSet() const
void SetLegacyTime(LegacyTimeT &&value)
AWS_BEDROCK_API FoundationModelLifecycle(Aws::Utils::Json::JsonView jsonValue)
FoundationModelLifecycle & WithEndOfLifeTime(EndOfLifeTimeT &&value)
void SetPublicExtendedAccessTime(PublicExtendedAccessTimeT &&value)
const Aws::Utils::DateTime & GetEndOfLifeTime() const
FoundationModelLifecycle & WithStatus(FoundationModelLifecycleStatus value)
const Aws::Utils::DateTime & GetPublicExtendedAccessTime() const
void SetEndOfLifeTime(EndOfLifeTimeT &&value)
FoundationModelLifecycleStatus GetStatus() const
void SetStartOfLifeTime(StartOfLifeTimeT &&value)
bool StatusHasBeenSet() const
FoundationModelLifecycle & WithStartOfLifeTime(StartOfLifeTimeT &&value)
FoundationModelLifecycle & WithLegacyTime(LegacyTimeT &&value)
bool EndOfLifeTimeHasBeenSet() const
bool PublicExtendedAccessTimeHasBeenSet() const
bool StartOfLifeTimeHasBeenSet() const
FoundationModelLifecycle & WithPublicExtendedAccessTime(PublicExtendedAccessTimeT &&value)
const Aws::Utils::DateTime & GetStartOfLifeTime() const
FoundationModelLifecycleStatus
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue