AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EmrServerlessComputeConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_SAGEMAKER_API EmrServerlessComputeConfig() = default;
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
55 inline const Aws::String& GetExecutionRoleARN() const { return m_executionRoleARN; }
56 inline bool ExecutionRoleARNHasBeenSet() const { return m_executionRoleARNHasBeenSet; }
57 template<typename ExecutionRoleARNT = Aws::String>
58 void SetExecutionRoleARN(ExecutionRoleARNT&& value) { m_executionRoleARNHasBeenSet = true; m_executionRoleARN = std::forward<ExecutionRoleARNT>(value); }
59 template<typename ExecutionRoleARNT = Aws::String>
60 EmrServerlessComputeConfig& WithExecutionRoleARN(ExecutionRoleARNT&& value) { SetExecutionRoleARN(std::forward<ExecutionRoleARNT>(value)); return *this;}
62 private:
63
64 Aws::String m_executionRoleARN;
65 bool m_executionRoleARNHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace SageMaker
70} // namespace Aws
AWS_SAGEMAKER_API EmrServerlessComputeConfig()=default
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API EmrServerlessComputeConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API EmrServerlessComputeConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
EmrServerlessComputeConfig & WithExecutionRoleARN(ExecutionRoleARNT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue