AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PhysicalConnectionRequirements.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 Glue
23{
24namespace Model
25{
26
33 {
34 public:
39
40
42
45 inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
46 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
47 inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
48 inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
49 inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
50 inline PhysicalConnectionRequirements& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
51 inline PhysicalConnectionRequirements& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
52 inline PhysicalConnectionRequirements& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
54
56
59 inline const Aws::Vector<Aws::String>& GetSecurityGroupIdList() const{ return m_securityGroupIdList; }
60 inline bool SecurityGroupIdListHasBeenSet() const { return m_securityGroupIdListHasBeenSet; }
61 inline void SetSecurityGroupIdList(const Aws::Vector<Aws::String>& value) { m_securityGroupIdListHasBeenSet = true; m_securityGroupIdList = value; }
62 inline void SetSecurityGroupIdList(Aws::Vector<Aws::String>&& value) { m_securityGroupIdListHasBeenSet = true; m_securityGroupIdList = std::move(value); }
65 inline PhysicalConnectionRequirements& AddSecurityGroupIdList(const Aws::String& value) { m_securityGroupIdListHasBeenSet = true; m_securityGroupIdList.push_back(value); return *this; }
66 inline PhysicalConnectionRequirements& AddSecurityGroupIdList(Aws::String&& value) { m_securityGroupIdListHasBeenSet = true; m_securityGroupIdList.push_back(std::move(value)); return *this; }
67 inline PhysicalConnectionRequirements& AddSecurityGroupIdList(const char* value) { m_securityGroupIdListHasBeenSet = true; m_securityGroupIdList.push_back(value); return *this; }
69
71
74 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
75 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
76 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
77 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
78 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
80 inline PhysicalConnectionRequirements& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
81 inline PhysicalConnectionRequirements& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
83 private:
84
85 Aws::String m_subnetId;
86 bool m_subnetIdHasBeenSet = false;
87
88 Aws::Vector<Aws::String> m_securityGroupIdList;
89 bool m_securityGroupIdListHasBeenSet = false;
90
91 Aws::String m_availabilityZone;
92 bool m_availabilityZoneHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Glue
97} // namespace Aws
AWS_GLUE_API PhysicalConnectionRequirements & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSecurityGroupIdList(Aws::Vector< Aws::String > &&value)
PhysicalConnectionRequirements & WithSecurityGroupIdList(const Aws::Vector< Aws::String > &value)
PhysicalConnectionRequirements & WithSubnetId(const Aws::String &value)
PhysicalConnectionRequirements & WithAvailabilityZone(const char *value)
PhysicalConnectionRequirements & WithAvailabilityZone(Aws::String &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
PhysicalConnectionRequirements & AddSecurityGroupIdList(const char *value)
AWS_GLUE_API PhysicalConnectionRequirements(Aws::Utils::Json::JsonView jsonValue)
void SetSecurityGroupIdList(const Aws::Vector< Aws::String > &value)
PhysicalConnectionRequirements & AddSecurityGroupIdList(const Aws::String &value)
PhysicalConnectionRequirements & WithSubnetId(Aws::String &&value)
PhysicalConnectionRequirements & AddSecurityGroupIdList(Aws::String &&value)
PhysicalConnectionRequirements & WithAvailabilityZone(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSecurityGroupIdList() const
PhysicalConnectionRequirements & WithSecurityGroupIdList(Aws::Vector< Aws::String > &&value)
PhysicalConnectionRequirements & WithSubnetId(const char *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