AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConnectorDefinitionVersion.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/greengrass/model/Connector.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
34 {
35 public:
36 AWS_GREENGRASS_API ConnectorDefinitionVersion();
39 AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<Connector>& GetConnectors() const{ return m_connectors; }
48 inline bool ConnectorsHasBeenSet() const { return m_connectorsHasBeenSet; }
49 inline void SetConnectors(const Aws::Vector<Connector>& value) { m_connectorsHasBeenSet = true; m_connectors = value; }
50 inline void SetConnectors(Aws::Vector<Connector>&& value) { m_connectorsHasBeenSet = true; m_connectors = std::move(value); }
52 inline ConnectorDefinitionVersion& WithConnectors(Aws::Vector<Connector>&& value) { SetConnectors(std::move(value)); return *this;}
53 inline ConnectorDefinitionVersion& AddConnectors(const Connector& value) { m_connectorsHasBeenSet = true; m_connectors.push_back(value); return *this; }
54 inline ConnectorDefinitionVersion& AddConnectors(Connector&& value) { m_connectorsHasBeenSet = true; m_connectors.push_back(std::move(value)); return *this; }
56 private:
57
58 Aws::Vector<Connector> m_connectors;
59 bool m_connectorsHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace Greengrass
64} // namespace Aws
ConnectorDefinitionVersion & AddConnectors(Connector &&value)
ConnectorDefinitionVersion & WithConnectors(const Aws::Vector< Connector > &value)
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GREENGRASS_API ConnectorDefinitionVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectorDefinitionVersion & WithConnectors(Aws::Vector< Connector > &&value)
AWS_GREENGRASS_API ConnectorDefinitionVersion(Aws::Utils::Json::JsonView jsonValue)
void SetConnectors(const Aws::Vector< Connector > &value)
ConnectorDefinitionVersion & AddConnectors(const Connector &value)
const Aws::Vector< Connector > & GetConnectors() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue