AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
GetOutput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elementalinference/ElementalInference_EXPORTS.h>
9#include <aws/elementalinference/model/OutputConfig.h>
10#include <aws/elementalinference/model/OutputStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ElementalInference {
22namespace Model {
23
30class GetOutput {
31 public:
32 AWS_ELEMENTALINFERENCE_API GetOutput() = default;
33 AWS_ELEMENTALINFERENCE_API GetOutput(Aws::Utils::Json::JsonView jsonValue);
34 AWS_ELEMENTALINFERENCE_API GetOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_ELEMENTALINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
49 GetOutput& WithName(NameT&& value) {
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
62 inline const OutputConfig& GetOutputConfig() const { return m_outputConfig; }
63 inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
64 template <typename OutputConfigT = OutputConfig>
65 void SetOutputConfig(OutputConfigT&& value) {
66 m_outputConfigHasBeenSet = true;
67 m_outputConfig = std::forward<OutputConfigT>(value);
68 }
69 template <typename OutputConfigT = OutputConfig>
70 GetOutput& WithOutputConfig(OutputConfigT&& value) {
71 SetOutputConfig(std::forward<OutputConfigT>(value));
72 return *this;
73 }
75
77
80 inline OutputStatus GetStatus() const { return m_status; }
81 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
82 inline void SetStatus(OutputStatus value) {
83 m_statusHasBeenSet = true;
84 m_status = value;
85 }
87 SetStatus(value);
88 return *this;
89 }
91
93
96 inline const Aws::String& GetDescription() const { return m_description; }
97 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
98 template <typename DescriptionT = Aws::String>
99 void SetDescription(DescriptionT&& value) {
100 m_descriptionHasBeenSet = true;
101 m_description = std::forward<DescriptionT>(value);
102 }
103 template <typename DescriptionT = Aws::String>
104 GetOutput& WithDescription(DescriptionT&& value) {
105 SetDescription(std::forward<DescriptionT>(value));
106 return *this;
107 }
109
111
117 inline bool GetFromAssociation() const { return m_fromAssociation; }
118 inline bool FromAssociationHasBeenSet() const { return m_fromAssociationHasBeenSet; }
119 inline void SetFromAssociation(bool value) {
120 m_fromAssociationHasBeenSet = true;
121 m_fromAssociation = value;
122 }
123 inline GetOutput& WithFromAssociation(bool value) {
124 SetFromAssociation(value);
125 return *this;
126 }
128 private:
129 Aws::String m_name;
130
131 OutputConfig m_outputConfig;
132
134
135 Aws::String m_description;
136
137 bool m_fromAssociation{false};
138 bool m_nameHasBeenSet = false;
139 bool m_outputConfigHasBeenSet = false;
140 bool m_statusHasBeenSet = false;
141 bool m_descriptionHasBeenSet = false;
142 bool m_fromAssociationHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace ElementalInference
147} // namespace Aws
const OutputConfig & GetOutputConfig() const
Definition GetOutput.h:62
GetOutput & WithName(NameT &&value)
Definition GetOutput.h:49
AWS_ELEMENTALINFERENCE_API GetOutput(Aws::Utils::Json::JsonView jsonValue)
AWS_ELEMENTALINFERENCE_API GetOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
GetOutput & WithDescription(DescriptionT &&value)
Definition GetOutput.h:104
AWS_ELEMENTALINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
Definition GetOutput.h:96
void SetDescription(DescriptionT &&value)
Definition GetOutput.h:99
void SetOutputConfig(OutputConfigT &&value)
Definition GetOutput.h:65
GetOutput & WithOutputConfig(OutputConfigT &&value)
Definition GetOutput.h:70
const Aws::String & GetName() const
Definition GetOutput.h:41
AWS_ELEMENTALINFERENCE_API GetOutput()=default
GetOutput & WithFromAssociation(bool value)
Definition GetOutput.h:123
GetOutput & WithStatus(OutputStatus value)
Definition GetOutput.h:86
void SetStatus(OutputStatus value)
Definition GetOutput.h:82
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue