AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EndpointConfiguration.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/apigateway/model/EndpointType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace APIGateway
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_APIGATEWAY_API EndpointConfiguration();
41 AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
52 inline const Aws::Vector<EndpointType>& GetTypes() const{ return m_types; }
53 inline bool TypesHasBeenSet() const { return m_typesHasBeenSet; }
54 inline void SetTypes(const Aws::Vector<EndpointType>& value) { m_typesHasBeenSet = true; m_types = value; }
55 inline void SetTypes(Aws::Vector<EndpointType>&& value) { m_typesHasBeenSet = true; m_types = std::move(value); }
56 inline EndpointConfiguration& WithTypes(const Aws::Vector<EndpointType>& value) { SetTypes(value); return *this;}
57 inline EndpointConfiguration& WithTypes(Aws::Vector<EndpointType>&& value) { SetTypes(std::move(value)); return *this;}
58 inline EndpointConfiguration& AddTypes(const EndpointType& value) { m_typesHasBeenSet = true; m_types.push_back(value); return *this; }
59 inline EndpointConfiguration& AddTypes(EndpointType&& value) { m_typesHasBeenSet = true; m_types.push_back(std::move(value)); return *this; }
61
63
67 inline const Aws::Vector<Aws::String>& GetVpcEndpointIds() const{ return m_vpcEndpointIds; }
68 inline bool VpcEndpointIdsHasBeenSet() const { return m_vpcEndpointIdsHasBeenSet; }
69 inline void SetVpcEndpointIds(const Aws::Vector<Aws::String>& value) { m_vpcEndpointIdsHasBeenSet = true; m_vpcEndpointIds = value; }
70 inline void SetVpcEndpointIds(Aws::Vector<Aws::String>&& value) { m_vpcEndpointIdsHasBeenSet = true; m_vpcEndpointIds = std::move(value); }
72 inline EndpointConfiguration& WithVpcEndpointIds(Aws::Vector<Aws::String>&& value) { SetVpcEndpointIds(std::move(value)); return *this;}
73 inline EndpointConfiguration& AddVpcEndpointIds(const Aws::String& value) { m_vpcEndpointIdsHasBeenSet = true; m_vpcEndpointIds.push_back(value); return *this; }
74 inline EndpointConfiguration& AddVpcEndpointIds(Aws::String&& value) { m_vpcEndpointIdsHasBeenSet = true; m_vpcEndpointIds.push_back(std::move(value)); return *this; }
75 inline EndpointConfiguration& AddVpcEndpointIds(const char* value) { m_vpcEndpointIdsHasBeenSet = true; m_vpcEndpointIds.push_back(value); return *this; }
77 private:
78
80 bool m_typesHasBeenSet = false;
81
82 Aws::Vector<Aws::String> m_vpcEndpointIds;
83 bool m_vpcEndpointIdsHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace APIGateway
88} // namespace Aws
AWS_APIGATEWAY_API EndpointConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
EndpointConfiguration & AddVpcEndpointIds(const Aws::String &value)
EndpointConfiguration & WithTypes(Aws::Vector< EndpointType > &&value)
const Aws::Vector< Aws::String > & GetVpcEndpointIds() const
void SetVpcEndpointIds(const Aws::Vector< Aws::String > &value)
EndpointConfiguration & WithVpcEndpointIds(const Aws::Vector< Aws::String > &value)
EndpointConfiguration & WithTypes(const Aws::Vector< EndpointType > &value)
void SetVpcEndpointIds(Aws::Vector< Aws::String > &&value)
EndpointConfiguration & AddVpcEndpointIds(Aws::String &&value)
EndpointConfiguration & AddTypes(const EndpointType &value)
void SetTypes(Aws::Vector< EndpointType > &&value)
void SetTypes(const Aws::Vector< EndpointType > &value)
AWS_APIGATEWAY_API EndpointConfiguration(Aws::Utils::Json::JsonView jsonValue)
EndpointConfiguration & AddVpcEndpointIds(const char *value)
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< EndpointType > & GetTypes() const
EndpointConfiguration & WithVpcEndpointIds(Aws::Vector< Aws::String > &&value)
EndpointConfiguration & AddTypes(EndpointType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue