AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RegistrationOutput.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appflow/model/ExecutionStatus.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 Appflow
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_APPFLOW_API RegistrationOutput() = default;
43 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::String& GetMessage() const { return m_message; }
52 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
53 template<typename MessageT = Aws::String>
54 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
55 template<typename MessageT = Aws::String>
56 RegistrationOutput& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
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) { m_resultHasBeenSet = true; m_result = std::forward<ResultT>(value); }
68 template<typename ResultT = Aws::String>
69 RegistrationOutput& WithResult(ResultT&& value) { SetResult(std::forward<ResultT>(value)); return *this;}
71
73
76 inline ExecutionStatus GetStatus() const { return m_status; }
77 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
78 inline void SetStatus(ExecutionStatus value) { m_statusHasBeenSet = true; m_status = value; }
79 inline RegistrationOutput& WithStatus(ExecutionStatus value) { SetStatus(value); return *this;}
81 private:
82
83 Aws::String m_message;
84 bool m_messageHasBeenSet = false;
85
86 Aws::String m_result;
87 bool m_resultHasBeenSet = false;
88
90 bool m_statusHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Appflow
95} // 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