AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
36 AWS_APPSYNC_API RelationalDatabaseDataSourceConfig() = default;
39 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline RelationalDatabaseSourceType GetRelationalDatabaseSourceType() const { return m_relationalDatabaseSourceType; }
49 inline bool RelationalDatabaseSourceTypeHasBeenSet() const { return m_relationalDatabaseSourceTypeHasBeenSet; }
50 inline void SetRelationalDatabaseSourceType(RelationalDatabaseSourceType value) { m_relationalDatabaseSourceTypeHasBeenSet = true; m_relationalDatabaseSourceType = value; }
53
55
58 inline const RdsHttpEndpointConfig& GetRdsHttpEndpointConfig() const { return m_rdsHttpEndpointConfig; }
59 inline bool RdsHttpEndpointConfigHasBeenSet() const { return m_rdsHttpEndpointConfigHasBeenSet; }
60 template<typename RdsHttpEndpointConfigT = RdsHttpEndpointConfig>
61 void SetRdsHttpEndpointConfig(RdsHttpEndpointConfigT&& value) { m_rdsHttpEndpointConfigHasBeenSet = true; m_rdsHttpEndpointConfig = std::forward<RdsHttpEndpointConfigT>(value); }
62 template<typename RdsHttpEndpointConfigT = RdsHttpEndpointConfig>
63 RelationalDatabaseDataSourceConfig& WithRdsHttpEndpointConfig(RdsHttpEndpointConfigT&& value) { SetRdsHttpEndpointConfig(std::forward<RdsHttpEndpointConfigT>(value)); return *this;}
65 private:
66
68 bool m_relationalDatabaseSourceTypeHasBeenSet = false;
69
70 RdsHttpEndpointConfig m_rdsHttpEndpointConfig;
71 bool m_rdsHttpEndpointConfigHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace AppSync
76} // namespace Aws
RelationalDatabaseDataSourceConfig & WithRdsHttpEndpointConfig(RdsHttpEndpointConfigT &&value)
AWS_APPSYNC_API RelationalDatabaseDataSourceConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
RelationalDatabaseDataSourceConfig & WithRelationalDatabaseSourceType(RelationalDatabaseSourceType value)
AWS_APPSYNC_API RelationalDatabaseDataSourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue