AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Integration.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appsync/model/LambdaConfig.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 Integration() = default;
37 AWS_APPSYNC_API Integration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDataSourceName() const { return m_dataSourceName; }
47 inline bool DataSourceNameHasBeenSet() const { return m_dataSourceNameHasBeenSet; }
48 template<typename DataSourceNameT = Aws::String>
49 void SetDataSourceName(DataSourceNameT&& value) { m_dataSourceNameHasBeenSet = true; m_dataSourceName = std::forward<DataSourceNameT>(value); }
50 template<typename DataSourceNameT = Aws::String>
51 Integration& WithDataSourceName(DataSourceNameT&& value) { SetDataSourceName(std::forward<DataSourceNameT>(value)); return *this;}
53
55
58 inline const LambdaConfig& GetLambdaConfig() const { return m_lambdaConfig; }
59 inline bool LambdaConfigHasBeenSet() const { return m_lambdaConfigHasBeenSet; }
60 template<typename LambdaConfigT = LambdaConfig>
61 void SetLambdaConfig(LambdaConfigT&& value) { m_lambdaConfigHasBeenSet = true; m_lambdaConfig = std::forward<LambdaConfigT>(value); }
62 template<typename LambdaConfigT = LambdaConfig>
63 Integration& WithLambdaConfig(LambdaConfigT&& value) { SetLambdaConfig(std::forward<LambdaConfigT>(value)); return *this;}
65 private:
66
67 Aws::String m_dataSourceName;
68 bool m_dataSourceNameHasBeenSet = false;
69
70 LambdaConfig m_lambdaConfig;
71 bool m_lambdaConfigHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace AppSync
76} // namespace Aws
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDataSourceName() const
Definition Integration.h:46
AWS_APPSYNC_API Integration()=default
const LambdaConfig & GetLambdaConfig() const
Definition Integration.h:58
AWS_APPSYNC_API Integration & operator=(Aws::Utils::Json::JsonView jsonValue)
Integration & WithLambdaConfig(LambdaConfigT &&value)
Definition Integration.h:63
AWS_APPSYNC_API Integration(Aws::Utils::Json::JsonView jsonValue)
void SetLambdaConfig(LambdaConfigT &&value)
Definition Integration.h:61
void SetDataSourceName(DataSourceNameT &&value)
Definition Integration.h:49
Integration & WithDataSourceName(DataSourceNameT &&value)
Definition Integration.h:51
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue