AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
ModelRegisterSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/FeatureStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
30 public:
31 AWS_SAGEMAKER_API ModelRegisterSettings() = default;
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline FeatureStatus GetStatus() const { return m_status; }
42 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
43 inline void SetStatus(FeatureStatus value) {
44 m_statusHasBeenSet = true;
45 m_status = value;
46 }
48 SetStatus(value);
49 return *this;
50 }
52
54
60 inline const Aws::String& GetCrossAccountModelRegisterRoleArn() const { return m_crossAccountModelRegisterRoleArn; }
61 inline bool CrossAccountModelRegisterRoleArnHasBeenSet() const { return m_crossAccountModelRegisterRoleArnHasBeenSet; }
62 template <typename CrossAccountModelRegisterRoleArnT = Aws::String>
63 void SetCrossAccountModelRegisterRoleArn(CrossAccountModelRegisterRoleArnT&& value) {
64 m_crossAccountModelRegisterRoleArnHasBeenSet = true;
65 m_crossAccountModelRegisterRoleArn = std::forward<CrossAccountModelRegisterRoleArnT>(value);
66 }
67 template <typename CrossAccountModelRegisterRoleArnT = Aws::String>
68 ModelRegisterSettings& WithCrossAccountModelRegisterRoleArn(CrossAccountModelRegisterRoleArnT&& value) {
69 SetCrossAccountModelRegisterRoleArn(std::forward<CrossAccountModelRegisterRoleArnT>(value));
70 return *this;
71 }
73 private:
75
76 Aws::String m_crossAccountModelRegisterRoleArn;
77 bool m_statusHasBeenSet = false;
78 bool m_crossAccountModelRegisterRoleArnHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace SageMaker
83} // namespace Aws
AWS_SAGEMAKER_API ModelRegisterSettings()=default
AWS_SAGEMAKER_API ModelRegisterSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ModelRegisterSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCrossAccountModelRegisterRoleArn() const
ModelRegisterSettings & WithCrossAccountModelRegisterRoleArn(CrossAccountModelRegisterRoleArnT &&value)
ModelRegisterSettings & WithStatus(FeatureStatus value)
void SetCrossAccountModelRegisterRoleArn(CrossAccountModelRegisterRoleArnT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue