AWS SDK for C++

AWS SDK for C++ Version 1.11.867

Loading...
Searching...
No Matches
Catalog.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafka/Kafka_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Kafka {
20namespace Model {
21
28class Catalog {
29 public:
30 AWS_KAFKA_API Catalog() = default;
31 AWS_KAFKA_API Catalog(Aws::Utils::Json::JsonView jsonValue);
32 AWS_KAFKA_API Catalog& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline const Aws::String& GetCatalogArn() const { return m_catalogArn; }
42 inline bool CatalogArnHasBeenSet() const { return m_catalogArnHasBeenSet; }
43 template <typename CatalogArnT = Aws::String>
44 void SetCatalogArn(CatalogArnT&& value) {
45 m_catalogArnHasBeenSet = true;
46 m_catalogArn = std::forward<CatalogArnT>(value);
47 }
48 template <typename CatalogArnT = Aws::String>
49 Catalog& WithCatalogArn(CatalogArnT&& value) {
50 SetCatalogArn(std::forward<CatalogArnT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetWarehouseLocation() const { return m_warehouseLocation; }
61 inline bool WarehouseLocationHasBeenSet() const { return m_warehouseLocationHasBeenSet; }
62 template <typename WarehouseLocationT = Aws::String>
63 void SetWarehouseLocation(WarehouseLocationT&& value) {
64 m_warehouseLocationHasBeenSet = true;
65 m_warehouseLocation = std::forward<WarehouseLocationT>(value);
66 }
67 template <typename WarehouseLocationT = Aws::String>
68 Catalog& WithWarehouseLocation(WarehouseLocationT&& value) {
69 SetWarehouseLocation(std::forward<WarehouseLocationT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_catalogArn;
75
76 Aws::String m_warehouseLocation;
77 bool m_catalogArnHasBeenSet = false;
78 bool m_warehouseLocationHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace Kafka
83} // namespace Aws
const Aws::String & GetCatalogArn() const
Definition Catalog.h:41
const Aws::String & GetWarehouseLocation() const
Definition Catalog.h:60
bool WarehouseLocationHasBeenSet() const
Definition Catalog.h:61
AWS_KAFKA_API Catalog()=default
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKA_API Catalog(Aws::Utils::Json::JsonView jsonValue)
Catalog & WithWarehouseLocation(WarehouseLocationT &&value)
Definition Catalog.h:68
AWS_KAFKA_API Catalog & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCatalogArn(CatalogArnT &&value)
Definition Catalog.h:44
bool CatalogArnHasBeenSet() const
Definition Catalog.h:42
Catalog & WithCatalogArn(CatalogArnT &&value)
Definition Catalog.h:49
void SetWarehouseLocation(WarehouseLocationT &&value)
Definition Catalog.h:63
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue