AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
EndpointConfig.h
1
6#pragma once
7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/iot-managed-integrations/model/LambdaConfig.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTManagedIntegrations
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOTMANAGEDINTEGRATIONS_API EndpointConfig() = default;
36 AWS_IOTMANAGEDINTEGRATIONS_API EndpointConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTMANAGEDINTEGRATIONS_API EndpointConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const LambdaConfig& GetLambda() const { return m_lambda; }
47 inline bool LambdaHasBeenSet() const { return m_lambdaHasBeenSet; }
48 template<typename LambdaT = LambdaConfig>
49 void SetLambda(LambdaT&& value) { m_lambdaHasBeenSet = true; m_lambda = std::forward<LambdaT>(value); }
50 template<typename LambdaT = LambdaConfig>
51 EndpointConfig& WithLambda(LambdaT&& value) { SetLambda(std::forward<LambdaT>(value)); return *this;}
53 private:
54
55 LambdaConfig m_lambda;
56 bool m_lambdaHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace IoTManagedIntegrations
61} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTMANAGEDINTEGRATIONS_API EndpointConfig(Aws::Utils::Json::JsonView jsonValue)
EndpointConfig & WithLambda(LambdaT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API EndpointConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API EndpointConfig()=default
Aws::Utils::Json::JsonValue JsonValue