AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetModelArn(const Aws::String& value) { m_modelArnHasBeenSet = true; m_modelArn = value; }
48 inline void SetModelArn(Aws::String&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::move(value); }
49 inline void SetModelArn(const char* value) { m_modelArnHasBeenSet = true; m_modelArn.assign(value); }
50 inline ImportedModelSummary& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;}
51 inline ImportedModelSummary& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;}
52 inline ImportedModelSummary& WithModelArn(const char* value) { SetModelArn(value); return *this;}
54
56
59 inline const Aws::String& GetModelName() const{ return m_modelName; }
60 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
61 inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
62 inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
63 inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
64 inline ImportedModelSummary& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
65 inline ImportedModelSummary& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
66 inline ImportedModelSummary& WithModelName(const char* value) { SetModelName(value); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
74 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
75 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
76 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
77 inline ImportedModelSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
78 inline ImportedModelSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
80
82
85 inline bool GetInstructSupported() const{ return m_instructSupported; }
86 inline bool InstructSupportedHasBeenSet() const { return m_instructSupportedHasBeenSet; }
87 inline void SetInstructSupported(bool value) { m_instructSupportedHasBeenSet = true; m_instructSupported = value; }
88 inline ImportedModelSummary& WithInstructSupported(bool value) { SetInstructSupported(value); return *this;}
90
92
95 inline const Aws::String& GetModelArchitecture() const{ return m_modelArchitecture; }
96 inline bool ModelArchitectureHasBeenSet() const { return m_modelArchitectureHasBeenSet; }
97 inline void SetModelArchitecture(const Aws::String& value) { m_modelArchitectureHasBeenSet = true; m_modelArchitecture = value; }
98 inline void SetModelArchitecture(Aws::String&& value) { m_modelArchitectureHasBeenSet = true; m_modelArchitecture = std::move(value); }
99 inline void SetModelArchitecture(const char* value) { m_modelArchitectureHasBeenSet = true; m_modelArchitecture.assign(value); }
100 inline ImportedModelSummary& WithModelArchitecture(const Aws::String& value) { SetModelArchitecture(value); return *this;}
101 inline ImportedModelSummary& WithModelArchitecture(Aws::String&& value) { SetModelArchitecture(std::move(value)); return *this;}
102 inline ImportedModelSummary& WithModelArchitecture(const char* value) { SetModelArchitecture(value); return *this;}
104 private:
105
106 Aws::String m_modelArn;
107 bool m_modelArnHasBeenSet = false;
108
109 Aws::String m_modelName;
110 bool m_modelNameHasBeenSet = false;
111
112 Aws::Utils::DateTime m_creationTime;
113 bool m_creationTimeHasBeenSet = false;
114
115 bool m_instructSupported;
116 bool m_instructSupportedHasBeenSet = false;
117
118 Aws::String m_modelArchitecture;
119 bool m_modelArchitectureHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace Bedrock
124} // namespace Aws
ImportedModelSummary & WithCreationTime(Aws::Utils::DateTime &&value)
ImportedModelSummary & WithModelArchitecture(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
ImportedModelSummary & WithModelArchitecture(Aws::String &&value)
ImportedModelSummary & WithModelName(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTime() const
ImportedModelSummary & WithCreationTime(const Aws::Utils::DateTime &value)
ImportedModelSummary & WithModelArchitecture(const Aws::String &value)
ImportedModelSummary & WithModelArn(const char *value)
ImportedModelSummary & WithModelArn(const Aws::String &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
ImportedModelSummary & WithModelName(const char *value)
void SetModelArchitecture(const Aws::String &value)
ImportedModelSummary & WithModelName(const Aws::String &value)
void SetModelName(const Aws::String &value)
const Aws::String & GetModelArchitecture() const
ImportedModelSummary & WithModelArn(Aws::String &&value)
ImportedModelSummary & WithInstructSupported(bool value)
void SetModelArn(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue