AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
URL.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AuditManager
22{
23namespace Model
24{
25
32 class URL
33 {
34 public:
35 AWS_AUDITMANAGER_API URL();
36 AWS_AUDITMANAGER_API URL(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AUDITMANAGER_API URL& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetHyperlinkName() const{ return m_hyperlinkName; }
46 inline bool HyperlinkNameHasBeenSet() const { return m_hyperlinkNameHasBeenSet; }
47 inline void SetHyperlinkName(const Aws::String& value) { m_hyperlinkNameHasBeenSet = true; m_hyperlinkName = value; }
48 inline void SetHyperlinkName(Aws::String&& value) { m_hyperlinkNameHasBeenSet = true; m_hyperlinkName = std::move(value); }
49 inline void SetHyperlinkName(const char* value) { m_hyperlinkNameHasBeenSet = true; m_hyperlinkName.assign(value); }
50 inline URL& WithHyperlinkName(const Aws::String& value) { SetHyperlinkName(value); return *this;}
51 inline URL& WithHyperlinkName(Aws::String&& value) { SetHyperlinkName(std::move(value)); return *this;}
52 inline URL& WithHyperlinkName(const char* value) { SetHyperlinkName(value); return *this;}
54
56
59 inline const Aws::String& GetLink() const{ return m_link; }
60 inline bool LinkHasBeenSet() const { return m_linkHasBeenSet; }
61 inline void SetLink(const Aws::String& value) { m_linkHasBeenSet = true; m_link = value; }
62 inline void SetLink(Aws::String&& value) { m_linkHasBeenSet = true; m_link = std::move(value); }
63 inline void SetLink(const char* value) { m_linkHasBeenSet = true; m_link.assign(value); }
64 inline URL& WithLink(const Aws::String& value) { SetLink(value); return *this;}
65 inline URL& WithLink(Aws::String&& value) { SetLink(std::move(value)); return *this;}
66 inline URL& WithLink(const char* value) { SetLink(value); return *this;}
68 private:
69
70 Aws::String m_hyperlinkName;
71 bool m_hyperlinkNameHasBeenSet = false;
72
73 Aws::String m_link;
74 bool m_linkHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace AuditManager
79} // namespace Aws
void SetLink(Aws::String &&value)
Definition URL.h:62
URL & WithHyperlinkName(Aws::String &&value)
Definition URL.h:51
const Aws::String & GetHyperlinkName() const
Definition URL.h:45
bool LinkHasBeenSet() const
Definition URL.h:60
URL & WithLink(const char *value)
Definition URL.h:66
const Aws::String & GetLink() const
Definition URL.h:59
URL & WithLink(Aws::String &&value)
Definition URL.h:65
void SetHyperlinkName(const Aws::String &value)
Definition URL.h:47
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetHyperlinkName(const char *value)
Definition URL.h:49
void SetHyperlinkName(Aws::String &&value)
Definition URL.h:48
URL & WithHyperlinkName(const char *value)
Definition URL.h:52
URL & WithLink(const Aws::String &value)
Definition URL.h:64
void SetLink(const Aws::String &value)
Definition URL.h:61
bool HyperlinkNameHasBeenSet() const
Definition URL.h:46
URL & WithHyperlinkName(const Aws::String &value)
Definition URL.h:50
AWS_AUDITMANAGER_API URL(Aws::Utils::Json::JsonView jsonValue)
void SetLink(const char *value)
Definition URL.h:63
AWS_AUDITMANAGER_API URL()
AWS_AUDITMANAGER_API URL & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue