/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace AuditManager { namespace Model { /** *

Short for uniform resource locator. A URL is used as a unique identifier to * locate a resource on the internet.

See Also:

AWS * API Reference

*/ class URL { public: AWS_AUDITMANAGER_API URL(); AWS_AUDITMANAGER_API URL(Aws::Utils::Json::JsonView jsonValue); AWS_AUDITMANAGER_API URL& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name or word that's used as a hyperlink to the URL.

*/ inline const Aws::String& GetHyperlinkName() const{ return m_hyperlinkName; } /** *

The name or word that's used as a hyperlink to the URL.

*/ inline bool HyperlinkNameHasBeenSet() const { return m_hyperlinkNameHasBeenSet; } /** *

The name or word that's used as a hyperlink to the URL.

*/ inline void SetHyperlinkName(const Aws::String& value) { m_hyperlinkNameHasBeenSet = true; m_hyperlinkName = value; } /** *

The name or word that's used as a hyperlink to the URL.

*/ inline void SetHyperlinkName(Aws::String&& value) { m_hyperlinkNameHasBeenSet = true; m_hyperlinkName = std::move(value); } /** *

The name or word that's used as a hyperlink to the URL.

*/ inline void SetHyperlinkName(const char* value) { m_hyperlinkNameHasBeenSet = true; m_hyperlinkName.assign(value); } /** *

The name or word that's used as a hyperlink to the URL.

*/ inline URL& WithHyperlinkName(const Aws::String& value) { SetHyperlinkName(value); return *this;} /** *

The name or word that's used as a hyperlink to the URL.

*/ inline URL& WithHyperlinkName(Aws::String&& value) { SetHyperlinkName(std::move(value)); return *this;} /** *

The name or word that's used as a hyperlink to the URL.

*/ inline URL& WithHyperlinkName(const char* value) { SetHyperlinkName(value); return *this;} /** *

The unique identifier for the internet resource.

*/ inline const Aws::String& GetLink() const{ return m_link; } /** *

The unique identifier for the internet resource.

*/ inline bool LinkHasBeenSet() const { return m_linkHasBeenSet; } /** *

The unique identifier for the internet resource.

*/ inline void SetLink(const Aws::String& value) { m_linkHasBeenSet = true; m_link = value; } /** *

The unique identifier for the internet resource.

*/ inline void SetLink(Aws::String&& value) { m_linkHasBeenSet = true; m_link = std::move(value); } /** *

The unique identifier for the internet resource.

*/ inline void SetLink(const char* value) { m_linkHasBeenSet = true; m_link.assign(value); } /** *

The unique identifier for the internet resource.

*/ inline URL& WithLink(const Aws::String& value) { SetLink(value); return *this;} /** *

The unique identifier for the internet resource.

*/ inline URL& WithLink(Aws::String&& value) { SetLink(std::move(value)); return *this;} /** *

The unique identifier for the internet resource.

*/ inline URL& WithLink(const char* value) { SetLink(value); return *this;} private: Aws::String m_hyperlinkName; bool m_hyperlinkNameHasBeenSet = false; Aws::String m_link; bool m_linkHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws