AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CidrBlockSummary.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace Route53
21{
22namespace Model
23{
24
31 {
32 public:
33 AWS_ROUTE53_API CidrBlockSummary();
34 AWS_ROUTE53_API CidrBlockSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
35 AWS_ROUTE53_API CidrBlockSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
36
37 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
38
39
41
44 inline const Aws::String& GetCidrBlock() const{ return m_cidrBlock; }
45 inline bool CidrBlockHasBeenSet() const { return m_cidrBlockHasBeenSet; }
46 inline void SetCidrBlock(const Aws::String& value) { m_cidrBlockHasBeenSet = true; m_cidrBlock = value; }
47 inline void SetCidrBlock(Aws::String&& value) { m_cidrBlockHasBeenSet = true; m_cidrBlock = std::move(value); }
48 inline void SetCidrBlock(const char* value) { m_cidrBlockHasBeenSet = true; m_cidrBlock.assign(value); }
49 inline CidrBlockSummary& WithCidrBlock(const Aws::String& value) { SetCidrBlock(value); return *this;}
50 inline CidrBlockSummary& WithCidrBlock(Aws::String&& value) { SetCidrBlock(std::move(value)); return *this;}
51 inline CidrBlockSummary& WithCidrBlock(const char* value) { SetCidrBlock(value); return *this;}
53
55
58 inline const Aws::String& GetLocationName() const{ return m_locationName; }
59 inline bool LocationNameHasBeenSet() const { return m_locationNameHasBeenSet; }
60 inline void SetLocationName(const Aws::String& value) { m_locationNameHasBeenSet = true; m_locationName = value; }
61 inline void SetLocationName(Aws::String&& value) { m_locationNameHasBeenSet = true; m_locationName = std::move(value); }
62 inline void SetLocationName(const char* value) { m_locationNameHasBeenSet = true; m_locationName.assign(value); }
63 inline CidrBlockSummary& WithLocationName(const Aws::String& value) { SetLocationName(value); return *this;}
64 inline CidrBlockSummary& WithLocationName(Aws::String&& value) { SetLocationName(std::move(value)); return *this;}
65 inline CidrBlockSummary& WithLocationName(const char* value) { SetLocationName(value); return *this;}
67 private:
68
69 Aws::String m_cidrBlock;
70 bool m_cidrBlockHasBeenSet = false;
71
72 Aws::String m_locationName;
73 bool m_locationNameHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Route53
78} // namespace Aws
AWS_ROUTE53_API CidrBlockSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetLocationName(Aws::String &&value)
CidrBlockSummary & WithCidrBlock(Aws::String &&value)
CidrBlockSummary & WithCidrBlock(const Aws::String &value)
void SetCidrBlock(Aws::String &&value)
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetLocationName(const Aws::String &value)
CidrBlockSummary & WithLocationName(const Aws::String &value)
CidrBlockSummary & WithCidrBlock(const char *value)
AWS_ROUTE53_API CidrBlockSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetLocationName() const
CidrBlockSummary & WithLocationName(const char *value)
CidrBlockSummary & WithLocationName(Aws::String &&value)
const Aws::String & GetCidrBlock() const
void SetCidrBlock(const Aws::String &value)
void SetLocationName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String