AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
CreateConnectorV2Result.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/ConnectorStatus.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SecurityHub {
24namespace Model {
26 public:
27 AWS_SECURITYHUB_API CreateConnectorV2Result() = default;
30
32
35 inline const Aws::String& GetConnectorArn() const { return m_connectorArn; }
36 template <typename ConnectorArnT = Aws::String>
37 void SetConnectorArn(ConnectorArnT&& value) {
38 m_connectorArnHasBeenSet = true;
39 m_connectorArn = std::forward<ConnectorArnT>(value);
40 }
41 template <typename ConnectorArnT = Aws::String>
42 CreateConnectorV2Result& WithConnectorArn(ConnectorArnT&& value) {
43 SetConnectorArn(std::forward<ConnectorArnT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetConnectorId() const { return m_connectorId; }
53 template <typename ConnectorIdT = Aws::String>
54 void SetConnectorId(ConnectorIdT&& value) {
55 m_connectorIdHasBeenSet = true;
56 m_connectorId = std::forward<ConnectorIdT>(value);
57 }
58 template <typename ConnectorIdT = Aws::String>
60 SetConnectorId(std::forward<ConnectorIdT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetAuthUrl() const { return m_authUrl; }
70 template <typename AuthUrlT = Aws::String>
71 void SetAuthUrl(AuthUrlT&& value) {
72 m_authUrlHasBeenSet = true;
73 m_authUrl = std::forward<AuthUrlT>(value);
74 }
75 template <typename AuthUrlT = Aws::String>
77 SetAuthUrl(std::forward<AuthUrlT>(value));
78 return *this;
79 }
81
83
86 inline ConnectorStatus GetConnectorStatus() const { return m_connectorStatus; }
88 m_connectorStatusHasBeenSet = true;
89 m_connectorStatus = value;
90 }
92 SetConnectorStatus(value);
93 return *this;
94 }
96
98
99 inline const Aws::String& GetRequestId() const { return m_requestId; }
100 template <typename RequestIdT = Aws::String>
101 void SetRequestId(RequestIdT&& value) {
102 m_requestIdHasBeenSet = true;
103 m_requestId = std::forward<RequestIdT>(value);
104 }
105 template <typename RequestIdT = Aws::String>
107 SetRequestId(std::forward<RequestIdT>(value));
108 return *this;
109 }
111 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
112
113 private:
114 Aws::String m_connectorArn;
115
116 Aws::String m_connectorId;
117
118 Aws::String m_authUrl;
119
120 ConnectorStatus m_connectorStatus{ConnectorStatus::NOT_SET};
121
122 Aws::String m_requestId;
123 Aws::Http::HttpResponseCode m_HttpResponseCode;
124 bool m_connectorArnHasBeenSet = false;
125 bool m_connectorIdHasBeenSet = false;
126 bool m_authUrlHasBeenSet = false;
127 bool m_connectorStatusHasBeenSet = false;
128 bool m_requestIdHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace SecurityHub
133} // namespace Aws
CreateConnectorV2Result & WithConnectorArn(ConnectorArnT &&value)
CreateConnectorV2Result & WithRequestId(RequestIdT &&value)
CreateConnectorV2Result & WithConnectorStatus(ConnectorStatus value)
CreateConnectorV2Result & WithConnectorId(ConnectorIdT &&value)
CreateConnectorV2Result & WithAuthUrl(AuthUrlT &&value)
AWS_SECURITYHUB_API CreateConnectorV2Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SECURITYHUB_API CreateConnectorV2Result(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SECURITYHUB_API CreateConnectorV2Result()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue