AWS SDK for C++  1.9.104
AWS SDK for C++
DataCatalogSummary.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Athena
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetCatalogName() const{ return m_catalogName; }
46 
50  inline bool CatalogNameHasBeenSet() const { return m_catalogNameHasBeenSet; }
51 
55  inline void SetCatalogName(const Aws::String& value) { m_catalogNameHasBeenSet = true; m_catalogName = value; }
56 
60  inline void SetCatalogName(Aws::String&& value) { m_catalogNameHasBeenSet = true; m_catalogName = std::move(value); }
61 
65  inline void SetCatalogName(const char* value) { m_catalogNameHasBeenSet = true; m_catalogName.assign(value); }
66 
70  inline DataCatalogSummary& WithCatalogName(const Aws::String& value) { SetCatalogName(value); return *this;}
71 
75  inline DataCatalogSummary& WithCatalogName(Aws::String&& value) { SetCatalogName(std::move(value)); return *this;}
76 
80  inline DataCatalogSummary& WithCatalogName(const char* value) { SetCatalogName(value); return *this;}
81 
82 
86  inline const DataCatalogType& GetType() const{ return m_type; }
87 
91  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
92 
96  inline void SetType(const DataCatalogType& value) { m_typeHasBeenSet = true; m_type = value; }
97 
101  inline void SetType(DataCatalogType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
102 
106  inline DataCatalogSummary& WithType(const DataCatalogType& value) { SetType(value); return *this;}
107 
111  inline DataCatalogSummary& WithType(DataCatalogType&& value) { SetType(std::move(value)); return *this;}
112 
113  private:
114 
115  Aws::String m_catalogName;
116  bool m_catalogNameHasBeenSet;
117 
118  DataCatalogType m_type;
119  bool m_typeHasBeenSet;
120  };
121 
122 } // namespace Model
123 } // namespace Athena
124 } // namespace Aws
Aws::Athena::Model::DataCatalogSummary::WithCatalogName
DataCatalogSummary & WithCatalogName(const char *value)
Definition: DataCatalogSummary.h:80
Aws::Athena::Model::DataCatalogSummary::DataCatalogSummary
DataCatalogSummary()
Aws::Athena::Model::DataCatalogSummary::CatalogNameHasBeenSet
bool CatalogNameHasBeenSet() const
Definition: DataCatalogSummary.h:50
Aws::Athena::Model::DataCatalogSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
DataCatalogType.h
Aws::Athena::Model::DataCatalogSummary::SetType
void SetType(const DataCatalogType &value)
Definition: DataCatalogSummary.h:96
Aws::Athena::Model::DataCatalogSummary::GetType
const DataCatalogType & GetType() const
Definition: DataCatalogSummary.h:86
Aws::Athena::Model::DataCatalogSummary::SetCatalogName
void SetCatalogName(const Aws::String &value)
Definition: DataCatalogSummary.h:55
Aws::Athena::Model::DataCatalogSummary::WithType
DataCatalogSummary & WithType(DataCatalogType &&value)
Definition: DataCatalogSummary.h:111
Aws::Athena::Model::DataCatalogSummary::GetCatalogName
const Aws::String & GetCatalogName() const
Definition: DataCatalogSummary.h:45
Aws::Athena::Model::DataCatalogSummary::WithCatalogName
DataCatalogSummary & WithCatalogName(const Aws::String &value)
Definition: DataCatalogSummary.h:70
Aws::Athena::Model::DataCatalogSummary::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: DataCatalogSummary.h:91
Aws::Athena::Model::DataCatalogSummary::WithCatalogName
DataCatalogSummary & WithCatalogName(Aws::String &&value)
Definition: DataCatalogSummary.h:75
Aws::Athena::Model::DataCatalogSummary::WithType
DataCatalogSummary & WithType(const DataCatalogType &value)
Definition: DataCatalogSummary.h:106
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Athena_EXPORTS.h
Aws::Athena::Model::DataCatalogSummary::SetCatalogName
void SetCatalogName(Aws::String &&value)
Definition: DataCatalogSummary.h:60
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Athena::Model::DataCatalogSummary::DataCatalogSummary
DataCatalogSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Athena::Model::DataCatalogSummary
Definition: DataCatalogSummary.h:34
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::DataCatalogSummary::operator=
DataCatalogSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Athena::Model::DataCatalogSummary::SetType
void SetType(DataCatalogType &&value)
Definition: DataCatalogSummary.h:101
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Athena::Model::DataCatalogSummary::SetCatalogName
void SetCatalogName(const char *value)
Definition: DataCatalogSummary.h:65
Aws::Athena::Model::DataCatalogType
DataCatalogType
Definition: DataCatalogType.h:17