AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDataSourceArn(const Aws::String& value) { m_dataSourceArnHasBeenSet = true; m_dataSourceArn = value; }
46 inline void SetDataSourceArn(Aws::String&& value) { m_dataSourceArnHasBeenSet = true; m_dataSourceArn = std::move(value); }
47 inline void SetDataSourceArn(const char* value) { m_dataSourceArnHasBeenSet = true; m_dataSourceArn.assign(value); }
48 inline DataSource& WithDataSourceArn(const Aws::String& value) { SetDataSourceArn(value); return *this;}
49 inline DataSource& WithDataSourceArn(Aws::String&& value) { SetDataSourceArn(std::move(value)); return *this;}
50 inline DataSource& WithDataSourceArn(const char* value) { SetDataSourceArn(value); return *this;}
52
54
57 inline const Aws::String& GetDataSourceDescription() const{ return m_dataSourceDescription; }
58 inline bool DataSourceDescriptionHasBeenSet() const { return m_dataSourceDescriptionHasBeenSet; }
59 inline void SetDataSourceDescription(const Aws::String& value) { m_dataSourceDescriptionHasBeenSet = true; m_dataSourceDescription = value; }
60 inline void SetDataSourceDescription(Aws::String&& value) { m_dataSourceDescriptionHasBeenSet = true; m_dataSourceDescription = std::move(value); }
61 inline void SetDataSourceDescription(const char* value) { m_dataSourceDescriptionHasBeenSet = true; m_dataSourceDescription.assign(value); }
62 inline DataSource& WithDataSourceDescription(const Aws::String& value) { SetDataSourceDescription(value); return *this;}
63 inline DataSource& WithDataSourceDescription(Aws::String&& value) { SetDataSourceDescription(std::move(value)); return *this;}
64 inline DataSource& WithDataSourceDescription(const char* value) { SetDataSourceDescription(value); return *this;}
66 private:
67
68 Aws::String m_dataSourceArn;
69 bool m_dataSourceArnHasBeenSet = false;
70
71 Aws::String m_dataSourceDescription;
72 bool m_dataSourceDescriptionHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace OpenSearchService
77} // namespace Aws
AWS_OPENSEARCHSERVICE_API DataSource(Aws::Utils::Json::JsonView jsonValue)
DataSource & WithDataSourceDescription(Aws::String &&value)
Definition DataSource.h:63
void SetDataSourceDescription(const char *value)
Definition DataSource.h:61
void SetDataSourceArn(Aws::String &&value)
Definition DataSource.h:46
const Aws::String & GetDataSourceDescription() const
Definition DataSource.h:57
AWS_OPENSEARCHSERVICE_API DataSource()
AWS_OPENSEARCHSERVICE_API DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
DataSource & WithDataSourceDescription(const char *value)
Definition DataSource.h:64
DataSource & WithDataSourceArn(const Aws::String &value)
Definition DataSource.h:48
DataSource & WithDataSourceArn(const char *value)
Definition DataSource.h:50
void SetDataSourceDescription(Aws::String &&value)
Definition DataSource.h:60
void SetDataSourceDescription(const Aws::String &value)
Definition DataSource.h:59
const Aws::String & GetDataSourceArn() const
Definition DataSource.h:43
void SetDataSourceArn(const Aws::String &value)
Definition DataSource.h:45
DataSource & WithDataSourceDescription(const Aws::String &value)
Definition DataSource.h:62
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
DataSource & WithDataSourceArn(Aws::String &&value)
Definition DataSource.h:49
void SetDataSourceArn(const char *value)
Definition DataSource.h:47
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue