AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
54 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
55 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
56 inline RegistrationOutput& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
57 inline RegistrationOutput& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
58 inline RegistrationOutput& WithMessage(const char* value) { SetMessage(value); return *this;}
60
62
66 inline const Aws::String& GetResult() const{ return m_result; }
67 inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
68 inline void SetResult(const Aws::String& value) { m_resultHasBeenSet = true; m_result = value; }
69 inline void SetResult(Aws::String&& value) { m_resultHasBeenSet = true; m_result = std::move(value); }
70 inline void SetResult(const char* value) { m_resultHasBeenSet = true; m_result.assign(value); }
71 inline RegistrationOutput& WithResult(const Aws::String& value) { SetResult(value); return *this;}
72 inline RegistrationOutput& WithResult(Aws::String&& value) { SetResult(std::move(value)); return *this;}
73 inline RegistrationOutput& WithResult(const char* value) { SetResult(value); return *this;}
75
77
80 inline const ExecutionStatus& GetStatus() const{ return m_status; }
81 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
82 inline void SetStatus(const ExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
83 inline void SetStatus(ExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
84 inline RegistrationOutput& WithStatus(const ExecutionStatus& value) { SetStatus(value); return *this;}
85 inline RegistrationOutput& WithStatus(ExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
87 private:
88
89 Aws::String m_message;
90 bool m_messageHasBeenSet = false;
91
92 Aws::String m_result;
93 bool m_resultHasBeenSet = false;
94
95 ExecutionStatus m_status;
96 bool m_statusHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace Appflow
101} // namespace Aws
RegistrationOutput & WithStatus(const ExecutionStatus &value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
const ExecutionStatus & GetStatus() const
RegistrationOutput & WithResult(const Aws::String &value)
RegistrationOutput & WithMessage(const char *value)
RegistrationOutput & WithResult(const char *value)
RegistrationOutput & WithStatus(ExecutionStatus &&value)
void SetStatus(const ExecutionStatus &value)
void SetMessage(const Aws::String &value)
RegistrationOutput & WithResult(Aws::String &&value)
void SetStatus(ExecutionStatus &&value)
RegistrationOutput & WithMessage(const Aws::String &value)
void SetResult(const Aws::String &value)
RegistrationOutput & WithMessage(Aws::String &&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