AWS SDK for C++

AWS SDK for C++ Version 1.11.929

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoTManagedIntegrations {
20namespace Model {
21
29 public:
30 AWS_IOTMANAGEDINTEGRATIONS_API EndpointConfig() = default;
31 AWS_IOTMANAGEDINTEGRATIONS_API EndpointConfig(Aws::Utils::Json::JsonView jsonValue);
32 AWS_IOTMANAGEDINTEGRATIONS_API EndpointConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const LambdaConfig& GetLambda() const { return m_lambda; }
41 inline bool LambdaHasBeenSet() const { return m_lambdaHasBeenSet; }
42 template <typename LambdaT = LambdaConfig>
43 void SetLambda(LambdaT&& value) {
44 m_lambdaHasBeenSet = true;
45 m_lambda = std::forward<LambdaT>(value);
46 }
47 template <typename LambdaT = LambdaConfig>
48 EndpointConfig& WithLambda(LambdaT&& value) {
49 SetLambda(std::forward<LambdaT>(value));
50 return *this;
51 }
53 private:
54 LambdaConfig m_lambda;
55 bool m_lambdaHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace IoTManagedIntegrations
60} // 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