AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
EMRStepMetadata.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
33 {
34 public:
35 AWS_SAGEMAKER_API EMRStepMetadata() = default;
36 AWS_SAGEMAKER_API EMRStepMetadata(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetClusterId() const { return m_clusterId; }
46 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
47 template<typename ClusterIdT = Aws::String>
48 void SetClusterId(ClusterIdT&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::forward<ClusterIdT>(value); }
49 template<typename ClusterIdT = Aws::String>
50 EMRStepMetadata& WithClusterId(ClusterIdT&& value) { SetClusterId(std::forward<ClusterIdT>(value)); return *this;}
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) { m_stepIdHasBeenSet = true; m_stepId = std::forward<StepIdT>(value); }
61 template<typename StepIdT = Aws::String>
62 EMRStepMetadata& WithStepId(StepIdT&& value) { SetStepId(std::forward<StepIdT>(value)); return *this;}
64
66
69 inline const Aws::String& GetStepName() const { return m_stepName; }
70 inline bool StepNameHasBeenSet() const { return m_stepNameHasBeenSet; }
71 template<typename StepNameT = Aws::String>
72 void SetStepName(StepNameT&& value) { m_stepNameHasBeenSet = true; m_stepName = std::forward<StepNameT>(value); }
73 template<typename StepNameT = Aws::String>
74 EMRStepMetadata& WithStepName(StepNameT&& value) { SetStepName(std::forward<StepNameT>(value)); return *this;}
76
78
82 inline const Aws::String& GetLogFilePath() const { return m_logFilePath; }
83 inline bool LogFilePathHasBeenSet() const { return m_logFilePathHasBeenSet; }
84 template<typename LogFilePathT = Aws::String>
85 void SetLogFilePath(LogFilePathT&& value) { m_logFilePathHasBeenSet = true; m_logFilePath = std::forward<LogFilePathT>(value); }
86 template<typename LogFilePathT = Aws::String>
87 EMRStepMetadata& WithLogFilePath(LogFilePathT&& value) { SetLogFilePath(std::forward<LogFilePathT>(value)); return *this;}
89 private:
90
91 Aws::String m_clusterId;
92 bool m_clusterIdHasBeenSet = false;
93
94 Aws::String m_stepId;
95 bool m_stepIdHasBeenSet = false;
96
97 Aws::String m_stepName;
98 bool m_stepNameHasBeenSet = false;
99
100 Aws::String m_logFilePath;
101 bool m_logFilePathHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace SageMaker
106} // 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