AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VPC.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/route53/model/VPCRegion.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace Route53
22{
23namespace Model
24{
25
35 class VPC
36 {
37 public:
38 AWS_ROUTE53_API VPC();
39 AWS_ROUTE53_API VPC(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_ROUTE53_API VPC& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
43
44
46
49 inline const VPCRegion& GetVPCRegion() const{ return m_vPCRegion; }
50 inline bool VPCRegionHasBeenSet() const { return m_vPCRegionHasBeenSet; }
51 inline void SetVPCRegion(const VPCRegion& value) { m_vPCRegionHasBeenSet = true; m_vPCRegion = value; }
52 inline void SetVPCRegion(VPCRegion&& value) { m_vPCRegionHasBeenSet = true; m_vPCRegion = std::move(value); }
53 inline VPC& WithVPCRegion(const VPCRegion& value) { SetVPCRegion(value); return *this;}
54 inline VPC& WithVPCRegion(VPCRegion&& value) { SetVPCRegion(std::move(value)); return *this;}
56
58
59 inline const Aws::String& GetVPCId() const{ return m_vPCId; }
60 inline bool VPCIdHasBeenSet() const { return m_vPCIdHasBeenSet; }
61 inline void SetVPCId(const Aws::String& value) { m_vPCIdHasBeenSet = true; m_vPCId = value; }
62 inline void SetVPCId(Aws::String&& value) { m_vPCIdHasBeenSet = true; m_vPCId = std::move(value); }
63 inline void SetVPCId(const char* value) { m_vPCIdHasBeenSet = true; m_vPCId.assign(value); }
64 inline VPC& WithVPCId(const Aws::String& value) { SetVPCId(value); return *this;}
65 inline VPC& WithVPCId(Aws::String&& value) { SetVPCId(std::move(value)); return *this;}
66 inline VPC& WithVPCId(const char* value) { SetVPCId(value); return *this;}
68 private:
69
70 VPCRegion m_vPCRegion;
71 bool m_vPCRegionHasBeenSet = false;
72
73 Aws::String m_vPCId;
74 bool m_vPCIdHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Route53
79} // namespace Aws
VPC & WithVPCId(const Aws::String &value)
Definition VPC.h:64
bool VPCIdHasBeenSet() const
Definition VPC.h:60
VPC & WithVPCRegion(VPCRegion &&value)
Definition VPC.h:54
void SetVPCId(const Aws::String &value)
Definition VPC.h:61
VPC & WithVPCRegion(const VPCRegion &value)
Definition VPC.h:53
const Aws::String & GetVPCId() const
Definition VPC.h:59
void SetVPCRegion(const VPCRegion &value)
Definition VPC.h:51
void SetVPCRegion(VPCRegion &&value)
Definition VPC.h:52
VPC & WithVPCId(Aws::String &&value)
Definition VPC.h:65
AWS_ROUTE53_API VPC()
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const VPCRegion & GetVPCRegion() const
Definition VPC.h:49
void SetVPCId(Aws::String &&value)
Definition VPC.h:62
VPC & WithVPCId(const char *value)
Definition VPC.h:66
void SetVPCId(const char *value)
Definition VPC.h:63
AWS_ROUTE53_API VPC(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ROUTE53_API VPC & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool VPCRegionHasBeenSet() const
Definition VPC.h:50
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String