AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EligibleDataSource.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_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 QBusiness
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_QBUSINESS_API EligibleDataSource();
36 AWS_QBUSINESS_API EligibleDataSource(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetIndexId() const{ return m_indexId; }
46 inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
47 inline void SetIndexId(const Aws::String& value) { m_indexIdHasBeenSet = true; m_indexId = value; }
48 inline void SetIndexId(Aws::String&& value) { m_indexIdHasBeenSet = true; m_indexId = std::move(value); }
49 inline void SetIndexId(const char* value) { m_indexIdHasBeenSet = true; m_indexId.assign(value); }
50 inline EligibleDataSource& WithIndexId(const Aws::String& value) { SetIndexId(value); return *this;}
51 inline EligibleDataSource& WithIndexId(Aws::String&& value) { SetIndexId(std::move(value)); return *this;}
52 inline EligibleDataSource& WithIndexId(const char* value) { SetIndexId(value); return *this;}
54
56
59 inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
60 inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
61 inline void SetDataSourceId(const Aws::String& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = value; }
62 inline void SetDataSourceId(Aws::String&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::move(value); }
63 inline void SetDataSourceId(const char* value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId.assign(value); }
64 inline EligibleDataSource& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
65 inline EligibleDataSource& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
66 inline EligibleDataSource& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
68 private:
69
70 Aws::String m_indexId;
71 bool m_indexIdHasBeenSet = false;
72
73 Aws::String m_dataSourceId;
74 bool m_dataSourceIdHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace QBusiness
79} // namespace Aws
const Aws::String & GetDataSourceId() const
EligibleDataSource & WithIndexId(const Aws::String &value)
void SetDataSourceId(const Aws::String &value)
EligibleDataSource & WithIndexId(Aws::String &&value)
EligibleDataSource & WithDataSourceId(Aws::String &&value)
AWS_QBUSINESS_API EligibleDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
EligibleDataSource & WithIndexId(const char *value)
EligibleDataSource & WithDataSourceId(const char *value)
void SetIndexId(const Aws::String &value)
EligibleDataSource & WithDataSourceId(const Aws::String &value)
AWS_QBUSINESS_API EligibleDataSource(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue