AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
GetCloudConnectorResult.h
1
6#pragma once
7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot-managed-integrations/model/EndpointConfig.h>
10#include <aws/iot-managed-integrations/model/EndpointType.h>
11#include <aws/iot-managed-integrations/model/CloudConnectorType.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace IoTManagedIntegrations
27{
28namespace Model
29{
31 {
32 public:
33 AWS_IOTMANAGEDINTEGRATIONS_API GetCloudConnectorResult() = default;
36
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 template<typename NameT = Aws::String>
44 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
45 template<typename NameT = Aws::String>
46 GetCloudConnectorResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
48
50
54 inline const EndpointConfig& GetEndpointConfig() const { return m_endpointConfig; }
55 template<typename EndpointConfigT = EndpointConfig>
56 void SetEndpointConfig(EndpointConfigT&& value) { m_endpointConfigHasBeenSet = true; m_endpointConfig = std::forward<EndpointConfigT>(value); }
57 template<typename EndpointConfigT = EndpointConfig>
58 GetCloudConnectorResult& WithEndpointConfig(EndpointConfigT&& value) { SetEndpointConfig(std::forward<EndpointConfigT>(value)); return *this;}
60
62
65 inline const Aws::String& GetDescription() const { return m_description; }
66 template<typename DescriptionT = Aws::String>
67 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
68 template<typename DescriptionT = Aws::String>
69 GetCloudConnectorResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
71
73
77 inline EndpointType GetEndpointType() const { return m_endpointType; }
78 inline void SetEndpointType(EndpointType value) { m_endpointTypeHasBeenSet = true; m_endpointType = value; }
81
83
86 inline const Aws::String& GetId() const { return m_id; }
87 template<typename IdT = Aws::String>
88 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
89 template<typename IdT = Aws::String>
90 GetCloudConnectorResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
92
94
97 inline CloudConnectorType GetType() const { return m_type; }
98 inline void SetType(CloudConnectorType value) { m_typeHasBeenSet = true; m_type = value; }
99 inline GetCloudConnectorResult& WithType(CloudConnectorType value) { SetType(value); return *this;}
101
103
104 inline const Aws::String& GetRequestId() const { return m_requestId; }
105 template<typename RequestIdT = Aws::String>
106 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
107 template<typename RequestIdT = Aws::String>
108 GetCloudConnectorResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
110 private:
111
112 Aws::String m_name;
113 bool m_nameHasBeenSet = false;
114
115 EndpointConfig m_endpointConfig;
116 bool m_endpointConfigHasBeenSet = false;
117
118 Aws::String m_description;
119 bool m_descriptionHasBeenSet = false;
120
121 EndpointType m_endpointType{EndpointType::NOT_SET};
122 bool m_endpointTypeHasBeenSet = false;
123
124 Aws::String m_id;
125 bool m_idHasBeenSet = false;
126
128 bool m_typeHasBeenSet = false;
129
130 Aws::String m_requestId;
131 bool m_requestIdHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace IoTManagedIntegrations
136} // 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