AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PrivateConnectionProvisioningState.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/PrivateConnectionProvisioningStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appflow/model/PrivateConnectionProvisioningFailureCause.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Appflow
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const PrivateConnectionProvisioningStatus& GetStatus() const{ return m_status; }
48 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
49 inline void SetStatus(const PrivateConnectionProvisioningStatus& value) { m_statusHasBeenSet = true; m_status = value; }
50 inline void SetStatus(PrivateConnectionProvisioningStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
54
56
59 inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; }
60 inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; }
61 inline void SetFailureMessage(const Aws::String& value) { m_failureMessageHasBeenSet = true; m_failureMessage = value; }
62 inline void SetFailureMessage(Aws::String&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::move(value); }
63 inline void SetFailureMessage(const char* value) { m_failureMessageHasBeenSet = true; m_failureMessage.assign(value); }
65 inline PrivateConnectionProvisioningState& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;}
66 inline PrivateConnectionProvisioningState& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;}
68
70
73 inline const PrivateConnectionProvisioningFailureCause& GetFailureCause() const{ return m_failureCause; }
74 inline bool FailureCauseHasBeenSet() const { return m_failureCauseHasBeenSet; }
75 inline void SetFailureCause(const PrivateConnectionProvisioningFailureCause& value) { m_failureCauseHasBeenSet = true; m_failureCause = value; }
76 inline void SetFailureCause(PrivateConnectionProvisioningFailureCause&& value) { m_failureCauseHasBeenSet = true; m_failureCause = std::move(value); }
80 private:
81
83 bool m_statusHasBeenSet = false;
84
85 Aws::String m_failureMessage;
86 bool m_failureMessageHasBeenSet = false;
87
89 bool m_failureCauseHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Appflow
94} // namespace Aws
void SetFailureCause(PrivateConnectionProvisioningFailureCause &&value)
PrivateConnectionProvisioningState & WithFailureMessage(Aws::String &&value)
PrivateConnectionProvisioningState & WithStatus(PrivateConnectionProvisioningStatus &&value)
void SetStatus(PrivateConnectionProvisioningStatus &&value)
void SetFailureCause(const PrivateConnectionProvisioningFailureCause &value)
AWS_APPFLOW_API PrivateConnectionProvisioningState & operator=(Aws::Utils::Json::JsonView jsonValue)
PrivateConnectionProvisioningState & WithFailureCause(const PrivateConnectionProvisioningFailureCause &value)
void SetStatus(const PrivateConnectionProvisioningStatus &value)
PrivateConnectionProvisioningState & WithFailureCause(PrivateConnectionProvisioningFailureCause &&value)
PrivateConnectionProvisioningState & WithFailureMessage(const Aws::String &value)
const PrivateConnectionProvisioningFailureCause & GetFailureCause() const
AWS_APPFLOW_API PrivateConnectionProvisioningState(Aws::Utils::Json::JsonView jsonValue)
PrivateConnectionProvisioningState & WithFailureMessage(const char *value)
const PrivateConnectionProvisioningStatus & GetStatus() const
PrivateConnectionProvisioningState & WithStatus(const PrivateConnectionProvisioningStatus &value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue