AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEndpoints(const Aws::Map<EndPointType, Aws::Vector<Aws::String>>& value) { m_endpointsHasBeenSet = true; m_endpoints = value; }
53 inline void SetEndpoints(Aws::Map<EndPointType, Aws::Vector<Aws::String>>&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::move(value); }
56 inline SelfManagedEventSource& AddEndpoints(const EndPointType& key, const Aws::Vector<Aws::String>& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(key, value); return *this; }
57 inline SelfManagedEventSource& AddEndpoints(EndPointType&& key, const Aws::Vector<Aws::String>& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(std::move(key), value); return *this; }
58 inline SelfManagedEventSource& AddEndpoints(const EndPointType& key, Aws::Vector<Aws::String>&& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(key, std::move(value)); return *this; }
59 inline SelfManagedEventSource& AddEndpoints(EndPointType&& key, Aws::Vector<Aws::String>&& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(std::move(key), std::move(value)); return *this; }
61 private:
62
64 bool m_endpointsHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace Lambda
69} // namespace Aws
void SetEndpoints(const Aws::Map< EndPointType, Aws::Vector< Aws::String > > &value)
AWS_LAMBDA_API SelfManagedEventSource & operator=(Aws::Utils::Json::JsonView jsonValue)
SelfManagedEventSource & AddEndpoints(const EndPointType &key, Aws::Vector< Aws::String > &&value)
SelfManagedEventSource & WithEndpoints(const Aws::Map< EndPointType, Aws::Vector< Aws::String > > &value)
SelfManagedEventSource & AddEndpoints(const EndPointType &key, const Aws::Vector< Aws::String > &value)
AWS_LAMBDA_API SelfManagedEventSource(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< EndPointType, Aws::Vector< Aws::String > > & GetEndpoints() const
SelfManagedEventSource & WithEndpoints(Aws::Map< EndPointType, Aws::Vector< Aws::String > > &&value)
SelfManagedEventSource & AddEndpoints(EndPointType &&key, const Aws::Vector< Aws::String > &value)
SelfManagedEventSource & AddEndpoints(EndPointType &&key, Aws::Vector< Aws::String > &&value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEndpoints(Aws::Map< EndPointType, Aws::Vector< Aws::String > > &&value)
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