AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
SelfManagedEventSource.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lambda/Lambda_EXPORTS.h>
11#include <aws/lambda/model/EndPointType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Lambda {
23namespace Model {
24
32 public:
33 AWS_LAMBDA_API SelfManagedEventSource() = default;
36 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline const Aws::Map<EndPointType, Aws::Vector<Aws::String>>& GetEndpoints() const { return m_endpoints; }
45 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
46 template <typename EndpointsT = Aws::Map<EndPointType, Aws::Vector<Aws::String>>>
47 void SetEndpoints(EndpointsT&& value) {
48 m_endpointsHasBeenSet = true;
49 m_endpoints = std::forward<EndpointsT>(value);
50 }
51 template <typename EndpointsT = Aws::Map<EndPointType, Aws::Vector<Aws::String>>>
53 SetEndpoints(std::forward<EndpointsT>(value));
54 return *this;
55 }
57 m_endpointsHasBeenSet = true;
58 m_endpoints.emplace(key, value);
59 return *this;
60 }
62 private:
64 bool m_endpointsHasBeenSet = false;
65};
66
67} // namespace Model
68} // namespace Lambda
69} // 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