AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FoundationModelLifecycle.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/FoundationModelLifecycleStatus.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Bedrock
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_BEDROCK_API FoundationModelLifecycle();
38 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const FoundationModelLifecycleStatus& GetStatus() const{ return m_status; }
47 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
48 inline void SetStatus(const FoundationModelLifecycleStatus& value) { m_statusHasBeenSet = true; m_status = value; }
49 inline void SetStatus(FoundationModelLifecycleStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
50 inline FoundationModelLifecycle& WithStatus(const FoundationModelLifecycleStatus& value) { SetStatus(value); return *this;}
51 inline FoundationModelLifecycle& WithStatus(FoundationModelLifecycleStatus&& value) { SetStatus(std::move(value)); return *this;}
53 private:
54
56 bool m_statusHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace Bedrock
61} // namespace Aws
void SetStatus(FoundationModelLifecycleStatus &&value)
FoundationModelLifecycle & WithStatus(const FoundationModelLifecycleStatus &value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API FoundationModelLifecycle & operator=(Aws::Utils::Json::JsonView jsonValue)
FoundationModelLifecycle & WithStatus(FoundationModelLifecycleStatus &&value)
AWS_BEDROCK_API FoundationModelLifecycle(Aws::Utils::Json::JsonView jsonValue)
const FoundationModelLifecycleStatus & GetStatus() const
void SetStatus(const FoundationModelLifecycleStatus &value)
Aws::Utils::Json::JsonValue JsonValue