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

The URIs for function resources.

See Also:

AWS * API Reference

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

The type of the resource.

*/ inline const ResourceType& GetResourceType() const{ return m_resourceType; } /** *

The type of the resource.

*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *

The type of the resource.

*/ inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *

The type of the resource.

*/ inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *

The type of the resource.

*/ inline ResourceUri& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;} /** *

The type of the resource.

*/ inline ResourceUri& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;} /** *

The URI for accessing the resource.

*/ inline const Aws::String& GetUri() const{ return m_uri; } /** *

The URI for accessing the resource.

*/ inline bool UriHasBeenSet() const { return m_uriHasBeenSet; } /** *

The URI for accessing the resource.

*/ inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; } /** *

The URI for accessing the resource.

*/ inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); } /** *

The URI for accessing the resource.

*/ inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); } /** *

The URI for accessing the resource.

*/ inline ResourceUri& WithUri(const Aws::String& value) { SetUri(value); return *this;} /** *

The URI for accessing the resource.

*/ inline ResourceUri& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;} /** *

The URI for accessing the resource.

*/ inline ResourceUri& WithUri(const char* value) { SetUri(value); return *this;} private: ResourceType m_resourceType; bool m_resourceTypeHasBeenSet = false; Aws::String m_uri; bool m_uriHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws