AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EmrSettings.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.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
37 {
38 public:
39 AWS_SAGEMAKER_API EmrSettings();
40 AWS_SAGEMAKER_API EmrSettings(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SAGEMAKER_API EmrSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
57 inline const Aws::Vector<Aws::String>& GetAssumableRoleArns() const{ return m_assumableRoleArns; }
58 inline bool AssumableRoleArnsHasBeenSet() const { return m_assumableRoleArnsHasBeenSet; }
59 inline void SetAssumableRoleArns(const Aws::Vector<Aws::String>& value) { m_assumableRoleArnsHasBeenSet = true; m_assumableRoleArns = value; }
60 inline void SetAssumableRoleArns(Aws::Vector<Aws::String>&& value) { m_assumableRoleArnsHasBeenSet = true; m_assumableRoleArns = std::move(value); }
62 inline EmrSettings& WithAssumableRoleArns(Aws::Vector<Aws::String>&& value) { SetAssumableRoleArns(std::move(value)); return *this;}
63 inline EmrSettings& AddAssumableRoleArns(const Aws::String& value) { m_assumableRoleArnsHasBeenSet = true; m_assumableRoleArns.push_back(value); return *this; }
64 inline EmrSettings& AddAssumableRoleArns(Aws::String&& value) { m_assumableRoleArnsHasBeenSet = true; m_assumableRoleArns.push_back(std::move(value)); return *this; }
65 inline EmrSettings& AddAssumableRoleArns(const char* value) { m_assumableRoleArnsHasBeenSet = true; m_assumableRoleArns.push_back(value); return *this; }
67
69
77 inline const Aws::Vector<Aws::String>& GetExecutionRoleArns() const{ return m_executionRoleArns; }
78 inline bool ExecutionRoleArnsHasBeenSet() const { return m_executionRoleArnsHasBeenSet; }
79 inline void SetExecutionRoleArns(const Aws::Vector<Aws::String>& value) { m_executionRoleArnsHasBeenSet = true; m_executionRoleArns = value; }
80 inline void SetExecutionRoleArns(Aws::Vector<Aws::String>&& value) { m_executionRoleArnsHasBeenSet = true; m_executionRoleArns = std::move(value); }
82 inline EmrSettings& WithExecutionRoleArns(Aws::Vector<Aws::String>&& value) { SetExecutionRoleArns(std::move(value)); return *this;}
83 inline EmrSettings& AddExecutionRoleArns(const Aws::String& value) { m_executionRoleArnsHasBeenSet = true; m_executionRoleArns.push_back(value); return *this; }
84 inline EmrSettings& AddExecutionRoleArns(Aws::String&& value) { m_executionRoleArnsHasBeenSet = true; m_executionRoleArns.push_back(std::move(value)); return *this; }
85 inline EmrSettings& AddExecutionRoleArns(const char* value) { m_executionRoleArnsHasBeenSet = true; m_executionRoleArns.push_back(value); return *this; }
87 private:
88
89 Aws::Vector<Aws::String> m_assumableRoleArns;
90 bool m_assumableRoleArnsHasBeenSet = false;
91
92 Aws::Vector<Aws::String> m_executionRoleArns;
93 bool m_executionRoleArnsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace SageMaker
98} // namespace Aws
EmrSettings & AddExecutionRoleArns(const Aws::String &value)
Definition EmrSettings.h:83
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetExecutionRoleArns() const
Definition EmrSettings.h:77
AWS_SAGEMAKER_API EmrSettings(Aws::Utils::Json::JsonView jsonValue)
EmrSettings & AddAssumableRoleArns(Aws::String &&value)
Definition EmrSettings.h:64
void SetAssumableRoleArns(Aws::Vector< Aws::String > &&value)
Definition EmrSettings.h:60
AWS_SAGEMAKER_API EmrSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
EmrSettings & AddExecutionRoleArns(const char *value)
Definition EmrSettings.h:85
EmrSettings & WithExecutionRoleArns(Aws::Vector< Aws::String > &&value)
Definition EmrSettings.h:82
void SetAssumableRoleArns(const Aws::Vector< Aws::String > &value)
Definition EmrSettings.h:59
EmrSettings & AddAssumableRoleArns(const Aws::String &value)
Definition EmrSettings.h:63
void SetExecutionRoleArns(Aws::Vector< Aws::String > &&value)
Definition EmrSettings.h:80
EmrSettings & AddExecutionRoleArns(Aws::String &&value)
Definition EmrSettings.h:84
EmrSettings & WithAssumableRoleArns(Aws::Vector< Aws::String > &&value)
Definition EmrSettings.h:62
EmrSettings & WithExecutionRoleArns(const Aws::Vector< Aws::String > &value)
Definition EmrSettings.h:81
const Aws::Vector< Aws::String > & GetAssumableRoleArns() const
Definition EmrSettings.h:57
EmrSettings & AddAssumableRoleArns(const char *value)
Definition EmrSettings.h:65
void SetExecutionRoleArns(const Aws::Vector< Aws::String > &value)
Definition EmrSettings.h:79
EmrSettings & WithAssumableRoleArns(const Aws::Vector< Aws::String > &value)
Definition EmrSettings.h:61
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue