AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Athena
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ATHENA_API DataCatalogSummary();
39 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const Aws::String& GetCatalogName() const{ return m_catalogName; }
50 inline bool CatalogNameHasBeenSet() const { return m_catalogNameHasBeenSet; }
51 inline void SetCatalogName(const Aws::String& value) { m_catalogNameHasBeenSet = true; m_catalogName = value; }
52 inline void SetCatalogName(Aws::String&& value) { m_catalogNameHasBeenSet = true; m_catalogName = std::move(value); }
53 inline void SetCatalogName(const char* value) { m_catalogNameHasBeenSet = true; m_catalogName.assign(value); }
54 inline DataCatalogSummary& WithCatalogName(const Aws::String& value) { SetCatalogName(value); return *this;}
55 inline DataCatalogSummary& WithCatalogName(Aws::String&& value) { SetCatalogName(std::move(value)); return *this;}
56 inline DataCatalogSummary& WithCatalogName(const char* value) { SetCatalogName(value); return *this;}
58
60
63 inline const DataCatalogType& GetType() const{ return m_type; }
64 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
65 inline void SetType(const DataCatalogType& value) { m_typeHasBeenSet = true; m_type = value; }
66 inline void SetType(DataCatalogType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
67 inline DataCatalogSummary& WithType(const DataCatalogType& value) { SetType(value); return *this;}
68 inline DataCatalogSummary& WithType(DataCatalogType&& value) { SetType(std::move(value)); return *this;}
70 private:
71
72 Aws::String m_catalogName;
73 bool m_catalogNameHasBeenSet = false;
74
75 DataCatalogType m_type;
76 bool m_typeHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Athena
81} // namespace Aws
void SetType(DataCatalogType &&value)
DataCatalogSummary & WithCatalogName(Aws::String &&value)
void SetType(const DataCatalogType &value)
const Aws::String & GetCatalogName() const
DataCatalogSummary & WithType(const DataCatalogType &value)
DataCatalogSummary & WithCatalogName(const Aws::String &value)
AWS_ATHENA_API DataCatalogSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const DataCatalogType & GetType() const
DataCatalogSummary & WithCatalogName(const char *value)
DataCatalogSummary & WithType(DataCatalogType &&value)
void SetCatalogName(const Aws::String &value)
AWS_ATHENA_API DataCatalogSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue