AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
LambdaDataSourceConfig.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppSync {
20namespace Model {
21
28 public:
29 AWS_APPSYNC_API LambdaDataSourceConfig() = default;
32 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetLambdaFunctionArn() const { return m_lambdaFunctionArn; }
39 inline bool LambdaFunctionArnHasBeenSet() const { return m_lambdaFunctionArnHasBeenSet; }
40 template <typename LambdaFunctionArnT = Aws::String>
41 void SetLambdaFunctionArn(LambdaFunctionArnT&& value) {
42 m_lambdaFunctionArnHasBeenSet = true;
43 m_lambdaFunctionArn = std::forward<LambdaFunctionArnT>(value);
44 }
45 template <typename LambdaFunctionArnT = Aws::String>
46 LambdaDataSourceConfig& WithLambdaFunctionArn(LambdaFunctionArnT&& value) {
47 SetLambdaFunctionArn(std::forward<LambdaFunctionArnT>(value));
48 return *this;
49 }
51 private:
52 Aws::String m_lambdaFunctionArn;
53 bool m_lambdaFunctionArnHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace AppSync
58} // namespace Aws
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPSYNC_API LambdaDataSourceConfig()=default
AWS_APPSYNC_API LambdaDataSourceConfig(Aws::Utils::Json::JsonView jsonValue)
LambdaDataSourceConfig & WithLambdaFunctionArn(LambdaFunctionArnT &&value)
AWS_APPSYNC_API LambdaDataSourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLambdaFunctionArn(LambdaFunctionArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue