/** * 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 MediaPackageVod { namespace Model { /** * Configure egress access logging.

See Also:

AWS * API Reference

*/ class EgressAccessLogs { public: AWS_MEDIAPACKAGEVOD_API EgressAccessLogs(); AWS_MEDIAPACKAGEVOD_API EgressAccessLogs(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIAPACKAGEVOD_API EgressAccessLogs& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIAPACKAGEVOD_API Aws::Utils::Json::JsonValue Jsonize() const; /** * Customize the log group name. */ inline const Aws::String& GetLogGroupName() const{ return m_logGroupName; } /** * Customize the log group name. */ inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; } /** * Customize the log group name. */ inline void SetLogGroupName(const Aws::String& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = value; } /** * Customize the log group name. */ inline void SetLogGroupName(Aws::String&& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = std::move(value); } /** * Customize the log group name. */ inline void SetLogGroupName(const char* value) { m_logGroupNameHasBeenSet = true; m_logGroupName.assign(value); } /** * Customize the log group name. */ inline EgressAccessLogs& WithLogGroupName(const Aws::String& value) { SetLogGroupName(value); return *this;} /** * Customize the log group name. */ inline EgressAccessLogs& WithLogGroupName(Aws::String&& value) { SetLogGroupName(std::move(value)); return *this;} /** * Customize the log group name. */ inline EgressAccessLogs& WithLogGroupName(const char* value) { SetLogGroupName(value); return *this;} private: Aws::String m_logGroupName; bool m_logGroupNameHasBeenSet = false; }; } // namespace Model } // namespace MediaPackageVod } // namespace Aws