AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename ExecutionRoleArnT = Aws::String>
52 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
53 template<typename ExecutionRoleArnT = Aws::String>
54 EmrServerlessSettings& WithExecutionRoleArn(ExecutionRoleArnT&& value) { SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value)); return *this;}
56
58
62 inline FeatureStatus GetStatus() const { return m_status; }
63 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
64 inline void SetStatus(FeatureStatus value) { m_statusHasBeenSet = true; m_status = value; }
65 inline EmrServerlessSettings& WithStatus(FeatureStatus value) { SetStatus(value); return *this;}
67 private:
68
69 Aws::String m_executionRoleArn;
70 bool m_executionRoleArnHasBeenSet = false;
71
73 bool m_statusHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace SageMaker
78} // namespace Aws
AWS_SAGEMAKER_API EmrServerlessSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
EmrServerlessSettings & WithStatus(FeatureStatus value)
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
AWS_SAGEMAKER_API EmrServerlessSettings()=default
EmrServerlessSettings & WithExecutionRoleArn(ExecutionRoleArnT &&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