AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
ImportedModelSummary.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Bedrock
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_BEDROCK_API ImportedModelSummary() = default;
38 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetModelArn() const { return m_modelArn; }
46 inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
47 template<typename ModelArnT = Aws::String>
48 void SetModelArn(ModelArnT&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::forward<ModelArnT>(value); }
49 template<typename ModelArnT = Aws::String>
50 ImportedModelSummary& WithModelArn(ModelArnT&& value) { SetModelArn(std::forward<ModelArnT>(value)); return *this;}
52
54
57 inline const Aws::String& GetModelName() const { return m_modelName; }
58 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
59 template<typename ModelNameT = Aws::String>
60 void SetModelName(ModelNameT&& value) { m_modelNameHasBeenSet = true; m_modelName = std::forward<ModelNameT>(value); }
61 template<typename ModelNameT = Aws::String>
62 ImportedModelSummary& WithModelName(ModelNameT&& value) { SetModelName(std::forward<ModelNameT>(value)); return *this;}
64
66
69 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
70 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
71 template<typename CreationTimeT = Aws::Utils::DateTime>
72 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
73 template<typename CreationTimeT = Aws::Utils::DateTime>
74 ImportedModelSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
76
78
81 inline bool GetInstructSupported() const { return m_instructSupported; }
82 inline bool InstructSupportedHasBeenSet() const { return m_instructSupportedHasBeenSet; }
83 inline void SetInstructSupported(bool value) { m_instructSupportedHasBeenSet = true; m_instructSupported = value; }
84 inline ImportedModelSummary& WithInstructSupported(bool value) { SetInstructSupported(value); return *this;}
86
88
91 inline const Aws::String& GetModelArchitecture() const { return m_modelArchitecture; }
92 inline bool ModelArchitectureHasBeenSet() const { return m_modelArchitectureHasBeenSet; }
93 template<typename ModelArchitectureT = Aws::String>
94 void SetModelArchitecture(ModelArchitectureT&& value) { m_modelArchitectureHasBeenSet = true; m_modelArchitecture = std::forward<ModelArchitectureT>(value); }
95 template<typename ModelArchitectureT = Aws::String>
96 ImportedModelSummary& WithModelArchitecture(ModelArchitectureT&& value) { SetModelArchitecture(std::forward<ModelArchitectureT>(value)); return *this;}
98 private:
99
100 Aws::String m_modelArn;
101 bool m_modelArnHasBeenSet = false;
102
103 Aws::String m_modelName;
104 bool m_modelNameHasBeenSet = false;
105
106 Aws::Utils::DateTime m_creationTime{};
107 bool m_creationTimeHasBeenSet = false;
108
109 bool m_instructSupported{false};
110 bool m_instructSupportedHasBeenSet = false;
111
112 Aws::String m_modelArchitecture;
113 bool m_modelArchitectureHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace Bedrock
118} // namespace Aws
ImportedModelSummary & WithModelName(ModelNameT &&value)
AWS_BEDROCK_API ImportedModelSummary()=default
void SetModelArchitecture(ModelArchitectureT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
ImportedModelSummary & WithModelArn(ModelArnT &&value)
ImportedModelSummary & WithModelArchitecture(ModelArchitectureT &&value)
AWS_BEDROCK_API ImportedModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API ImportedModelSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetModelArchitecture() const
ImportedModelSummary & WithInstructSupported(bool value)
ImportedModelSummary & WithCreationTime(CreationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue