AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
ConnectorDestinationSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoTManagedIntegrations {
20namespace Model {
21
30 public:
31 AWS_IOTMANAGEDINTEGRATIONS_API ConnectorDestinationSummary() = default;
32 AWS_IOTMANAGEDINTEGRATIONS_API ConnectorDestinationSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTMANAGEDINTEGRATIONS_API ConnectorDestinationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDescription() const { return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 template <typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) {
62 m_descriptionHasBeenSet = true;
63 m_description = std::forward<DescriptionT>(value);
64 }
65 template <typename DescriptionT = Aws::String>
67 SetDescription(std::forward<DescriptionT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetCloudConnectorId() const { return m_cloudConnectorId; }
78 inline bool CloudConnectorIdHasBeenSet() const { return m_cloudConnectorIdHasBeenSet; }
79 template <typename CloudConnectorIdT = Aws::String>
80 void SetCloudConnectorId(CloudConnectorIdT&& value) {
81 m_cloudConnectorIdHasBeenSet = true;
82 m_cloudConnectorId = std::forward<CloudConnectorIdT>(value);
83 }
84 template <typename CloudConnectorIdT = Aws::String>
86 SetCloudConnectorId(std::forward<CloudConnectorIdT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetId() const { return m_id; }
96 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
97 template <typename IdT = Aws::String>
98 void SetId(IdT&& value) {
99 m_idHasBeenSet = true;
100 m_id = std::forward<IdT>(value);
101 }
102 template <typename IdT = Aws::String>
104 SetId(std::forward<IdT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_name;
110
111 Aws::String m_description;
112
113 Aws::String m_cloudConnectorId;
114
115 Aws::String m_id;
116 bool m_nameHasBeenSet = false;
117 bool m_descriptionHasBeenSet = false;
118 bool m_cloudConnectorIdHasBeenSet = false;
119 bool m_idHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace IoTManagedIntegrations
124} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API ConnectorDestinationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API ConnectorDestinationSummary(Aws::Utils::Json::JsonView jsonValue)
ConnectorDestinationSummary & WithCloudConnectorId(CloudConnectorIdT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectorDestinationSummary & WithDescription(DescriptionT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API ConnectorDestinationSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue