AWS SDK for C++

AWS SDK for C++ Version 1.11.850

Loading...
Searching...
No Matches
Connector.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/ConnectorConfiguration.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ConfigService {
22namespace Model {
23
30class Connector {
31 public:
32 AWS_CONFIGSERVICE_API Connector() = default;
33 AWS_CONFIGSERVICE_API Connector(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CONFIGSERVICE_API Connector& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
49 Connector& WithName(NameT&& value) {
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetArn() const { return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 template <typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) {
63 m_arnHasBeenSet = true;
64 m_arn = std::forward<ArnT>(value);
65 }
66 template <typename ArnT = Aws::String>
67 Connector& WithArn(ArnT&& value) {
68 SetArn(std::forward<ArnT>(value));
69 return *this;
70 }
72
74
78 inline const ConnectorConfiguration& GetConnectorConfiguration() const { return m_connectorConfiguration; }
79 inline bool ConnectorConfigurationHasBeenSet() const { return m_connectorConfigurationHasBeenSet; }
80 template <typename ConnectorConfigurationT = ConnectorConfiguration>
81 void SetConnectorConfiguration(ConnectorConfigurationT&& value) {
82 m_connectorConfigurationHasBeenSet = true;
83 m_connectorConfiguration = std::forward<ConnectorConfigurationT>(value);
84 }
85 template <typename ConnectorConfigurationT = ConnectorConfiguration>
86 Connector& WithConnectorConfiguration(ConnectorConfigurationT&& value) {
87 SetConnectorConfiguration(std::forward<ConnectorConfigurationT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
97 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
98 template <typename CreatedTimeT = Aws::Utils::DateTime>
99 void SetCreatedTime(CreatedTimeT&& value) {
100 m_createdTimeHasBeenSet = true;
101 m_createdTime = std::forward<CreatedTimeT>(value);
102 }
103 template <typename CreatedTimeT = Aws::Utils::DateTime>
104 Connector& WithCreatedTime(CreatedTimeT&& value) {
105 SetCreatedTime(std::forward<CreatedTimeT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_name;
111
112 Aws::String m_arn;
113
114 ConnectorConfiguration m_connectorConfiguration;
115
116 Aws::Utils::DateTime m_createdTime{};
117 bool m_nameHasBeenSet = false;
118 bool m_arnHasBeenSet = false;
119 bool m_connectorConfigurationHasBeenSet = false;
120 bool m_createdTimeHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace ConfigService
125} // namespace Aws
void SetConnectorConfiguration(ConnectorConfigurationT &&value)
Definition Connector.h:81
Connector & WithConnectorConfiguration(ConnectorConfigurationT &&value)
Definition Connector.h:86
void SetCreatedTime(CreatedTimeT &&value)
Definition Connector.h:99
const Aws::Utils::DateTime & GetCreatedTime() const
Definition Connector.h:96
AWS_CONFIGSERVICE_API Connector()=default
const Aws::String & GetName() const
Definition Connector.h:41
Connector & WithCreatedTime(CreatedTimeT &&value)
Definition Connector.h:104
Connector & WithName(NameT &&value)
Definition Connector.h:49
AWS_CONFIGSERVICE_API Connector(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
Definition Connector.h:59
bool ConnectorConfigurationHasBeenSet() const
Definition Connector.h:79
AWS_CONFIGSERVICE_API Connector & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
Connector & WithArn(ArnT &&value)
Definition Connector.h:67
const ConnectorConfiguration & GetConnectorConfiguration() const
Definition Connector.h:78
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue