AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
Operation.h
1
6#pragma once
7#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker-geospatial/model/OutputType.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 SageMakerGeospatial
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKERGEOSPATIAL_API Operation() = default;
37 AWS_SAGEMAKERGEOSPATIAL_API Operation(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKERGEOSPATIAL_API Operation& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetEquation() const { return m_equation; }
48 inline bool EquationHasBeenSet() const { return m_equationHasBeenSet; }
49 template<typename EquationT = Aws::String>
50 void SetEquation(EquationT&& value) { m_equationHasBeenSet = true; m_equation = std::forward<EquationT>(value); }
51 template<typename EquationT = Aws::String>
52 Operation& WithEquation(EquationT&& value) { SetEquation(std::forward<EquationT>(value)); return *this;}
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template<typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
63 template<typename NameT = Aws::String>
64 Operation& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
66
68
71 inline OutputType GetOutputType() const { return m_outputType; }
72 inline bool OutputTypeHasBeenSet() const { return m_outputTypeHasBeenSet; }
73 inline void SetOutputType(OutputType value) { m_outputTypeHasBeenSet = true; m_outputType = value; }
74 inline Operation& WithOutputType(OutputType value) { SetOutputType(value); return *this;}
76 private:
77
78 Aws::String m_equation;
79 bool m_equationHasBeenSet = false;
80
81 Aws::String m_name;
82 bool m_nameHasBeenSet = false;
83
84 OutputType m_outputType{OutputType::NOT_SET};
85 bool m_outputTypeHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace SageMakerGeospatial
90} // namespace Aws
Operation & WithOutputType(OutputType value)
Definition Operation.h:74
AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const
Operation & WithEquation(EquationT &&value)
Definition Operation.h:52
AWS_SAGEMAKERGEOSPATIAL_API Operation(Aws::Utils::Json::JsonView jsonValue)
void SetEquation(EquationT &&value)
Definition Operation.h:50
AWS_SAGEMAKERGEOSPATIAL_API Operation & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
Definition Operation.h:59
Operation & WithName(NameT &&value)
Definition Operation.h:64
const Aws::String & GetEquation() const
Definition Operation.h:47
AWS_SAGEMAKERGEOSPATIAL_API Operation()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue