AWS SDK for C++  1.9.155
AWS SDK for C++
LambdaDataSourceConfig.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace AppSync
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetLambdaFunctionArn() const{ return m_lambdaFunctionArn; }
45 
49  inline bool LambdaFunctionArnHasBeenSet() const { return m_lambdaFunctionArnHasBeenSet; }
50 
54  inline void SetLambdaFunctionArn(const Aws::String& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = value; }
55 
59  inline void SetLambdaFunctionArn(Aws::String&& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = std::move(value); }
60 
64  inline void SetLambdaFunctionArn(const char* value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn.assign(value); }
65 
69  inline LambdaDataSourceConfig& WithLambdaFunctionArn(const Aws::String& value) { SetLambdaFunctionArn(value); return *this;}
70 
74  inline LambdaDataSourceConfig& WithLambdaFunctionArn(Aws::String&& value) { SetLambdaFunctionArn(std::move(value)); return *this;}
75 
79  inline LambdaDataSourceConfig& WithLambdaFunctionArn(const char* value) { SetLambdaFunctionArn(value); return *this;}
80 
81  private:
82 
83  Aws::String m_lambdaFunctionArn;
84  bool m_lambdaFunctionArnHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace AppSync
89 } // namespace Aws
Aws::AppSync::Model::LambdaDataSourceConfig::WithLambdaFunctionArn
LambdaDataSourceConfig & WithLambdaFunctionArn(const Aws::String &value)
Definition: LambdaDataSourceConfig.h:69
Aws::AppSync::Model::LambdaDataSourceConfig::WithLambdaFunctionArn
LambdaDataSourceConfig & WithLambdaFunctionArn(const char *value)
Definition: LambdaDataSourceConfig.h:79
Aws::AppSync::Model::LambdaDataSourceConfig::operator=
LambdaDataSourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppSync::Model::LambdaDataSourceConfig::SetLambdaFunctionArn
void SetLambdaFunctionArn(const Aws::String &value)
Definition: LambdaDataSourceConfig.h:54
Aws::AppSync::Model::LambdaDataSourceConfig::SetLambdaFunctionArn
void SetLambdaFunctionArn(Aws::String &&value)
Definition: LambdaDataSourceConfig.h:59
Aws::AppSync::Model::LambdaDataSourceConfig::LambdaDataSourceConfig
LambdaDataSourceConfig()
Aws::AppSync::Model::LambdaDataSourceConfig::WithLambdaFunctionArn
LambdaDataSourceConfig & WithLambdaFunctionArn(Aws::String &&value)
Definition: LambdaDataSourceConfig.h:74
AppSync_EXPORTS.h
Aws::AppSync::Model::LambdaDataSourceConfig::SetLambdaFunctionArn
void SetLambdaFunctionArn(const char *value)
Definition: LambdaDataSourceConfig.h:64
Aws::AppSync::Model::LambdaDataSourceConfig::LambdaFunctionArnHasBeenSet
bool LambdaFunctionArnHasBeenSet() const
Definition: LambdaDataSourceConfig.h:49
Aws::AppSync::Model::LambdaDataSourceConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppSync::Model::LambdaDataSourceConfig::GetLambdaFunctionArn
const Aws::String & GetLambdaFunctionArn() const
Definition: LambdaDataSourceConfig.h:44
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
AWS_APPSYNC_API
#define AWS_APPSYNC_API
Definition: AppSync_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppSync::Model::LambdaDataSourceConfig
Definition: LambdaDataSourceConfig.h:33
Aws::AppSync::Model::LambdaDataSourceConfig::LambdaDataSourceConfig
LambdaDataSourceConfig(Aws::Utils::Json::JsonView jsonValue)