AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
ConnectorItem.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{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoTManagedIntegrations
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_IOTMANAGEDINTEGRATIONS_API ConnectorItem() = default;
38 AWS_IOTMANAGEDINTEGRATIONS_API ConnectorItem(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTMANAGEDINTEGRATIONS_API ConnectorItem& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetName() const { return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 template<typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
51 template<typename NameT = Aws::String>
52 ConnectorItem& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
54
56
60 inline const EndpointConfig& GetEndpointConfig() const { return m_endpointConfig; }
61 inline bool EndpointConfigHasBeenSet() const { return m_endpointConfigHasBeenSet; }
62 template<typename EndpointConfigT = EndpointConfig>
63 void SetEndpointConfig(EndpointConfigT&& value) { m_endpointConfigHasBeenSet = true; m_endpointConfig = std::forward<EndpointConfigT>(value); }
64 template<typename EndpointConfigT = EndpointConfig>
65 ConnectorItem& WithEndpointConfig(EndpointConfigT&& value) { SetEndpointConfig(std::forward<EndpointConfigT>(value)); return *this;}
67
69
72 inline const Aws::String& GetDescription() const { return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 template<typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
76 template<typename DescriptionT = Aws::String>
77 ConnectorItem& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
79
81
84 inline EndpointType GetEndpointType() const { return m_endpointType; }
85 inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
86 inline void SetEndpointType(EndpointType value) { m_endpointTypeHasBeenSet = true; m_endpointType = value; }
87 inline ConnectorItem& WithEndpointType(EndpointType value) { SetEndpointType(value); return *this;}
89
91
94 inline const Aws::String& GetId() const { return m_id; }
95 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
96 template<typename IdT = Aws::String>
97 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
98 template<typename IdT = Aws::String>
99 ConnectorItem& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
101
103
106 inline CloudConnectorType GetType() const { return m_type; }
107 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
108 inline void SetType(CloudConnectorType value) { m_typeHasBeenSet = true; m_type = value; }
109 inline ConnectorItem& WithType(CloudConnectorType value) { SetType(value); return *this;}
111 private:
112
113 Aws::String m_name;
114 bool m_nameHasBeenSet = false;
115
116 EndpointConfig m_endpointConfig;
117 bool m_endpointConfigHasBeenSet = false;
118
119 Aws::String m_description;
120 bool m_descriptionHasBeenSet = false;
121
122 EndpointType m_endpointType{EndpointType::NOT_SET};
123 bool m_endpointTypeHasBeenSet = false;
124
125 Aws::String m_id;
126 bool m_idHasBeenSet = false;
127
129 bool m_typeHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace IoTManagedIntegrations
134} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API ConnectorItem(Aws::Utils::Json::JsonView jsonValue)
ConnectorItem & WithEndpointType(EndpointType value)
const EndpointConfig & GetEndpointConfig() const
void SetEndpointConfig(EndpointConfigT &&value)
ConnectorItem & WithEndpointConfig(EndpointConfigT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTMANAGEDINTEGRATIONS_API ConnectorItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectorItem & WithDescription(DescriptionT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API ConnectorItem()=default
ConnectorItem & WithType(CloudConnectorType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue