AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ModelSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/nova-act/NovaAct_EXPORTS.h>
9#include <aws/nova-act/model/ModelLifecycle.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace NovaAct {
21namespace Model {
22
30 public:
31 AWS_NOVAACT_API ModelSummary() = default;
32 AWS_NOVAACT_API ModelSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_NOVAACT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetModelId() const { return m_modelId; }
41 inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; }
42 template <typename ModelIdT = Aws::String>
43 void SetModelId(ModelIdT&& value) {
44 m_modelIdHasBeenSet = true;
45 m_modelId = std::forward<ModelIdT>(value);
46 }
47 template <typename ModelIdT = Aws::String>
48 ModelSummary& WithModelId(ModelIdT&& value) {
49 SetModelId(std::forward<ModelIdT>(value));
50 return *this;
51 }
53
55
58 inline const ModelLifecycle& GetModelLifecycle() const { return m_modelLifecycle; }
59 inline bool ModelLifecycleHasBeenSet() const { return m_modelLifecycleHasBeenSet; }
60 template <typename ModelLifecycleT = ModelLifecycle>
61 void SetModelLifecycle(ModelLifecycleT&& value) {
62 m_modelLifecycleHasBeenSet = true;
63 m_modelLifecycle = std::forward<ModelLifecycleT>(value);
64 }
65 template <typename ModelLifecycleT = ModelLifecycle>
66 ModelSummary& WithModelLifecycle(ModelLifecycleT&& value) {
67 SetModelLifecycle(std::forward<ModelLifecycleT>(value));
68 return *this;
69 }
71
73
76 inline int GetMinimumCompatibilityVersion() const { return m_minimumCompatibilityVersion; }
77 inline bool MinimumCompatibilityVersionHasBeenSet() const { return m_minimumCompatibilityVersionHasBeenSet; }
78 inline void SetMinimumCompatibilityVersion(int value) {
79 m_minimumCompatibilityVersionHasBeenSet = true;
80 m_minimumCompatibilityVersion = value;
81 }
84 return *this;
85 }
87 private:
88 Aws::String m_modelId;
89
90 ModelLifecycle m_modelLifecycle;
91
92 int m_minimumCompatibilityVersion{0};
93 bool m_modelIdHasBeenSet = false;
94 bool m_modelLifecycleHasBeenSet = false;
95 bool m_minimumCompatibilityVersionHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace NovaAct
100} // namespace Aws
AWS_NOVAACT_API ModelSummary(Aws::Utils::Json::JsonView jsonValue)
ModelSummary & WithModelId(ModelIdT &&value)
ModelSummary & WithMinimumCompatibilityVersion(int value)
bool MinimumCompatibilityVersionHasBeenSet() const
AWS_NOVAACT_API ModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelSummary & WithModelLifecycle(ModelLifecycleT &&value)
const Aws::String & GetModelId() const
AWS_NOVAACT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMinimumCompatibilityVersion(int value)
void SetModelLifecycle(ModelLifecycleT &&value)
AWS_NOVAACT_API ModelSummary()=default
const ModelLifecycle & GetModelLifecycle() const
void SetModelId(ModelIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue