AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DataCatalogSummary.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/athena/model/DataCatalogType.h>
10#include <aws/athena/model/DataCatalogStatus.h>
11#include <aws/athena/model/ConnectionType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Athena
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_ATHENA_API DataCatalogSummary() = default;
41 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
51 inline const Aws::String& GetCatalogName() const { return m_catalogName; }
52 inline bool CatalogNameHasBeenSet() const { return m_catalogNameHasBeenSet; }
53 template<typename CatalogNameT = Aws::String>
54 void SetCatalogName(CatalogNameT&& value) { m_catalogNameHasBeenSet = true; m_catalogName = std::forward<CatalogNameT>(value); }
55 template<typename CatalogNameT = Aws::String>
56 DataCatalogSummary& WithCatalogName(CatalogNameT&& value) { SetCatalogName(std::forward<CatalogNameT>(value)); return *this;}
58
60
63 inline DataCatalogType GetType() const { return m_type; }
64 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
65 inline void SetType(DataCatalogType value) { m_typeHasBeenSet = true; m_type = value; }
66 inline DataCatalogSummary& WithType(DataCatalogType value) { SetType(value); return *this;}
68
70
91 inline DataCatalogStatus GetStatus() const { return m_status; }
92 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
93 inline void SetStatus(DataCatalogStatus value) { m_statusHasBeenSet = true; m_status = value; }
94 inline DataCatalogSummary& WithStatus(DataCatalogStatus value) { SetStatus(value); return *this;}
96
98
105 inline ConnectionType GetConnectionType() const { return m_connectionType; }
106 inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; }
107 inline void SetConnectionType(ConnectionType value) { m_connectionTypeHasBeenSet = true; m_connectionType = value; }
110
112
115 inline const Aws::String& GetError() const { return m_error; }
116 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
117 template<typename ErrorT = Aws::String>
118 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
119 template<typename ErrorT = Aws::String>
120 DataCatalogSummary& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
122 private:
123
124 Aws::String m_catalogName;
125 bool m_catalogNameHasBeenSet = false;
126
128 bool m_typeHasBeenSet = false;
129
131 bool m_statusHasBeenSet = false;
132
133 ConnectionType m_connectionType{ConnectionType::NOT_SET};
134 bool m_connectionTypeHasBeenSet = false;
135
136 Aws::String m_error;
137 bool m_errorHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace Athena
142} // namespace Aws
DataCatalogSummary & WithConnectionType(ConnectionType value)
DataCatalogSummary & WithCatalogName(CatalogNameT &&value)
DataCatalogSummary & WithStatus(DataCatalogStatus value)
const Aws::String & GetCatalogName() const
void SetCatalogName(CatalogNameT &&value)
AWS_ATHENA_API DataCatalogSummary()=default
AWS_ATHENA_API DataCatalogSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConnectionType(ConnectionType value)
void SetStatus(DataCatalogStatus value)
AWS_ATHENA_API DataCatalogSummary(Aws::Utils::Json::JsonView jsonValue)
DataCatalogSummary & WithType(DataCatalogType value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
DataCatalogSummary & WithError(ErrorT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue