AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
EMRStepMetadata.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
29 public:
30 AWS_SAGEMAKER_API EMRStepMetadata() = default;
31 AWS_SAGEMAKER_API EMRStepMetadata(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetClusterId() const { return m_clusterId; }
40 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
41 template <typename ClusterIdT = Aws::String>
42 void SetClusterId(ClusterIdT&& value) {
43 m_clusterIdHasBeenSet = true;
44 m_clusterId = std::forward<ClusterIdT>(value);
45 }
46 template <typename ClusterIdT = Aws::String>
47 EMRStepMetadata& WithClusterId(ClusterIdT&& value) {
48 SetClusterId(std::forward<ClusterIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetStepId() const { return m_stepId; }
58 inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; }
59 template <typename StepIdT = Aws::String>
60 void SetStepId(StepIdT&& value) {
61 m_stepIdHasBeenSet = true;
62 m_stepId = std::forward<StepIdT>(value);
63 }
64 template <typename StepIdT = Aws::String>
65 EMRStepMetadata& WithStepId(StepIdT&& value) {
66 SetStepId(std::forward<StepIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetStepName() const { return m_stepName; }
76 inline bool StepNameHasBeenSet() const { return m_stepNameHasBeenSet; }
77 template <typename StepNameT = Aws::String>
78 void SetStepName(StepNameT&& value) {
79 m_stepNameHasBeenSet = true;
80 m_stepName = std::forward<StepNameT>(value);
81 }
82 template <typename StepNameT = Aws::String>
83 EMRStepMetadata& WithStepName(StepNameT&& value) {
84 SetStepName(std::forward<StepNameT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetLogFilePath() const { return m_logFilePath; }
95 inline bool LogFilePathHasBeenSet() const { return m_logFilePathHasBeenSet; }
96 template <typename LogFilePathT = Aws::String>
97 void SetLogFilePath(LogFilePathT&& value) {
98 m_logFilePathHasBeenSet = true;
99 m_logFilePath = std::forward<LogFilePathT>(value);
100 }
101 template <typename LogFilePathT = Aws::String>
102 EMRStepMetadata& WithLogFilePath(LogFilePathT&& value) {
103 SetLogFilePath(std::forward<LogFilePathT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_clusterId;
109
110 Aws::String m_stepId;
111
112 Aws::String m_stepName;
113
114 Aws::String m_logFilePath;
115 bool m_clusterIdHasBeenSet = false;
116 bool m_stepIdHasBeenSet = false;
117 bool m_stepNameHasBeenSet = false;
118 bool m_logFilePathHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace SageMaker
123} // namespace Aws
void SetClusterId(ClusterIdT &&value)
EMRStepMetadata & WithLogFilePath(LogFilePathT &&value)
AWS_SAGEMAKER_API EMRStepMetadata(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStepId() const
EMRStepMetadata & WithClusterId(ClusterIdT &&value)
EMRStepMetadata & WithStepName(StepNameT &&value)
const Aws::String & GetClusterId() const
AWS_SAGEMAKER_API EMRStepMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API EMRStepMetadata()=default
EMRStepMetadata & WithStepId(StepIdT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetStepName() const
const Aws::String & GetLogFilePath() const
void SetLogFilePath(LogFilePathT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue