AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CidrRoutingConfig.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
35 {
36 public:
37 AWS_ROUTE53_API CidrRoutingConfig();
38 AWS_ROUTE53_API CidrRoutingConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_ROUTE53_API CidrRoutingConfig& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
42
43
45
48 inline const Aws::String& GetCollectionId() const{ return m_collectionId; }
49 inline bool CollectionIdHasBeenSet() const { return m_collectionIdHasBeenSet; }
50 inline void SetCollectionId(const Aws::String& value) { m_collectionIdHasBeenSet = true; m_collectionId = value; }
51 inline void SetCollectionId(Aws::String&& value) { m_collectionIdHasBeenSet = true; m_collectionId = std::move(value); }
52 inline void SetCollectionId(const char* value) { m_collectionIdHasBeenSet = true; m_collectionId.assign(value); }
53 inline CidrRoutingConfig& WithCollectionId(const Aws::String& value) { SetCollectionId(value); return *this;}
54 inline CidrRoutingConfig& WithCollectionId(Aws::String&& value) { SetCollectionId(std::move(value)); return *this;}
55 inline CidrRoutingConfig& WithCollectionId(const char* value) { SetCollectionId(value); return *this;}
57
59
62 inline const Aws::String& GetLocationName() const{ return m_locationName; }
63 inline bool LocationNameHasBeenSet() const { return m_locationNameHasBeenSet; }
64 inline void SetLocationName(const Aws::String& value) { m_locationNameHasBeenSet = true; m_locationName = value; }
65 inline void SetLocationName(Aws::String&& value) { m_locationNameHasBeenSet = true; m_locationName = std::move(value); }
66 inline void SetLocationName(const char* value) { m_locationNameHasBeenSet = true; m_locationName.assign(value); }
67 inline CidrRoutingConfig& WithLocationName(const Aws::String& value) { SetLocationName(value); return *this;}
68 inline CidrRoutingConfig& WithLocationName(Aws::String&& value) { SetLocationName(std::move(value)); return *this;}
69 inline CidrRoutingConfig& WithLocationName(const char* value) { SetLocationName(value); return *this;}
71 private:
72
73 Aws::String m_collectionId;
74 bool m_collectionIdHasBeenSet = false;
75
76 Aws::String m_locationName;
77 bool m_locationNameHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Route53
82} // namespace Aws
void SetCollectionId(const Aws::String &value)
AWS_ROUTE53_API CidrRoutingConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
CidrRoutingConfig & WithLocationName(Aws::String &&value)
const Aws::String & GetLocationName() const
CidrRoutingConfig & WithLocationName(const Aws::String &value)
const Aws::String & GetCollectionId() const
AWS_ROUTE53_API CidrRoutingConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CidrRoutingConfig & WithCollectionId(Aws::String &&value)
void SetLocationName(Aws::String &&value)
CidrRoutingConfig & WithCollectionId(const Aws::String &value)
CidrRoutingConfig & WithCollectionId(const char *value)
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetLocationName(const Aws::String &value)
void SetCollectionId(Aws::String &&value)
CidrRoutingConfig & WithLocationName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String