AWS SDK for C++  1.9.108
AWS SDK for C++
EndpointConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace APIGateway
24 {
25 namespace Model
26 {
27 
36  {
37  public:
42 
43 
51  inline const Aws::Vector<EndpointType>& GetTypes() const{ return m_types; }
52 
60  inline bool TypesHasBeenSet() const { return m_typesHasBeenSet; }
61 
69  inline void SetTypes(const Aws::Vector<EndpointType>& value) { m_typesHasBeenSet = true; m_types = value; }
70 
78  inline void SetTypes(Aws::Vector<EndpointType>&& value) { m_typesHasBeenSet = true; m_types = std::move(value); }
79 
87  inline EndpointConfiguration& WithTypes(const Aws::Vector<EndpointType>& value) { SetTypes(value); return *this;}
88 
96  inline EndpointConfiguration& WithTypes(Aws::Vector<EndpointType>&& value) { SetTypes(std::move(value)); return *this;}
97 
105  inline EndpointConfiguration& AddTypes(const EndpointType& value) { m_typesHasBeenSet = true; m_types.push_back(value); return *this; }
106 
114  inline EndpointConfiguration& AddTypes(EndpointType&& value) { m_typesHasBeenSet = true; m_types.push_back(std::move(value)); return *this; }
115 
116 
122  inline const Aws::Vector<Aws::String>& GetVpcEndpointIds() const{ return m_vpcEndpointIds; }
123 
129  inline bool VpcEndpointIdsHasBeenSet() const { return m_vpcEndpointIdsHasBeenSet; }
130 
136  inline void SetVpcEndpointIds(const Aws::Vector<Aws::String>& value) { m_vpcEndpointIdsHasBeenSet = true; m_vpcEndpointIds = value; }
137 
143  inline void SetVpcEndpointIds(Aws::Vector<Aws::String>&& value) { m_vpcEndpointIdsHasBeenSet = true; m_vpcEndpointIds = std::move(value); }
144 
150  inline EndpointConfiguration& WithVpcEndpointIds(const Aws::Vector<Aws::String>& value) { SetVpcEndpointIds(value); return *this;}
151 
157  inline EndpointConfiguration& WithVpcEndpointIds(Aws::Vector<Aws::String>&& value) { SetVpcEndpointIds(std::move(value)); return *this;}
158 
164  inline EndpointConfiguration& AddVpcEndpointIds(const Aws::String& value) { m_vpcEndpointIdsHasBeenSet = true; m_vpcEndpointIds.push_back(value); return *this; }
165 
171  inline EndpointConfiguration& AddVpcEndpointIds(Aws::String&& value) { m_vpcEndpointIdsHasBeenSet = true; m_vpcEndpointIds.push_back(std::move(value)); return *this; }
172 
178  inline EndpointConfiguration& AddVpcEndpointIds(const char* value) { m_vpcEndpointIdsHasBeenSet = true; m_vpcEndpointIds.push_back(value); return *this; }
179 
180  private:
181 
183  bool m_typesHasBeenSet;
184 
185  Aws::Vector<Aws::String> m_vpcEndpointIds;
186  bool m_vpcEndpointIdsHasBeenSet;
187  };
188 
189 } // namespace Model
190 } // namespace APIGateway
191 } // namespace Aws
Aws::APIGateway::Model::EndpointConfiguration::GetTypes
const Aws::Vector< EndpointType > & GetTypes() const
Definition: EndpointConfiguration.h:51
Aws::APIGateway::Model::EndpointConfiguration::SetTypes
void SetTypes(const Aws::Vector< EndpointType > &value)
Definition: EndpointConfiguration.h:69
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::EndpointConfiguration::WithTypes
EndpointConfiguration & WithTypes(const Aws::Vector< EndpointType > &value)
Definition: EndpointConfiguration.h:87
Aws::APIGateway::Model::EndpointConfiguration
Definition: EndpointConfiguration.h:36
Aws::APIGateway::Model::EndpointConfiguration::WithTypes
EndpointConfiguration & WithTypes(Aws::Vector< EndpointType > &&value)
Definition: EndpointConfiguration.h:96
Aws::APIGateway::Model::EndpointConfiguration::EndpointConfiguration
EndpointConfiguration()
Aws::APIGateway::Model::EndpointConfiguration::SetVpcEndpointIds
void SetVpcEndpointIds(const Aws::Vector< Aws::String > &value)
Definition: EndpointConfiguration.h:136
APIGateway_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::APIGateway::Model::EndpointConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::APIGateway::Model::EndpointConfiguration::VpcEndpointIdsHasBeenSet
bool VpcEndpointIdsHasBeenSet() const
Definition: EndpointConfiguration.h:129
AWSVector.h
Aws::APIGateway::Model::EndpointConfiguration::AddVpcEndpointIds
EndpointConfiguration & AddVpcEndpointIds(const char *value)
Definition: EndpointConfiguration.h:178
Aws::APIGateway::Model::EndpointType
EndpointType
Definition: EndpointType.h:17
Aws::APIGateway::Model::EndpointConfiguration::AddVpcEndpointIds
EndpointConfiguration & AddVpcEndpointIds(Aws::String &&value)
Definition: EndpointConfiguration.h:171
Aws::APIGateway::Model::EndpointConfiguration::AddTypes
EndpointConfiguration & AddTypes(EndpointType &&value)
Definition: EndpointConfiguration.h:114
Aws::APIGateway::Model::EndpointConfiguration::operator=
EndpointConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::APIGateway::Model::EndpointConfiguration::SetTypes
void SetTypes(Aws::Vector< EndpointType > &&value)
Definition: EndpointConfiguration.h:78
Aws::APIGateway::Model::EndpointConfiguration::SetVpcEndpointIds
void SetVpcEndpointIds(Aws::Vector< Aws::String > &&value)
Definition: EndpointConfiguration.h:143
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::APIGateway::Model::EndpointConfiguration::WithVpcEndpointIds
EndpointConfiguration & WithVpcEndpointIds(const Aws::Vector< Aws::String > &value)
Definition: EndpointConfiguration.h:150
EndpointType.h
Aws::APIGateway::Model::EndpointConfiguration::AddVpcEndpointIds
EndpointConfiguration & AddVpcEndpointIds(const Aws::String &value)
Definition: EndpointConfiguration.h:164
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::EndpointConfiguration::TypesHasBeenSet
bool TypesHasBeenSet() const
Definition: EndpointConfiguration.h:60
Aws::APIGateway::Model::EndpointConfiguration::GetVpcEndpointIds
const Aws::Vector< Aws::String > & GetVpcEndpointIds() const
Definition: EndpointConfiguration.h:122
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::EndpointConfiguration::AddTypes
EndpointConfiguration & AddTypes(const EndpointType &value)
Definition: EndpointConfiguration.h:105
Aws::APIGateway::Model::EndpointConfiguration::EndpointConfiguration
EndpointConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::APIGateway::Model::EndpointConfiguration::WithVpcEndpointIds
EndpointConfiguration & WithVpcEndpointIds(Aws::Vector< Aws::String > &&value)
Definition: EndpointConfiguration.h:157