AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
RelationalDatabaseDataSourceConfig.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/model/RdsHttpEndpointConfig.h>
9#include <aws/appsync/model/RelationalDatabaseSourceType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace AppSync {
21namespace Model {
22
30 public:
31 AWS_APPSYNC_API RelationalDatabaseDataSourceConfig() = default;
34 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline RelationalDatabaseSourceType GetRelationalDatabaseSourceType() const { return m_relationalDatabaseSourceType; }
43 inline bool RelationalDatabaseSourceTypeHasBeenSet() const { return m_relationalDatabaseSourceTypeHasBeenSet; }
45 m_relationalDatabaseSourceTypeHasBeenSet = true;
46 m_relationalDatabaseSourceType = value;
47 }
50 return *this;
51 }
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) {
62 m_rdsHttpEndpointConfigHasBeenSet = true;
63 m_rdsHttpEndpointConfig = std::forward<RdsHttpEndpointConfigT>(value);
64 }
65 template <typename RdsHttpEndpointConfigT = RdsHttpEndpointConfig>
67 SetRdsHttpEndpointConfig(std::forward<RdsHttpEndpointConfigT>(value));
68 return *this;
69 }
71 private:
73
74 RdsHttpEndpointConfig m_rdsHttpEndpointConfig;
75 bool m_relationalDatabaseSourceTypeHasBeenSet = false;
76 bool m_rdsHttpEndpointConfigHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace AppSync
81} // 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