AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModelRegisterSettings.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/FeatureStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.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 SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API ModelRegisterSettings();
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const FeatureStatus& GetStatus() const{ return m_status; }
48 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
49 inline void SetStatus(const FeatureStatus& value) { m_statusHasBeenSet = true; m_status = value; }
50 inline void SetStatus(FeatureStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
51 inline ModelRegisterSettings& WithStatus(const FeatureStatus& value) { SetStatus(value); return *this;}
52 inline ModelRegisterSettings& WithStatus(FeatureStatus&& value) { SetStatus(std::move(value)); return *this;}
54
56
62 inline const Aws::String& GetCrossAccountModelRegisterRoleArn() const{ return m_crossAccountModelRegisterRoleArn; }
63 inline bool CrossAccountModelRegisterRoleArnHasBeenSet() const { return m_crossAccountModelRegisterRoleArnHasBeenSet; }
64 inline void SetCrossAccountModelRegisterRoleArn(const Aws::String& value) { m_crossAccountModelRegisterRoleArnHasBeenSet = true; m_crossAccountModelRegisterRoleArn = value; }
65 inline void SetCrossAccountModelRegisterRoleArn(Aws::String&& value) { m_crossAccountModelRegisterRoleArnHasBeenSet = true; m_crossAccountModelRegisterRoleArn = std::move(value); }
66 inline void SetCrossAccountModelRegisterRoleArn(const char* value) { m_crossAccountModelRegisterRoleArnHasBeenSet = true; m_crossAccountModelRegisterRoleArn.assign(value); }
71 private:
72
73 FeatureStatus m_status;
74 bool m_statusHasBeenSet = false;
75
76 Aws::String m_crossAccountModelRegisterRoleArn;
77 bool m_crossAccountModelRegisterRoleArnHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace SageMaker
82} // namespace Aws
ModelRegisterSettings & WithCrossAccountModelRegisterRoleArn(const Aws::String &value)
ModelRegisterSettings & WithCrossAccountModelRegisterRoleArn(const char *value)
ModelRegisterSettings & WithStatus(FeatureStatus &&value)
AWS_SAGEMAKER_API ModelRegisterSettings(Aws::Utils::Json::JsonView jsonValue)
ModelRegisterSettings & WithStatus(const FeatureStatus &value)
ModelRegisterSettings & WithCrossAccountModelRegisterRoleArn(Aws::String &&value)
AWS_SAGEMAKER_API ModelRegisterSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCrossAccountModelRegisterRoleArn() const
void SetCrossAccountModelRegisterRoleArn(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCrossAccountModelRegisterRoleArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue