AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RelationalDatabaseDataSourceConfig.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/model/RelationalDatabaseSourceType.h>
9#include <aws/appsync/model/RdsHttpEndpointConfig.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AppSync
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const RelationalDatabaseSourceType& GetRelationalDatabaseSourceType() const{ return m_relationalDatabaseSourceType; }
49 inline bool RelationalDatabaseSourceTypeHasBeenSet() const { return m_relationalDatabaseSourceTypeHasBeenSet; }
50 inline void SetRelationalDatabaseSourceType(const RelationalDatabaseSourceType& value) { m_relationalDatabaseSourceTypeHasBeenSet = true; m_relationalDatabaseSourceType = value; }
51 inline void SetRelationalDatabaseSourceType(RelationalDatabaseSourceType&& value) { m_relationalDatabaseSourceTypeHasBeenSet = true; m_relationalDatabaseSourceType = std::move(value); }
55
57
60 inline const RdsHttpEndpointConfig& GetRdsHttpEndpointConfig() const{ return m_rdsHttpEndpointConfig; }
61 inline bool RdsHttpEndpointConfigHasBeenSet() const { return m_rdsHttpEndpointConfigHasBeenSet; }
62 inline void SetRdsHttpEndpointConfig(const RdsHttpEndpointConfig& value) { m_rdsHttpEndpointConfigHasBeenSet = true; m_rdsHttpEndpointConfig = value; }
63 inline void SetRdsHttpEndpointConfig(RdsHttpEndpointConfig&& value) { m_rdsHttpEndpointConfigHasBeenSet = true; m_rdsHttpEndpointConfig = std::move(value); }
67 private:
68
69 RelationalDatabaseSourceType m_relationalDatabaseSourceType;
70 bool m_relationalDatabaseSourceTypeHasBeenSet = false;
71
72 RdsHttpEndpointConfig m_rdsHttpEndpointConfig;
73 bool m_rdsHttpEndpointConfigHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace AppSync
78} // namespace Aws
AWS_APPSYNC_API RelationalDatabaseDataSourceConfig(Aws::Utils::Json::JsonView jsonValue)
RelationalDatabaseDataSourceConfig & WithRelationalDatabaseSourceType(const RelationalDatabaseSourceType &value)
RelationalDatabaseDataSourceConfig & WithRelationalDatabaseSourceType(RelationalDatabaseSourceType &&value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
RelationalDatabaseDataSourceConfig & WithRdsHttpEndpointConfig(RdsHttpEndpointConfig &&value)
void SetRelationalDatabaseSourceType(RelationalDatabaseSourceType &&value)
AWS_APPSYNC_API RelationalDatabaseDataSourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRelationalDatabaseSourceType(const RelationalDatabaseSourceType &value)
RelationalDatabaseDataSourceConfig & WithRdsHttpEndpointConfig(const RdsHttpEndpointConfig &value)
const RelationalDatabaseSourceType & GetRelationalDatabaseSourceType() const
Aws::Utils::Json::JsonValue JsonValue