AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
GetCloudConnectorResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
10#include <aws/iot-managed-integrations/model/CloudConnectorType.h>
11#include <aws/iot-managed-integrations/model/EndpointConfig.h>
12#include <aws/iot-managed-integrations/model/EndpointType.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoTManagedIntegrations {
26namespace Model {
28 public:
29 AWS_IOTMANAGEDINTEGRATIONS_API GetCloudConnectorResult() = default;
32
34
37 inline const Aws::String& GetName() const { return m_name; }
38 template <typename NameT = Aws::String>
39 void SetName(NameT&& value) {
40 m_nameHasBeenSet = true;
41 m_name = std::forward<NameT>(value);
42 }
43 template <typename NameT = Aws::String>
45 SetName(std::forward<NameT>(value));
46 return *this;
47 }
49
51
55 inline const EndpointConfig& GetEndpointConfig() const { return m_endpointConfig; }
56 template <typename EndpointConfigT = EndpointConfig>
57 void SetEndpointConfig(EndpointConfigT&& value) {
58 m_endpointConfigHasBeenSet = true;
59 m_endpointConfig = std::forward<EndpointConfigT>(value);
60 }
61 template <typename EndpointConfigT = EndpointConfig>
62 GetCloudConnectorResult& WithEndpointConfig(EndpointConfigT&& value) {
63 SetEndpointConfig(std::forward<EndpointConfigT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetDescription() const { return m_description; }
73 template <typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) {
75 m_descriptionHasBeenSet = true;
76 m_description = std::forward<DescriptionT>(value);
77 }
78 template <typename DescriptionT = Aws::String>
80 SetDescription(std::forward<DescriptionT>(value));
81 return *this;
82 }
84
86
90 inline EndpointType GetEndpointType() const { return m_endpointType; }
91 inline void SetEndpointType(EndpointType value) {
92 m_endpointTypeHasBeenSet = true;
93 m_endpointType = value;
94 }
96 SetEndpointType(value);
97 return *this;
98 }
100
102
105 inline const Aws::String& GetId() const { return m_id; }
106 template <typename IdT = Aws::String>
107 void SetId(IdT&& value) {
108 m_idHasBeenSet = true;
109 m_id = std::forward<IdT>(value);
110 }
111 template <typename IdT = Aws::String>
113 SetId(std::forward<IdT>(value));
114 return *this;
115 }
117
119
122 inline CloudConnectorType GetType() const { return m_type; }
123 inline void SetType(CloudConnectorType value) {
124 m_typeHasBeenSet = true;
125 m_type = value;
126 }
128 SetType(value);
129 return *this;
130 }
132
134
135 inline const Aws::String& GetRequestId() const { return m_requestId; }
136 template <typename RequestIdT = Aws::String>
137 void SetRequestId(RequestIdT&& value) {
138 m_requestIdHasBeenSet = true;
139 m_requestId = std::forward<RequestIdT>(value);
140 }
141 template <typename RequestIdT = Aws::String>
143 SetRequestId(std::forward<RequestIdT>(value));
144 return *this;
145 }
147 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
148
149 private:
150 Aws::String m_name;
151
152 EndpointConfig m_endpointConfig;
153
154 Aws::String m_description;
155
156 EndpointType m_endpointType{EndpointType::NOT_SET};
157
158 Aws::String m_id;
159
161
162 Aws::String m_requestId;
163 Aws::Http::HttpResponseCode m_HttpResponseCode;
164 bool m_nameHasBeenSet = false;
165 bool m_endpointConfigHasBeenSet = false;
166 bool m_descriptionHasBeenSet = false;
167 bool m_endpointTypeHasBeenSet = false;
168 bool m_idHasBeenSet = false;
169 bool m_typeHasBeenSet = false;
170 bool m_requestIdHasBeenSet = false;
171};
172
173} // namespace Model
174} // namespace IoTManagedIntegrations
175} // namespace Aws
GetCloudConnectorResult & WithEndpointType(EndpointType value)
AWS_IOTMANAGEDINTEGRATIONS_API GetCloudConnectorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCloudConnectorResult & WithRequestId(RequestIdT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API GetCloudConnectorResult()=default
GetCloudConnectorResult & WithEndpointConfig(EndpointConfigT &&value)
GetCloudConnectorResult & WithDescription(DescriptionT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API GetCloudConnectorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCloudConnectorResult & WithType(CloudConnectorType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue