AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateConnectorResult.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafkaconnect/model/ConnectorState.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace KafkaConnect
25{
26namespace Model
27{
29 {
30 public:
31 AWS_KAFKACONNECT_API CreateConnectorResult();
34
35
37
40 inline const Aws::String& GetConnectorArn() const{ return m_connectorArn; }
41 inline void SetConnectorArn(const Aws::String& value) { m_connectorArn = value; }
42 inline void SetConnectorArn(Aws::String&& value) { m_connectorArn = std::move(value); }
43 inline void SetConnectorArn(const char* value) { m_connectorArn.assign(value); }
44 inline CreateConnectorResult& WithConnectorArn(const Aws::String& value) { SetConnectorArn(value); return *this;}
45 inline CreateConnectorResult& WithConnectorArn(Aws::String&& value) { SetConnectorArn(std::move(value)); return *this;}
46 inline CreateConnectorResult& WithConnectorArn(const char* value) { SetConnectorArn(value); return *this;}
48
50
53 inline const Aws::String& GetConnectorName() const{ return m_connectorName; }
54 inline void SetConnectorName(const Aws::String& value) { m_connectorName = value; }
55 inline void SetConnectorName(Aws::String&& value) { m_connectorName = std::move(value); }
56 inline void SetConnectorName(const char* value) { m_connectorName.assign(value); }
57 inline CreateConnectorResult& WithConnectorName(const Aws::String& value) { SetConnectorName(value); return *this;}
58 inline CreateConnectorResult& WithConnectorName(Aws::String&& value) { SetConnectorName(std::move(value)); return *this;}
59 inline CreateConnectorResult& WithConnectorName(const char* value) { SetConnectorName(value); return *this;}
61
63
66 inline const ConnectorState& GetConnectorState() const{ return m_connectorState; }
67 inline void SetConnectorState(const ConnectorState& value) { m_connectorState = value; }
68 inline void SetConnectorState(ConnectorState&& value) { m_connectorState = std::move(value); }
69 inline CreateConnectorResult& WithConnectorState(const ConnectorState& value) { SetConnectorState(value); return *this;}
70 inline CreateConnectorResult& WithConnectorState(ConnectorState&& value) { SetConnectorState(std::move(value)); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline CreateConnectorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline CreateConnectorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline CreateConnectorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::String m_connectorArn;
86
87 Aws::String m_connectorName;
88
89 ConnectorState m_connectorState;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace KafkaConnect
96} // namespace Aws
CreateConnectorResult & WithConnectorName(const Aws::String &value)
CreateConnectorResult & WithConnectorState(const ConnectorState &value)
CreateConnectorResult & WithRequestId(const char *value)
CreateConnectorResult & WithConnectorArn(const Aws::String &value)
CreateConnectorResult & WithConnectorArn(Aws::String &&value)
AWS_KAFKACONNECT_API CreateConnectorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KAFKACONNECT_API CreateConnectorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetConnectorState(const ConnectorState &value)
CreateConnectorResult & WithConnectorName(Aws::String &&value)
CreateConnectorResult & WithRequestId(const Aws::String &value)
CreateConnectorResult & WithConnectorArn(const char *value)
CreateConnectorResult & WithRequestId(Aws::String &&value)
CreateConnectorResult & WithConnectorName(const char *value)
CreateConnectorResult & WithConnectorState(ConnectorState &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue