AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetConnectorArn(const Aws::String& value) { m_connectorArnHasBeenSet = true; m_connectorArn = value; }
50 inline void SetConnectorArn(Aws::String&& value) { m_connectorArnHasBeenSet = true; m_connectorArn = std::move(value); }
51 inline void SetConnectorArn(const char* value) { m_connectorArnHasBeenSet = true; m_connectorArn.assign(value); }
52 inline Connector& WithConnectorArn(const Aws::String& value) { SetConnectorArn(value); return *this;}
53 inline Connector& WithConnectorArn(Aws::String&& value) { SetConnectorArn(std::move(value)); return *this;}
54 inline Connector& WithConnectorArn(const char* value) { SetConnectorArn(value); return *this;}
56
58
63 inline const Aws::String& GetId() const{ return m_id; }
64 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
65 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
66 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
67 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
68 inline Connector& WithId(const Aws::String& value) { SetId(value); return *this;}
69 inline Connector& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
70 inline Connector& WithId(const char* value) { SetId(value); return *this;}
72
74
77 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const{ return m_parameters; }
78 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
79 inline void SetParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
80 inline void SetParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
81 inline Connector& WithParameters(const Aws::Map<Aws::String, Aws::String>& value) { SetParameters(value); return *this;}
82 inline Connector& WithParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetParameters(std::move(value)); return *this;}
83 inline Connector& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
84 inline Connector& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
85 inline Connector& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
86 inline Connector& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
87 inline Connector& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
88 inline Connector& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
89 inline Connector& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
91 private:
92
93 Aws::String m_connectorArn;
94 bool m_connectorArnHasBeenSet = false;
95
96 Aws::String m_id;
97 bool m_idHasBeenSet = false;
98
100 bool m_parametersHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Greengrass
105} // namespace Aws
const Aws::String & GetConnectorArn() const
Definition Connector.h:47
Connector & AddParameters(Aws::String &&key, Aws::String &&value)
Definition Connector.h:86
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
Definition Connector.h:77
Connector & WithId(const char *value)
Definition Connector.h:70
void SetId(const Aws::String &value)
Definition Connector.h:65
Connector & AddParameters(Aws::String &&key, const Aws::String &value)
Definition Connector.h:84
void SetConnectorArn(Aws::String &&value)
Definition Connector.h:50
void SetId(Aws::String &&value)
Definition Connector.h:66
Connector & AddParameters(const Aws::String &key, const Aws::String &value)
Definition Connector.h:83
void SetConnectorArn(const Aws::String &value)
Definition Connector.h:49
Connector & WithConnectorArn(Aws::String &&value)
Definition Connector.h:53
AWS_GREENGRASS_API Connector()
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition Connector.h:79
Connector & WithConnectorArn(const char *value)
Definition Connector.h:54
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition Connector.h:80
Connector & WithId(Aws::String &&value)
Definition Connector.h:69
void SetConnectorArn(const char *value)
Definition Connector.h:51
Connector & AddParameters(const char *key, const char *value)
Definition Connector.h:89
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetId(const char *value)
Definition Connector.h:67
Connector & WithId(const Aws::String &value)
Definition Connector.h:68
Connector & AddParameters(const char *key, Aws::String &&value)
Definition Connector.h:87
Connector & AddParameters(const Aws::String &key, Aws::String &&value)
Definition Connector.h:85
Connector & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition Connector.h:82
AWS_GREENGRASS_API Connector & operator=(Aws::Utils::Json::JsonView jsonValue)
Connector & WithConnectorArn(const Aws::String &value)
Definition Connector.h:52
Connector & AddParameters(Aws::String &&key, const char *value)
Definition Connector.h:88
AWS_GREENGRASS_API Connector(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
Definition Connector.h:63
Connector & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition Connector.h:81
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