AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
EmrServerlessSettings.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 EmrServerlessSettings() = default;
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
43 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
44 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
45 template <typename ExecutionRoleArnT = Aws::String>
46 void SetExecutionRoleArn(ExecutionRoleArnT&& value) {
47 m_executionRoleArnHasBeenSet = true;
48 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
49 }
50 template <typename ExecutionRoleArnT = Aws::String>
51 EmrServerlessSettings& WithExecutionRoleArn(ExecutionRoleArnT&& value) {
52 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
53 return *this;
54 }
56
58
62 inline FeatureStatus GetStatus() const { return m_status; }
63 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
64 inline void SetStatus(FeatureStatus value) {
65 m_statusHasBeenSet = true;
66 m_status = value;
67 }
69 SetStatus(value);
70 return *this;
71 }
73 private:
74 Aws::String m_executionRoleArn;
75
77 bool m_executionRoleArnHasBeenSet = false;
78 bool m_statusHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace SageMaker
83} // 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