AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ResourceRecord.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
29 public:
30 AWS_ROUTE53_API ResourceRecord() = default;
31 AWS_ROUTE53_API ResourceRecord(const Aws::Utils::Xml::XmlNode& xmlNode);
32 AWS_ROUTE53_API ResourceRecord& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
33
34 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
35
37
48 inline const Aws::String& GetValue() const { return m_value; }
49 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
50 template <typename ValueT = Aws::String>
51 void SetValue(ValueT&& value) {
52 m_valueHasBeenSet = true;
53 m_value = std::forward<ValueT>(value);
54 }
55 template <typename ValueT = Aws::String>
56 ResourceRecord& WithValue(ValueT&& value) {
57 SetValue(std::forward<ValueT>(value));
58 return *this;
59 }
61 private:
62 Aws::String m_value;
63 bool m_valueHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace Route53
68} // namespace Aws
ResourceRecord & WithValue(ValueT &&value)
AWS_ROUTE53_API ResourceRecord & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ROUTE53_API ResourceRecord(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetValue() const
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_ROUTE53_API ResourceRecord()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String