AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CustomModelDeploymentUpdateDetails.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/CustomModelDeploymentUpdateStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Bedrock {
21namespace Model {
22
31 public:
32 AWS_BEDROCK_API CustomModelDeploymentUpdateDetails() = default;
35 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetModelArn() const { return m_modelArn; }
42 inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
43 template <typename ModelArnT = Aws::String>
44 void SetModelArn(ModelArnT&& value) {
45 m_modelArnHasBeenSet = true;
46 m_modelArn = std::forward<ModelArnT>(value);
47 }
48 template <typename ModelArnT = Aws::String>
50 SetModelArn(std::forward<ModelArnT>(value));
51 return *this;
52 }
54
56
59 inline CustomModelDeploymentUpdateStatus GetUpdateStatus() const { return m_updateStatus; }
60 inline bool UpdateStatusHasBeenSet() const { return m_updateStatusHasBeenSet; }
62 m_updateStatusHasBeenSet = true;
63 m_updateStatus = value;
64 }
66 SetUpdateStatus(value);
67 return *this;
68 }
70 private:
71 Aws::String m_modelArn;
72
74 bool m_modelArnHasBeenSet = false;
75 bool m_updateStatusHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Bedrock
80} // namespace Aws
CustomModelDeploymentUpdateDetails & WithModelArn(ModelArnT &&value)
CustomModelDeploymentUpdateDetails & WithUpdateStatus(CustomModelDeploymentUpdateStatus value)
AWS_BEDROCK_API CustomModelDeploymentUpdateDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API CustomModelDeploymentUpdateDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue