AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
Operation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
9#include <aws/sagemaker-geospatial/model/OutputType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMakerGeospatial {
21namespace Model {
22
29class Operation {
30 public:
31 AWS_SAGEMAKERGEOSPATIAL_API Operation() = default;
32 AWS_SAGEMAKERGEOSPATIAL_API Operation(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SAGEMAKERGEOSPATIAL_API Operation& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetEquation() const { return m_equation; }
42 inline bool EquationHasBeenSet() const { return m_equationHasBeenSet; }
43 template <typename EquationT = Aws::String>
44 void SetEquation(EquationT&& value) {
45 m_equationHasBeenSet = true;
46 m_equation = std::forward<EquationT>(value);
47 }
48 template <typename EquationT = Aws::String>
49 Operation& WithEquation(EquationT&& value) {
50 SetEquation(std::forward<EquationT>(value));
51 return *this;
52 }
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) {
63 m_nameHasBeenSet = true;
64 m_name = std::forward<NameT>(value);
65 }
66 template <typename NameT = Aws::String>
67 Operation& WithName(NameT&& value) {
68 SetName(std::forward<NameT>(value));
69 return *this;
70 }
72
74
77 inline OutputType GetOutputType() const { return m_outputType; }
78 inline bool OutputTypeHasBeenSet() const { return m_outputTypeHasBeenSet; }
79 inline void SetOutputType(OutputType value) {
80 m_outputTypeHasBeenSet = true;
81 m_outputType = value;
82 }
84 SetOutputType(value);
85 return *this;
86 }
88 private:
89 Aws::String m_equation;
90
91 Aws::String m_name;
92
93 OutputType m_outputType{OutputType::NOT_SET};
94 bool m_equationHasBeenSet = false;
95 bool m_nameHasBeenSet = false;
96 bool m_outputTypeHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace SageMakerGeospatial
101} // namespace Aws
Operation & WithOutputType(OutputType value)
Definition Operation.h:83
AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const
Operation & WithEquation(EquationT &&value)
Definition Operation.h:49
AWS_SAGEMAKERGEOSPATIAL_API Operation(Aws::Utils::Json::JsonView jsonValue)
void SetEquation(EquationT &&value)
Definition Operation.h:44
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:67
const Aws::String & GetEquation() const
Definition Operation.h:41
AWS_SAGEMAKERGEOSPATIAL_API Operation()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue