AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CidrRoutingConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53/Route53_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Xml {
15class XmlNode;
16} // namespace Xml
17} // namespace Utils
18namespace Route53 {
19namespace Model {
20
31 public:
32 AWS_ROUTE53_API CidrRoutingConfig() = default;
33 AWS_ROUTE53_API CidrRoutingConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
34 AWS_ROUTE53_API CidrRoutingConfig& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
35
36 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
37
39
42 inline const Aws::String& GetCollectionId() const { return m_collectionId; }
43 inline bool CollectionIdHasBeenSet() const { return m_collectionIdHasBeenSet; }
44 template <typename CollectionIdT = Aws::String>
45 void SetCollectionId(CollectionIdT&& value) {
46 m_collectionIdHasBeenSet = true;
47 m_collectionId = std::forward<CollectionIdT>(value);
48 }
49 template <typename CollectionIdT = Aws::String>
50 CidrRoutingConfig& WithCollectionId(CollectionIdT&& value) {
51 SetCollectionId(std::forward<CollectionIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetLocationName() const { return m_locationName; }
61 inline bool LocationNameHasBeenSet() const { return m_locationNameHasBeenSet; }
62 template <typename LocationNameT = Aws::String>
63 void SetLocationName(LocationNameT&& value) {
64 m_locationNameHasBeenSet = true;
65 m_locationName = std::forward<LocationNameT>(value);
66 }
67 template <typename LocationNameT = Aws::String>
68 CidrRoutingConfig& WithLocationName(LocationNameT&& value) {
69 SetLocationName(std::forward<LocationNameT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_collectionId;
75
76 Aws::String m_locationName;
77 bool m_collectionIdHasBeenSet = false;
78 bool m_locationNameHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace Route53
83} // namespace Aws
void SetLocationName(LocationNameT &&value)
AWS_ROUTE53_API CidrRoutingConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
CidrRoutingConfig & WithLocationName(LocationNameT &&value)
const Aws::String & GetLocationName() const
const Aws::String & GetCollectionId() const
AWS_ROUTE53_API CidrRoutingConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ROUTE53_API CidrRoutingConfig()=default
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
CidrRoutingConfig & WithCollectionId(CollectionIdT &&value)
void SetCollectionId(CollectionIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String