AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SelfManagedEventSource.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/lambda/model/EndPointType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Lambda
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_LAMBDA_API SelfManagedEventSource() = default;
41 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::Map<EndPointType, Aws::Vector<Aws::String>>& GetEndpoints() const { return m_endpoints; }
51 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
52 template<typename EndpointsT = Aws::Map<EndPointType, Aws::Vector<Aws::String>>>
53 void SetEndpoints(EndpointsT&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::forward<EndpointsT>(value); }
54 template<typename EndpointsT = Aws::Map<EndPointType, Aws::Vector<Aws::String>>>
55 SelfManagedEventSource& WithEndpoints(EndpointsT&& value) { SetEndpoints(std::forward<EndpointsT>(value)); return *this;}
57 m_endpointsHasBeenSet = true; m_endpoints.emplace(key, value); return *this;
58 }
60 private:
61
63 bool m_endpointsHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace Lambda
68} // namespace Aws
SelfManagedEventSource & AddEndpoints(EndPointType key, Aws::Vector< Aws::String > value)
AWS_LAMBDA_API SelfManagedEventSource & operator=(Aws::Utils::Json::JsonView jsonValue)
SelfManagedEventSource & WithEndpoints(EndpointsT &&value)
AWS_LAMBDA_API SelfManagedEventSource(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< EndPointType, Aws::Vector< Aws::String > > & GetEndpoints() const
AWS_LAMBDA_API SelfManagedEventSource()=default
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue