7#include <aws/context/Context_EXPORTS.h>
8#include <aws/context/model/ConnectionStatus.h>
9#include <aws/context/model/ConnectionType.h>
10#include <aws/context/model/DataSourceReference.h>
11#include <aws/context/model/DataSourceScope.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/crt/cbor/Cbor.h>
37 AWS_CONTEXT_API
ConnectionSummary(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
39 AWS_CONTEXT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
47 template <
typename IdT = Aws::String>
49 m_idHasBeenSet =
true;
50 m_id = std::forward<IdT>(value);
52 template <
typename IdT = Aws::String>
54 SetId(std::forward<IdT>(value));
65 template <
typename ArnT = Aws::String>
67 m_arnHasBeenSet =
true;
68 m_arn = std::forward<ArnT>(value);
70 template <
typename ArnT = Aws::String>
72 SetArn(std::forward<ArnT>(value));
83 template <
typename NameT = Aws::String>
85 m_nameHasBeenSet =
true;
86 m_name = std::forward<NameT>(value);
88 template <
typename NameT = Aws::String>
90 SetName(std::forward<NameT>(value));
108 m_typeHasBeenSet =
true;
132 m_statusHasBeenSet =
true;
147 template <
typename CreatedAtT = Aws::Utils::DateTime>
149 m_createdAtHasBeenSet =
true;
150 m_createdAt = std::forward<CreatedAtT>(value);
152 template <
typename CreatedAtT = Aws::Utils::DateTime>
165 template <
typename UpdatedAtT = Aws::Utils::DateTime>
167 m_updatedAtHasBeenSet =
true;
168 m_updatedAt = std::forward<UpdatedAtT>(value);
170 template <
typename UpdatedAtT = Aws::Utils::DateTime>
184 template <
typename DataSourceT = DataSourceReference>
186 m_dataSourceHasBeenSet =
true;
187 m_dataSource = std::forward<DataSourceT>(value);
189 template <
typename DataSourceT = DataSourceReference>
204 template <
typename ScopeT = DataSourceScope>
206 m_scopeHasBeenSet =
true;
207 m_scope = std::forward<ScopeT>(value);
209 template <
typename ScopeT = DataSourceScope>
211 SetScope(std::forward<ScopeT>(value));
230 DataSourceReference m_dataSource;
232 DataSourceScope m_scope;
233 bool m_idHasBeenSet =
false;
234 bool m_arnHasBeenSet =
false;
235 bool m_nameHasBeenSet =
false;
236 bool m_typeHasBeenSet =
false;
237 bool m_statusHasBeenSet =
false;
238 bool m_createdAtHasBeenSet =
false;
239 bool m_updatedAtHasBeenSet =
false;
240 bool m_dataSourceHasBeenSet =
false;
241 bool m_scopeHasBeenSet =
false;
void SetUpdatedAt(UpdatedAtT &&value)
ConnectionSummary & WithScope(ScopeT &&value)
ConnectionSummary & WithName(NameT &&value)
ConnectionSummary & WithArn(ArnT &&value)
void SetName(NameT &&value)
ConnectionSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetName() const
bool StatusHasBeenSet() const
ConnectionSummary & WithDataSource(DataSourceT &&value)
ConnectionSummary & WithUpdatedAt(UpdatedAtT &&value)
const DataSourceReference & GetDataSource() const
ConnectionSummary & WithType(ConnectionType value)
const Aws::String & GetArn() const
void SetCreatedAt(CreatedAtT &&value)
bool TypeHasBeenSet() const
ConnectionType GetType() const
void SetType(ConnectionType value)
bool NameHasBeenSet() const
bool ArnHasBeenSet() const
AWS_CONTEXT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
ConnectionSummary & WithId(IdT &&value)
const DataSourceScope & GetScope() const
bool DataSourceHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetScope(ScopeT &&value)
void SetStatus(ConnectionStatus value)
bool CreatedAtHasBeenSet() const
ConnectionStatus GetStatus() const
const Aws::String & GetId() const
AWS_CONTEXT_API ConnectionSummary()=default
bool ScopeHasBeenSet() const
void SetArn(ArnT &&value)
bool UpdatedAtHasBeenSet() const
ConnectionSummary & WithStatus(ConnectionStatus value)
bool IdHasBeenSet() const
AWS_CONTEXT_API ConnectionSummary & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetDataSource(DataSourceT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_CONTEXT_API ConnectionSummary(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String