AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Connector.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Greengrass
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_GREENGRASS_API Connector() = default;
38 AWS_GREENGRASS_API Connector(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GREENGRASS_API Connector& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetConnectorArn() const { return m_connectorArn; }
48 inline bool ConnectorArnHasBeenSet() const { return m_connectorArnHasBeenSet; }
49 template<typename ConnectorArnT = Aws::String>
50 void SetConnectorArn(ConnectorArnT&& value) { m_connectorArnHasBeenSet = true; m_connectorArn = std::forward<ConnectorArnT>(value); }
51 template<typename ConnectorArnT = Aws::String>
52 Connector& WithConnectorArn(ConnectorArnT&& value) { SetConnectorArn(std::forward<ConnectorArnT>(value)); return *this;}
54
56
61 inline const Aws::String& GetId() const { return m_id; }
62 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
63 template<typename IdT = Aws::String>
64 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
65 template<typename IdT = Aws::String>
66 Connector& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
68
70
73 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const { return m_parameters; }
74 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
75 template<typename ParametersT = Aws::Map<Aws::String, Aws::String>>
76 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
77 template<typename ParametersT = Aws::Map<Aws::String, Aws::String>>
78 Connector& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
79 template<typename ParametersKeyT = Aws::String, typename ParametersValueT = Aws::String>
80 Connector& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
81 m_parametersHasBeenSet = true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value)); return *this;
82 }
84 private:
85
86 Aws::String m_connectorArn;
87 bool m_connectorArnHasBeenSet = false;
88
89 Aws::String m_id;
90 bool m_idHasBeenSet = false;
91
93 bool m_parametersHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Greengrass
98} // namespace Aws
Connector & WithParameters(ParametersT &&value)
Definition Connector.h:78
const Aws::String & GetConnectorArn() const
Definition Connector.h:47
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
Definition Connector.h:73
Connector & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
Definition Connector.h:80
Connector & WithId(IdT &&value)
Definition Connector.h:66
Connector & WithConnectorArn(ConnectorArnT &&value)
Definition Connector.h:52
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetParameters(ParametersT &&value)
Definition Connector.h:76
void SetConnectorArn(ConnectorArnT &&value)
Definition Connector.h:50
AWS_GREENGRASS_API Connector & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASS_API Connector()=default
AWS_GREENGRASS_API Connector(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
Definition Connector.h:61
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue