AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DataSource.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace OpenSearchService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_OPENSEARCHSERVICE_API DataSource() = default;
36 AWS_OPENSEARCHSERVICE_API DataSource(Aws::Utils::Json::JsonView jsonValue);
37 AWS_OPENSEARCHSERVICE_API DataSource& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const Aws::String& GetDataSourceArn() const { return m_dataSourceArn; }
44 inline bool DataSourceArnHasBeenSet() const { return m_dataSourceArnHasBeenSet; }
45 template<typename DataSourceArnT = Aws::String>
46 void SetDataSourceArn(DataSourceArnT&& value) { m_dataSourceArnHasBeenSet = true; m_dataSourceArn = std::forward<DataSourceArnT>(value); }
47 template<typename DataSourceArnT = Aws::String>
48 DataSource& WithDataSourceArn(DataSourceArnT&& value) { SetDataSourceArn(std::forward<DataSourceArnT>(value)); return *this;}
50
52
55 inline const Aws::String& GetDataSourceDescription() const { return m_dataSourceDescription; }
56 inline bool DataSourceDescriptionHasBeenSet() const { return m_dataSourceDescriptionHasBeenSet; }
57 template<typename DataSourceDescriptionT = Aws::String>
58 void SetDataSourceDescription(DataSourceDescriptionT&& value) { m_dataSourceDescriptionHasBeenSet = true; m_dataSourceDescription = std::forward<DataSourceDescriptionT>(value); }
59 template<typename DataSourceDescriptionT = Aws::String>
60 DataSource& WithDataSourceDescription(DataSourceDescriptionT&& value) { SetDataSourceDescription(std::forward<DataSourceDescriptionT>(value)); return *this;}
62 private:
63
64 Aws::String m_dataSourceArn;
65 bool m_dataSourceArnHasBeenSet = false;
66
67 Aws::String m_dataSourceDescription;
68 bool m_dataSourceDescriptionHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace OpenSearchService
73} // namespace Aws
AWS_OPENSEARCHSERVICE_API DataSource(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API DataSource()=default
const Aws::String & GetDataSourceDescription() const
Definition DataSource.h:55
AWS_OPENSEARCHSERVICE_API DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
DataSource & WithDataSourceArn(DataSourceArnT &&value)
Definition DataSource.h:48
DataSource & WithDataSourceDescription(DataSourceDescriptionT &&value)
Definition DataSource.h:60
void SetDataSourceDescription(DataSourceDescriptionT &&value)
Definition DataSource.h:58
const Aws::String & GetDataSourceArn() const
Definition DataSource.h:43
void SetDataSourceArn(DataSourceArnT &&value)
Definition DataSource.h:46
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue