AWS SDK for C++  1.9.156
AWS SDK for C++
RelationalDatabaseDataSourceConfig.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace AppSync
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
47  inline const RelationalDatabaseSourceType& GetRelationalDatabaseSourceType() const{ return m_relationalDatabaseSourceType; }
48 
54  inline bool RelationalDatabaseSourceTypeHasBeenSet() const { return m_relationalDatabaseSourceTypeHasBeenSet; }
55 
61  inline void SetRelationalDatabaseSourceType(const RelationalDatabaseSourceType& value) { m_relationalDatabaseSourceTypeHasBeenSet = true; m_relationalDatabaseSourceType = value; }
62 
68  inline void SetRelationalDatabaseSourceType(RelationalDatabaseSourceType&& value) { m_relationalDatabaseSourceTypeHasBeenSet = true; m_relationalDatabaseSourceType = std::move(value); }
69 
75  inline RelationalDatabaseDataSourceConfig& WithRelationalDatabaseSourceType(const RelationalDatabaseSourceType& value) { SetRelationalDatabaseSourceType(value); return *this;}
76 
82  inline RelationalDatabaseDataSourceConfig& WithRelationalDatabaseSourceType(RelationalDatabaseSourceType&& value) { SetRelationalDatabaseSourceType(std::move(value)); return *this;}
83 
84 
88  inline const RdsHttpEndpointConfig& GetRdsHttpEndpointConfig() const{ return m_rdsHttpEndpointConfig; }
89 
93  inline bool RdsHttpEndpointConfigHasBeenSet() const { return m_rdsHttpEndpointConfigHasBeenSet; }
94 
98  inline void SetRdsHttpEndpointConfig(const RdsHttpEndpointConfig& value) { m_rdsHttpEndpointConfigHasBeenSet = true; m_rdsHttpEndpointConfig = value; }
99 
103  inline void SetRdsHttpEndpointConfig(RdsHttpEndpointConfig&& value) { m_rdsHttpEndpointConfigHasBeenSet = true; m_rdsHttpEndpointConfig = std::move(value); }
104 
108  inline RelationalDatabaseDataSourceConfig& WithRdsHttpEndpointConfig(const RdsHttpEndpointConfig& value) { SetRdsHttpEndpointConfig(value); return *this;}
109 
113  inline RelationalDatabaseDataSourceConfig& WithRdsHttpEndpointConfig(RdsHttpEndpointConfig&& value) { SetRdsHttpEndpointConfig(std::move(value)); return *this;}
114 
115  private:
116 
117  RelationalDatabaseSourceType m_relationalDatabaseSourceType;
118  bool m_relationalDatabaseSourceTypeHasBeenSet;
119 
120  RdsHttpEndpointConfig m_rdsHttpEndpointConfig;
121  bool m_rdsHttpEndpointConfigHasBeenSet;
122  };
123 
124 } // namespace Model
125 } // namespace AppSync
126 } // namespace Aws
Aws::AppSync::Model::RelationalDatabaseDataSourceConfig::RelationalDatabaseDataSourceConfig
RelationalDatabaseDataSourceConfig()
Aws::AppSync::Model::RelationalDatabaseDataSourceConfig::WithRdsHttpEndpointConfig
RelationalDatabaseDataSourceConfig & WithRdsHttpEndpointConfig(RdsHttpEndpointConfig &&value)
Definition: RelationalDatabaseDataSourceConfig.h:113
Aws::AppSync::Model::RelationalDatabaseDataSourceConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppSync::Model::RelationalDatabaseDataSourceConfig::WithRdsHttpEndpointConfig
RelationalDatabaseDataSourceConfig & WithRdsHttpEndpointConfig(const RdsHttpEndpointConfig &value)
Definition: RelationalDatabaseDataSourceConfig.h:108
Aws::AppSync::Model::RelationalDatabaseDataSourceConfig::WithRelationalDatabaseSourceType
RelationalDatabaseDataSourceConfig & WithRelationalDatabaseSourceType(RelationalDatabaseSourceType &&value)
Definition: RelationalDatabaseDataSourceConfig.h:82
AppSync_EXPORTS.h
Aws::AppSync::Model::RelationalDatabaseDataSourceConfig::GetRdsHttpEndpointConfig
const RdsHttpEndpointConfig & GetRdsHttpEndpointConfig() const
Definition: RelationalDatabaseDataSourceConfig.h:88
Aws::AppSync::Model::RelationalDatabaseDataSourceConfig::operator=
RelationalDatabaseDataSourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppSync::Model::RdsHttpEndpointConfig
Definition: RdsHttpEndpointConfig.h:32
Aws::AppSync::Model::RelationalDatabaseDataSourceConfig::SetRelationalDatabaseSourceType
void SetRelationalDatabaseSourceType(RelationalDatabaseSourceType &&value)
Definition: RelationalDatabaseDataSourceConfig.h:68
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::AppSync::Model::RelationalDatabaseDataSourceConfig::RdsHttpEndpointConfigHasBeenSet
bool RdsHttpEndpointConfigHasBeenSet() const
Definition: RelationalDatabaseDataSourceConfig.h:93
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppSync::Model::RelationalDatabaseSourceType
RelationalDatabaseSourceType
Definition: RelationalDatabaseSourceType.h:17
Aws::AppSync::Model::RelationalDatabaseDataSourceConfig::WithRelationalDatabaseSourceType
RelationalDatabaseDataSourceConfig & WithRelationalDatabaseSourceType(const RelationalDatabaseSourceType &value)
Definition: RelationalDatabaseDataSourceConfig.h:75
Aws::AppSync::Model::RelationalDatabaseDataSourceConfig::GetRelationalDatabaseSourceType
const RelationalDatabaseSourceType & GetRelationalDatabaseSourceType() const
Definition: RelationalDatabaseDataSourceConfig.h:47
Aws::AppSync::Model::RelationalDatabaseDataSourceConfig::SetRdsHttpEndpointConfig
void SetRdsHttpEndpointConfig(RdsHttpEndpointConfig &&value)
Definition: RelationalDatabaseDataSourceConfig.h:103
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::AppSync::Model::RelationalDatabaseDataSourceConfig::SetRelationalDatabaseSourceType
void SetRelationalDatabaseSourceType(const RelationalDatabaseSourceType &value)
Definition: RelationalDatabaseDataSourceConfig.h:61
Aws::AppSync::Model::RelationalDatabaseDataSourceConfig::RelationalDatabaseSourceTypeHasBeenSet
bool RelationalDatabaseSourceTypeHasBeenSet() const
Definition: RelationalDatabaseDataSourceConfig.h:54
AWS_APPSYNC_API
#define AWS_APPSYNC_API
Definition: AppSync_EXPORTS.h:28
Aws::AppSync::Model::RelationalDatabaseDataSourceConfig
Definition: RelationalDatabaseDataSourceConfig.h:34
Aws::AppSync::Model::RelationalDatabaseDataSourceConfig::RelationalDatabaseDataSourceConfig
RelationalDatabaseDataSourceConfig(Aws::Utils::Json::JsonView jsonValue)
RelationalDatabaseSourceType.h
Aws::AppSync::Model::RelationalDatabaseDataSourceConfig::SetRdsHttpEndpointConfig
void SetRdsHttpEndpointConfig(const RdsHttpEndpointConfig &value)
Definition: RelationalDatabaseDataSourceConfig.h:98
RdsHttpEndpointConfig.h