AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DocLink.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace RDS
22{
23namespace Model
24{
25
32 class DocLink
33 {
34 public:
35 AWS_RDS_API DocLink();
36 AWS_RDS_API DocLink(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_RDS_API DocLink& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetText() const{ return m_text; }
48 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
49 inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; }
50 inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); }
51 inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); }
52 inline DocLink& WithText(const Aws::String& value) { SetText(value); return *this;}
53 inline DocLink& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;}
54 inline DocLink& WithText(const char* value) { SetText(value); return *this;}
56
58
61 inline const Aws::String& GetUrl() const{ return m_url; }
62 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
63 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
64 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
65 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
66 inline DocLink& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
67 inline DocLink& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
68 inline DocLink& WithUrl(const char* value) { SetUrl(value); return *this;}
70 private:
71
72 Aws::String m_text;
73 bool m_textHasBeenSet = false;
74
75 Aws::String m_url;
76 bool m_urlHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace RDS
81} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream