AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
48 inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
49 inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
50 inline EMRStepMetadata& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
51 inline EMRStepMetadata& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
52 inline EMRStepMetadata& WithClusterId(const char* value) { SetClusterId(value); return *this;}
54
56
59 inline const Aws::String& GetStepId() const{ return m_stepId; }
60 inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; }
61 inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; }
62 inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); }
63 inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); }
64 inline EMRStepMetadata& WithStepId(const Aws::String& value) { SetStepId(value); return *this;}
65 inline EMRStepMetadata& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;}
66 inline EMRStepMetadata& WithStepId(const char* value) { SetStepId(value); return *this;}
68
70
73 inline const Aws::String& GetStepName() const{ return m_stepName; }
74 inline bool StepNameHasBeenSet() const { return m_stepNameHasBeenSet; }
75 inline void SetStepName(const Aws::String& value) { m_stepNameHasBeenSet = true; m_stepName = value; }
76 inline void SetStepName(Aws::String&& value) { m_stepNameHasBeenSet = true; m_stepName = std::move(value); }
77 inline void SetStepName(const char* value) { m_stepNameHasBeenSet = true; m_stepName.assign(value); }
78 inline EMRStepMetadata& WithStepName(const Aws::String& value) { SetStepName(value); return *this;}
79 inline EMRStepMetadata& WithStepName(Aws::String&& value) { SetStepName(std::move(value)); return *this;}
80 inline EMRStepMetadata& WithStepName(const char* value) { SetStepName(value); return *this;}
82
84
88 inline const Aws::String& GetLogFilePath() const{ return m_logFilePath; }
89 inline bool LogFilePathHasBeenSet() const { return m_logFilePathHasBeenSet; }
90 inline void SetLogFilePath(const Aws::String& value) { m_logFilePathHasBeenSet = true; m_logFilePath = value; }
91 inline void SetLogFilePath(Aws::String&& value) { m_logFilePathHasBeenSet = true; m_logFilePath = std::move(value); }
92 inline void SetLogFilePath(const char* value) { m_logFilePathHasBeenSet = true; m_logFilePath.assign(value); }
93 inline EMRStepMetadata& WithLogFilePath(const Aws::String& value) { SetLogFilePath(value); return *this;}
94 inline EMRStepMetadata& WithLogFilePath(Aws::String&& value) { SetLogFilePath(std::move(value)); return *this;}
95 inline EMRStepMetadata& WithLogFilePath(const char* value) { SetLogFilePath(value); return *this;}
97 private:
98
99 Aws::String m_clusterId;
100 bool m_clusterIdHasBeenSet = false;
101
102 Aws::String m_stepId;
103 bool m_stepIdHasBeenSet = false;
104
105 Aws::String m_stepName;
106 bool m_stepNameHasBeenSet = false;
107
108 Aws::String m_logFilePath;
109 bool m_logFilePathHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace SageMaker
114} // namespace Aws
EMRStepMetadata & WithStepName(const Aws::String &value)
void SetLogFilePath(Aws::String &&value)
void SetStepName(const Aws::String &value)
EMRStepMetadata & WithClusterId(Aws::String &&value)
EMRStepMetadata & WithStepId(const char *value)
EMRStepMetadata & WithLogFilePath(const Aws::String &value)
void SetStepId(const Aws::String &value)
void SetClusterId(Aws::String &&value)
void SetStepName(Aws::String &&value)
AWS_SAGEMAKER_API EMRStepMetadata(Aws::Utils::Json::JsonView jsonValue)
EMRStepMetadata & WithLogFilePath(Aws::String &&value)
void SetStepId(Aws::String &&value)
const Aws::String & GetStepId() const
const Aws::String & GetClusterId() const
EMRStepMetadata & WithStepId(const Aws::String &value)
AWS_SAGEMAKER_API EMRStepMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLogFilePath(const Aws::String &value)
EMRStepMetadata & WithClusterId(const char *value)
EMRStepMetadata & WithStepName(const char *value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
EMRStepMetadata & WithClusterId(const Aws::String &value)
const Aws::String & GetStepName() const
EMRStepMetadata & WithLogFilePath(const char *value)
void SetClusterId(const Aws::String &value)
EMRStepMetadata & WithStepId(Aws::String &&value)
EMRStepMetadata & WithStepName(Aws::String &&value)
const Aws::String & GetLogFilePath() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue