AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CustomModelSummary.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 <aws/bedrock/model/CustomizationType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Bedrock
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_BEDROCK_API CustomModelSummary();
39 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetModelArn() const{ return m_modelArn; }
47 inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
48 inline void SetModelArn(const Aws::String& value) { m_modelArnHasBeenSet = true; m_modelArn = value; }
49 inline void SetModelArn(Aws::String&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::move(value); }
50 inline void SetModelArn(const char* value) { m_modelArnHasBeenSet = true; m_modelArn.assign(value); }
51 inline CustomModelSummary& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;}
52 inline CustomModelSummary& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;}
53 inline CustomModelSummary& WithModelArn(const char* value) { SetModelArn(value); return *this;}
55
57
60 inline const Aws::String& GetModelName() const{ return m_modelName; }
61 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
62 inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
63 inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
64 inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
65 inline CustomModelSummary& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
66 inline CustomModelSummary& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
67 inline CustomModelSummary& WithModelName(const char* value) { SetModelName(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
75 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
76 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
77 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
78 inline CustomModelSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
79 inline CustomModelSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
81
83
86 inline const Aws::String& GetBaseModelArn() const{ return m_baseModelArn; }
87 inline bool BaseModelArnHasBeenSet() const { return m_baseModelArnHasBeenSet; }
88 inline void SetBaseModelArn(const Aws::String& value) { m_baseModelArnHasBeenSet = true; m_baseModelArn = value; }
89 inline void SetBaseModelArn(Aws::String&& value) { m_baseModelArnHasBeenSet = true; m_baseModelArn = std::move(value); }
90 inline void SetBaseModelArn(const char* value) { m_baseModelArnHasBeenSet = true; m_baseModelArn.assign(value); }
91 inline CustomModelSummary& WithBaseModelArn(const Aws::String& value) { SetBaseModelArn(value); return *this;}
92 inline CustomModelSummary& WithBaseModelArn(Aws::String&& value) { SetBaseModelArn(std::move(value)); return *this;}
93 inline CustomModelSummary& WithBaseModelArn(const char* value) { SetBaseModelArn(value); return *this;}
95
97
100 inline const Aws::String& GetBaseModelName() const{ return m_baseModelName; }
101 inline bool BaseModelNameHasBeenSet() const { return m_baseModelNameHasBeenSet; }
102 inline void SetBaseModelName(const Aws::String& value) { m_baseModelNameHasBeenSet = true; m_baseModelName = value; }
103 inline void SetBaseModelName(Aws::String&& value) { m_baseModelNameHasBeenSet = true; m_baseModelName = std::move(value); }
104 inline void SetBaseModelName(const char* value) { m_baseModelNameHasBeenSet = true; m_baseModelName.assign(value); }
105 inline CustomModelSummary& WithBaseModelName(const Aws::String& value) { SetBaseModelName(value); return *this;}
106 inline CustomModelSummary& WithBaseModelName(Aws::String&& value) { SetBaseModelName(std::move(value)); return *this;}
107 inline CustomModelSummary& WithBaseModelName(const char* value) { SetBaseModelName(value); return *this;}
109
111
117 inline const CustomizationType& GetCustomizationType() const{ return m_customizationType; }
118 inline bool CustomizationTypeHasBeenSet() const { return m_customizationTypeHasBeenSet; }
119 inline void SetCustomizationType(const CustomizationType& value) { m_customizationTypeHasBeenSet = true; m_customizationType = value; }
120 inline void SetCustomizationType(CustomizationType&& value) { m_customizationTypeHasBeenSet = true; m_customizationType = std::move(value); }
122 inline CustomModelSummary& WithCustomizationType(CustomizationType&& value) { SetCustomizationType(std::move(value)); return *this;}
124
126
129 inline const Aws::String& GetOwnerAccountId() const{ return m_ownerAccountId; }
130 inline bool OwnerAccountIdHasBeenSet() const { return m_ownerAccountIdHasBeenSet; }
131 inline void SetOwnerAccountId(const Aws::String& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = value; }
132 inline void SetOwnerAccountId(Aws::String&& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = std::move(value); }
133 inline void SetOwnerAccountId(const char* value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId.assign(value); }
134 inline CustomModelSummary& WithOwnerAccountId(const Aws::String& value) { SetOwnerAccountId(value); return *this;}
135 inline CustomModelSummary& WithOwnerAccountId(Aws::String&& value) { SetOwnerAccountId(std::move(value)); return *this;}
136 inline CustomModelSummary& WithOwnerAccountId(const char* value) { SetOwnerAccountId(value); return *this;}
138 private:
139
140 Aws::String m_modelArn;
141 bool m_modelArnHasBeenSet = false;
142
143 Aws::String m_modelName;
144 bool m_modelNameHasBeenSet = false;
145
146 Aws::Utils::DateTime m_creationTime;
147 bool m_creationTimeHasBeenSet = false;
148
149 Aws::String m_baseModelArn;
150 bool m_baseModelArnHasBeenSet = false;
151
152 Aws::String m_baseModelName;
153 bool m_baseModelNameHasBeenSet = false;
154
155 CustomizationType m_customizationType;
156 bool m_customizationTypeHasBeenSet = false;
157
158 Aws::String m_ownerAccountId;
159 bool m_ownerAccountIdHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace Bedrock
164} // namespace Aws
CustomModelSummary & WithCustomizationType(CustomizationType &&value)
CustomModelSummary & WithBaseModelName(Aws::String &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
void SetModelArn(const Aws::String &value)
CustomModelSummary & WithModelName(Aws::String &&value)
void SetModelName(const Aws::String &value)
CustomModelSummary & WithBaseModelArn(const Aws::String &value)
const Aws::String & GetBaseModelName() const
void SetBaseModelName(const Aws::String &value)
CustomModelSummary & WithBaseModelName(const Aws::String &value)
CustomModelSummary & WithOwnerAccountId(const char *value)
CustomModelSummary & WithModelArn(const Aws::String &value)
CustomModelSummary & WithOwnerAccountId(const Aws::String &value)
CustomModelSummary & WithBaseModelArn(const char *value)
CustomModelSummary & WithCreationTime(const Aws::Utils::DateTime &value)
const Aws::String & GetBaseModelArn() const
const Aws::String & GetOwnerAccountId() const
void SetCreationTime(Aws::Utils::DateTime &&value)
CustomModelSummary & WithOwnerAccountId(Aws::String &&value)
CustomModelSummary & WithModelName(const char *value)
CustomModelSummary & WithModelArn(Aws::String &&value)
AWS_BEDROCK_API CustomModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOwnerAccountId(const Aws::String &value)
void SetBaseModelArn(const Aws::String &value)
void SetCustomizationType(const CustomizationType &value)
CustomModelSummary & WithModelName(const Aws::String &value)
CustomModelSummary & WithCreationTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_BEDROCK_API CustomModelSummary(Aws::Utils::Json::JsonView jsonValue)
CustomModelSummary & WithCustomizationType(const CustomizationType &value)
CustomModelSummary & WithBaseModelName(const char *value)
void SetCustomizationType(CustomizationType &&value)
CustomModelSummary & WithBaseModelArn(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
CustomModelSummary & WithModelArn(const char *value)
const Aws::String & GetModelArn() const
const Aws::String & GetModelName() const
const CustomizationType & GetCustomizationType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue