AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetImportedModelResult.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock/model/ModelDataSource.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Bedrock
26{
27namespace Model
28{
30 {
31 public:
32 AWS_BEDROCK_API GetImportedModelResult();
35
36
38
41 inline const Aws::String& GetModelArn() const{ return m_modelArn; }
42 inline void SetModelArn(const Aws::String& value) { m_modelArn = value; }
43 inline void SetModelArn(Aws::String&& value) { m_modelArn = std::move(value); }
44 inline void SetModelArn(const char* value) { m_modelArn.assign(value); }
45 inline GetImportedModelResult& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;}
46 inline GetImportedModelResult& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;}
47 inline GetImportedModelResult& WithModelArn(const char* value) { SetModelArn(value); return *this;}
49
51
54 inline const Aws::String& GetModelName() const{ return m_modelName; }
55 inline void SetModelName(const Aws::String& value) { m_modelName = value; }
56 inline void SetModelName(Aws::String&& value) { m_modelName = std::move(value); }
57 inline void SetModelName(const char* value) { m_modelName.assign(value); }
58 inline GetImportedModelResult& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
59 inline GetImportedModelResult& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
60 inline GetImportedModelResult& WithModelName(const char* value) { SetModelName(value); return *this;}
62
64
67 inline const Aws::String& GetJobName() const{ return m_jobName; }
68 inline void SetJobName(const Aws::String& value) { m_jobName = value; }
69 inline void SetJobName(Aws::String&& value) { m_jobName = std::move(value); }
70 inline void SetJobName(const char* value) { m_jobName.assign(value); }
71 inline GetImportedModelResult& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
72 inline GetImportedModelResult& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
73 inline GetImportedModelResult& WithJobName(const char* value) { SetJobName(value); return *this;}
75
77
80 inline const Aws::String& GetJobArn() const{ return m_jobArn; }
81 inline void SetJobArn(const Aws::String& value) { m_jobArn = value; }
82 inline void SetJobArn(Aws::String&& value) { m_jobArn = std::move(value); }
83 inline void SetJobArn(const char* value) { m_jobArn.assign(value); }
84 inline GetImportedModelResult& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
85 inline GetImportedModelResult& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
86 inline GetImportedModelResult& WithJobArn(const char* value) { SetJobArn(value); return *this;}
88
90
93 inline const ModelDataSource& GetModelDataSource() const{ return m_modelDataSource; }
94 inline void SetModelDataSource(const ModelDataSource& value) { m_modelDataSource = value; }
95 inline void SetModelDataSource(ModelDataSource&& value) { m_modelDataSource = std::move(value); }
97 inline GetImportedModelResult& WithModelDataSource(ModelDataSource&& value) { SetModelDataSource(std::move(value)); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
105 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
106 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
108 inline GetImportedModelResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
110
112
115 inline const Aws::String& GetModelArchitecture() const{ return m_modelArchitecture; }
116 inline void SetModelArchitecture(const Aws::String& value) { m_modelArchitecture = value; }
117 inline void SetModelArchitecture(Aws::String&& value) { m_modelArchitecture = std::move(value); }
118 inline void SetModelArchitecture(const char* value) { m_modelArchitecture.assign(value); }
120 inline GetImportedModelResult& WithModelArchitecture(Aws::String&& value) { SetModelArchitecture(std::move(value)); return *this;}
121 inline GetImportedModelResult& WithModelArchitecture(const char* value) { SetModelArchitecture(value); return *this;}
123
125
128 inline const Aws::String& GetModelKmsKeyArn() const{ return m_modelKmsKeyArn; }
129 inline void SetModelKmsKeyArn(const Aws::String& value) { m_modelKmsKeyArn = value; }
130 inline void SetModelKmsKeyArn(Aws::String&& value) { m_modelKmsKeyArn = std::move(value); }
131 inline void SetModelKmsKeyArn(const char* value) { m_modelKmsKeyArn.assign(value); }
132 inline GetImportedModelResult& WithModelKmsKeyArn(const Aws::String& value) { SetModelKmsKeyArn(value); return *this;}
133 inline GetImportedModelResult& WithModelKmsKeyArn(Aws::String&& value) { SetModelKmsKeyArn(std::move(value)); return *this;}
134 inline GetImportedModelResult& WithModelKmsKeyArn(const char* value) { SetModelKmsKeyArn(value); return *this;}
136
138
141 inline bool GetInstructSupported() const{ return m_instructSupported; }
142 inline void SetInstructSupported(bool value) { m_instructSupported = value; }
143 inline GetImportedModelResult& WithInstructSupported(bool value) { SetInstructSupported(value); return *this;}
145
147
148 inline const Aws::String& GetRequestId() const{ return m_requestId; }
149 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
150 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
151 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
152 inline GetImportedModelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
153 inline GetImportedModelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
154 inline GetImportedModelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
156 private:
157
158 Aws::String m_modelArn;
159
160 Aws::String m_modelName;
161
162 Aws::String m_jobName;
163
164 Aws::String m_jobArn;
165
166 ModelDataSource m_modelDataSource;
167
168 Aws::Utils::DateTime m_creationTime;
169
170 Aws::String m_modelArchitecture;
171
172 Aws::String m_modelKmsKeyArn;
173
174 bool m_instructSupported;
175
176 Aws::String m_requestId;
177 };
178
179} // namespace Model
180} // namespace Bedrock
181} // namespace Aws
GetImportedModelResult & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_BEDROCK_API GetImportedModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetImportedModelResult & WithJobArn(const Aws::String &value)
GetImportedModelResult & WithJobName(const Aws::String &value)
GetImportedModelResult & WithModelArn(const Aws::String &value)
GetImportedModelResult & WithModelArn(const char *value)
GetImportedModelResult & WithJobName(const char *value)
void SetModelDataSource(const ModelDataSource &value)
GetImportedModelResult & WithRequestId(const Aws::String &value)
GetImportedModelResult & WithModelDataSource(const ModelDataSource &value)
GetImportedModelResult & WithJobName(Aws::String &&value)
GetImportedModelResult & WithCreationTime(Aws::Utils::DateTime &&value)
GetImportedModelResult & WithModelKmsKeyArn(const char *value)
GetImportedModelResult & WithModelName(const Aws::String &value)
GetImportedModelResult & WithModelDataSource(ModelDataSource &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetModelArchitecture(const Aws::String &value)
AWS_BEDROCK_API GetImportedModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetImportedModelResult & WithModelArchitecture(const char *value)
GetImportedModelResult & WithJobArn(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
GetImportedModelResult & WithJobArn(const char *value)
GetImportedModelResult & WithModelArchitecture(const Aws::String &value)
GetImportedModelResult & WithModelName(Aws::String &&value)
GetImportedModelResult & WithRequestId(Aws::String &&value)
const ModelDataSource & GetModelDataSource() const
GetImportedModelResult & WithModelKmsKeyArn(const Aws::String &value)
GetImportedModelResult & WithInstructSupported(bool value)
GetImportedModelResult & WithModelArn(Aws::String &&value)
GetImportedModelResult & WithModelArchitecture(Aws::String &&value)
GetImportedModelResult & WithRequestId(const char *value)
GetImportedModelResult & WithModelKmsKeyArn(Aws::String &&value)
GetImportedModelResult & WithModelName(const char *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