7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
9#include <aws/observabilityadmin/model/ConnectorConfiguration.h>
10#include <aws/observabilityadmin/model/ConnectorProvider.h>
21namespace ObservabilityAdmin {
42 template <
typename ArnT = Aws::String>
44 m_arnHasBeenSet =
true;
45 m_arn = std::forward<ArnT>(value);
47 template <
typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
61 m_providerHasBeenSet =
true;
76 template <
typename ConnectorConfigurationT = ConnectorConfiguration>
78 m_connectorConfigurationHasBeenSet =
true;
79 m_connectorConfiguration = std::forward<ConnectorConfigurationT>(value);
81 template <
typename ConnectorConfigurationT = ConnectorConfiguration>
96 template <
typename RoleArnT = Aws::String>
98 m_roleArnHasBeenSet =
true;
99 m_roleArn = std::forward<RoleArnT>(value);
101 template <
typename RoleArnT = Aws::String>
114 template <
typename NameT = Aws::String>
116 m_nameHasBeenSet =
true;
117 m_name = std::forward<NameT>(value);
119 template <
typename NameT = Aws::String>
121 SetName(std::forward<NameT>(value));
134 m_createdTimeStampHasBeenSet =
true;
135 m_createdTimeStamp = value;
147 ConnectorConfiguration m_connectorConfiguration;
153 long long m_createdTimeStamp{0};
154 bool m_arnHasBeenSet =
false;
155 bool m_providerHasBeenSet =
false;
156 bool m_connectorConfigurationHasBeenSet =
false;
157 bool m_roleArnHasBeenSet =
false;
158 bool m_nameHasBeenSet =
false;
159 bool m_createdTimeStampHasBeenSet =
false;
Connector & WithCreatedTimeStamp(long long value)
bool ConnectorConfigurationHasBeenSet() const
bool NameHasBeenSet() const
bool ProviderHasBeenSet() const
void SetName(NameT &&value)
const Aws::String & GetName() const
const Aws::String & GetRoleArn() const
long long GetCreatedTimeStamp() const
ConnectorProvider GetProvider() const
bool RoleArnHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
void SetConnectorConfiguration(ConnectorConfigurationT &&value)
void SetProvider(ConnectorProvider value)
bool ArnHasBeenSet() const
Connector & WithProvider(ConnectorProvider value)
AWS_OBSERVABILITYADMIN_API Connector(Aws::Utils::Json::JsonView jsonValue)
Connector & WithName(NameT &&value)
Connector & WithRoleArn(RoleArnT &&value)
Connector & WithConnectorConfiguration(ConnectorConfigurationT &&value)
void SetArn(ArnT &&value)
const ConnectorConfiguration & GetConnectorConfiguration() const
const Aws::String & GetArn() const
Connector & WithArn(ArnT &&value)
void SetCreatedTimeStamp(long long value)
bool CreatedTimeStampHasBeenSet() const
AWS_OBSERVABILITYADMIN_API Connector()=default
AWS_OBSERVABILITYADMIN_API Connector & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue