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

The result structure for the generate access logs request.

See * Also:

AWS * API Reference

*/ class AWS_AMPLIFY_API GenerateAccessLogsResult { public: GenerateAccessLogsResult(); GenerateAccessLogsResult(const Aws::AmazonWebServiceResult& result); GenerateAccessLogsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The pre-signed URL for the requested access logs.

*/ inline const Aws::String& GetLogUrl() const{ return m_logUrl; } /** *

The pre-signed URL for the requested access logs.

*/ inline void SetLogUrl(const Aws::String& value) { m_logUrl = value; } /** *

The pre-signed URL for the requested access logs.

*/ inline void SetLogUrl(Aws::String&& value) { m_logUrl = std::move(value); } /** *

The pre-signed URL for the requested access logs.

*/ inline void SetLogUrl(const char* value) { m_logUrl.assign(value); } /** *

The pre-signed URL for the requested access logs.

*/ inline GenerateAccessLogsResult& WithLogUrl(const Aws::String& value) { SetLogUrl(value); return *this;} /** *

The pre-signed URL for the requested access logs.

*/ inline GenerateAccessLogsResult& WithLogUrl(Aws::String&& value) { SetLogUrl(std::move(value)); return *this;} /** *

The pre-signed URL for the requested access logs.

*/ inline GenerateAccessLogsResult& WithLogUrl(const char* value) { SetLogUrl(value); return *this;} private: Aws::String m_logUrl; }; } // namespace Model } // namespace Amplify } // namespace Aws