AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
RegistrationOutput.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/ExecutionStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Appflow {
21namespace Model {
22
34 public:
35 AWS_APPFLOW_API RegistrationOutput() = default;
38 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
45 inline const Aws::String& GetMessage() const { return m_message; }
46 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
47 template <typename MessageT = Aws::String>
48 void SetMessage(MessageT&& value) {
49 m_messageHasBeenSet = true;
50 m_message = std::forward<MessageT>(value);
51 }
52 template <typename MessageT = Aws::String>
53 RegistrationOutput& WithMessage(MessageT&& value) {
54 SetMessage(std::forward<MessageT>(value));
55 return *this;
56 }
58
60
64 inline const Aws::String& GetResult() const { return m_result; }
65 inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
66 template <typename ResultT = Aws::String>
67 void SetResult(ResultT&& value) {
68 m_resultHasBeenSet = true;
69 m_result = std::forward<ResultT>(value);
70 }
71 template <typename ResultT = Aws::String>
72 RegistrationOutput& WithResult(ResultT&& value) {
73 SetResult(std::forward<ResultT>(value));
74 return *this;
75 }
77
79
82 inline ExecutionStatus GetStatus() const { return m_status; }
83 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
84 inline void SetStatus(ExecutionStatus value) {
85 m_statusHasBeenSet = true;
86 m_status = value;
87 }
89 SetStatus(value);
90 return *this;
91 }
93 private:
94 Aws::String m_message;
95
96 Aws::String m_result;
97
99 bool m_messageHasBeenSet = false;
100 bool m_resultHasBeenSet = false;
101 bool m_statusHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace Appflow
106} // namespace Aws
RegistrationOutput & WithMessage(MessageT &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPFLOW_API RegistrationOutput()=default
RegistrationOutput & WithResult(ResultT &&value)
RegistrationOutput & WithStatus(ExecutionStatus value)
AWS_APPFLOW_API RegistrationOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API RegistrationOutput(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue