AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EmrServerlessSettings.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/FeatureStatus.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 EmrServerlessSettings();
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
50 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
51 inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = value; }
52 inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::move(value); }
53 inline void SetExecutionRoleArn(const char* value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn.assign(value); }
54 inline EmrServerlessSettings& WithExecutionRoleArn(const Aws::String& value) { SetExecutionRoleArn(value); return *this;}
55 inline EmrServerlessSettings& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
56 inline EmrServerlessSettings& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;}
58
60
64 inline const FeatureStatus& GetStatus() const{ return m_status; }
65 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
66 inline void SetStatus(const FeatureStatus& value) { m_statusHasBeenSet = true; m_status = value; }
67 inline void SetStatus(FeatureStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
68 inline EmrServerlessSettings& WithStatus(const FeatureStatus& value) { SetStatus(value); return *this;}
69 inline EmrServerlessSettings& WithStatus(FeatureStatus&& value) { SetStatus(std::move(value)); return *this;}
71 private:
72
73 Aws::String m_executionRoleArn;
74 bool m_executionRoleArnHasBeenSet = false;
75
76 FeatureStatus m_status;
77 bool m_statusHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace SageMaker
82} // namespace Aws
EmrServerlessSettings & WithExecutionRoleArn(const char *value)
AWS_SAGEMAKER_API EmrServerlessSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExecutionRoleArn(const Aws::String &value)
EmrServerlessSettings & WithStatus(FeatureStatus &&value)
EmrServerlessSettings & WithExecutionRoleArn(Aws::String &&value)
EmrServerlessSettings & WithExecutionRoleArn(const Aws::String &value)
EmrServerlessSettings & WithStatus(const FeatureStatus &value)
AWS_SAGEMAKER_API EmrServerlessSettings(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue