AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename CollectionIdT = Aws::String>
51 void SetCollectionId(CollectionIdT&& value) { m_collectionIdHasBeenSet = true; m_collectionId = std::forward<CollectionIdT>(value); }
52 template<typename CollectionIdT = Aws::String>
53 CidrRoutingConfig& WithCollectionId(CollectionIdT&& value) { SetCollectionId(std::forward<CollectionIdT>(value)); return *this;}
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) { m_locationNameHasBeenSet = true; m_locationName = std::forward<LocationNameT>(value); }
64 template<typename LocationNameT = Aws::String>
65 CidrRoutingConfig& WithLocationName(LocationNameT&& value) { SetLocationName(std::forward<LocationNameT>(value)); return *this;}
67 private:
68
69 Aws::String m_collectionId;
70 bool m_collectionIdHasBeenSet = false;
71
72 Aws::String m_locationName;
73 bool m_locationNameHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Route53
78} // 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