AWS SDK for C++  1.9.129
AWS SDK for C++
SelfManagedEventSource.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace Lambda
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
49  inline const Aws::Map<EndPointType, Aws::Vector<Aws::String>>& GetEndpoints() const{ return m_endpoints; }
50 
56  inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
57 
63  inline void SetEndpoints(const Aws::Map<EndPointType, Aws::Vector<Aws::String>>& value) { m_endpointsHasBeenSet = true; m_endpoints = value; }
64 
70  inline void SetEndpoints(Aws::Map<EndPointType, Aws::Vector<Aws::String>>&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::move(value); }
71 
77  inline SelfManagedEventSource& WithEndpoints(const Aws::Map<EndPointType, Aws::Vector<Aws::String>>& value) { SetEndpoints(value); return *this;}
78 
84  inline SelfManagedEventSource& WithEndpoints(Aws::Map<EndPointType, Aws::Vector<Aws::String>>&& value) { SetEndpoints(std::move(value)); return *this;}
85 
91  inline SelfManagedEventSource& AddEndpoints(const EndPointType& key, const Aws::Vector<Aws::String>& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(key, value); return *this; }
92 
98  inline SelfManagedEventSource& AddEndpoints(EndPointType&& key, const Aws::Vector<Aws::String>& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(std::move(key), value); return *this; }
99 
105  inline SelfManagedEventSource& AddEndpoints(const EndPointType& key, Aws::Vector<Aws::String>&& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(key, std::move(value)); return *this; }
106 
112  inline SelfManagedEventSource& AddEndpoints(EndPointType&& key, Aws::Vector<Aws::String>&& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(std::move(key), std::move(value)); return *this; }
113 
114  private:
115 
117  bool m_endpointsHasBeenSet;
118  };
119 
120 } // namespace Model
121 } // namespace Lambda
122 } // namespace Aws
Aws::Lambda::Model::SelfManagedEventSource::SetEndpoints
void SetEndpoints(const Aws::Map< EndPointType, Aws::Vector< Aws::String >> &value)
Definition: SelfManagedEventSource.h:63
Aws::Lambda::Model::SelfManagedEventSource::SelfManagedEventSource
SelfManagedEventSource(Aws::Utils::Json::JsonView jsonValue)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Lambda::Model::SelfManagedEventSource::SetEndpoints
void SetEndpoints(Aws::Map< EndPointType, Aws::Vector< Aws::String >> &&value)
Definition: SelfManagedEventSource.h:70
Aws::Lambda::Model::SelfManagedEventSource::AddEndpoints
SelfManagedEventSource & AddEndpoints(EndPointType &&key, const Aws::Vector< Aws::String > &value)
Definition: SelfManagedEventSource.h:98
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::SelfManagedEventSource::WithEndpoints
SelfManagedEventSource & WithEndpoints(Aws::Map< EndPointType, Aws::Vector< Aws::String >> &&value)
Definition: SelfManagedEventSource.h:84
Aws::Lambda::Model::SelfManagedEventSource::GetEndpoints
const Aws::Map< EndPointType, Aws::Vector< Aws::String > > & GetEndpoints() const
Definition: SelfManagedEventSource.h:49
Aws::Lambda::Model::SelfManagedEventSource::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Lambda::Model::SelfManagedEventSource
Definition: SelfManagedEventSource.h:36
Aws::Lambda::Model::SelfManagedEventSource::SelfManagedEventSource
SelfManagedEventSource()
Aws::Lambda::Model::SelfManagedEventSource::WithEndpoints
SelfManagedEventSource & WithEndpoints(const Aws::Map< EndPointType, Aws::Vector< Aws::String >> &value)
Definition: SelfManagedEventSource.h:77
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::EndPointType
EndPointType
Definition: EndPointType.h:17
Aws::Lambda::Model::SelfManagedEventSource::EndpointsHasBeenSet
bool EndpointsHasBeenSet() const
Definition: SelfManagedEventSource.h:56
Aws::Lambda::Model::SelfManagedEventSource::AddEndpoints
SelfManagedEventSource & AddEndpoints(const EndPointType &key, Aws::Vector< Aws::String > &&value)
Definition: SelfManagedEventSource.h:105
Aws::Lambda::Model::SelfManagedEventSource::AddEndpoints
SelfManagedEventSource & AddEndpoints(EndPointType &&key, Aws::Vector< Aws::String > &&value)
Definition: SelfManagedEventSource.h:112
EndPointType.h
Aws::Lambda::Model::SelfManagedEventSource::AddEndpoints
SelfManagedEventSource & AddEndpoints(const EndPointType &key, const Aws::Vector< Aws::String > &value)
Definition: SelfManagedEventSource.h:91
AWSMap.h
Lambda_EXPORTS.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::Lambda::Model::SelfManagedEventSource::operator=
SelfManagedEventSource & operator=(Aws::Utils::Json::JsonView jsonValue)