AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpcDescription.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace KafkaConnect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_KAFKACONNECT_API VpcDescription();
37 AWS_KAFKACONNECT_API VpcDescription(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KAFKACONNECT_API VpcDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetSecurityGroups() const{ return m_securityGroups; }
47 inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; }
48 inline void SetSecurityGroups(const Aws::Vector<Aws::String>& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = value; }
49 inline void SetSecurityGroups(Aws::Vector<Aws::String>&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::move(value); }
50 inline VpcDescription& WithSecurityGroups(const Aws::Vector<Aws::String>& value) { SetSecurityGroups(value); return *this;}
51 inline VpcDescription& WithSecurityGroups(Aws::Vector<Aws::String>&& value) { SetSecurityGroups(std::move(value)); return *this;}
52 inline VpcDescription& AddSecurityGroups(const Aws::String& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
53 inline VpcDescription& AddSecurityGroups(Aws::String&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; }
54 inline VpcDescription& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
56
58
61 inline const Aws::Vector<Aws::String>& GetSubnets() const{ return m_subnets; }
62 inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; }
63 inline void SetSubnets(const Aws::Vector<Aws::String>& value) { m_subnetsHasBeenSet = true; m_subnets = value; }
64 inline void SetSubnets(Aws::Vector<Aws::String>&& value) { m_subnetsHasBeenSet = true; m_subnets = std::move(value); }
65 inline VpcDescription& WithSubnets(const Aws::Vector<Aws::String>& value) { SetSubnets(value); return *this;}
66 inline VpcDescription& WithSubnets(Aws::Vector<Aws::String>&& value) { SetSubnets(std::move(value)); return *this;}
67 inline VpcDescription& AddSubnets(const Aws::String& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; }
68 inline VpcDescription& AddSubnets(Aws::String&& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(std::move(value)); return *this; }
69 inline VpcDescription& AddSubnets(const char* value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; }
71 private:
72
73 Aws::Vector<Aws::String> m_securityGroups;
74 bool m_securityGroupsHasBeenSet = false;
75
77 bool m_subnetsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace KafkaConnect
82} // namespace Aws
VpcDescription & AddSecurityGroups(Aws::String &&value)
VpcDescription & WithSubnets(const Aws::Vector< Aws::String > &value)
AWS_KAFKACONNECT_API VpcDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
VpcDescription & WithSecurityGroups(const Aws::Vector< Aws::String > &value)
VpcDescription & AddSubnets(const char *value)
void SetSecurityGroups(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetSecurityGroups() const
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSubnets(const Aws::Vector< Aws::String > &value)
VpcDescription & AddSecurityGroups(const char *value)
const Aws::Vector< Aws::String > & GetSubnets() const
AWS_KAFKACONNECT_API VpcDescription(Aws::Utils::Json::JsonView jsonValue)
VpcDescription & AddSecurityGroups(const Aws::String &value)
void SetSecurityGroups(Aws::Vector< Aws::String > &&value)
VpcDescription & AddSubnets(const Aws::String &value)
VpcDescription & WithSecurityGroups(Aws::Vector< Aws::String > &&value)
VpcDescription & AddSubnets(Aws::String &&value)
VpcDescription & WithSubnets(Aws::Vector< Aws::String > &&value)
void SetSubnets(Aws::Vector< Aws::String > &&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