/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Settings for logging access in a stage.See Also:
AWS
* API Reference
The ARN of the CloudWatch Logs log group to receive access logs.
*/ inline const Aws::String& GetDestinationArn() const{ return m_destinationArn; } /** *The ARN of the CloudWatch Logs log group to receive access logs.
*/ inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; } /** *The ARN of the CloudWatch Logs log group to receive access logs.
*/ inline void SetDestinationArn(const Aws::String& value) { m_destinationArnHasBeenSet = true; m_destinationArn = value; } /** *The ARN of the CloudWatch Logs log group to receive access logs.
*/ inline void SetDestinationArn(Aws::String&& value) { m_destinationArnHasBeenSet = true; m_destinationArn = std::move(value); } /** *The ARN of the CloudWatch Logs log group to receive access logs.
*/ inline void SetDestinationArn(const char* value) { m_destinationArnHasBeenSet = true; m_destinationArn.assign(value); } /** *The ARN of the CloudWatch Logs log group to receive access logs.
*/ inline AccessLogSettings& WithDestinationArn(const Aws::String& value) { SetDestinationArn(value); return *this;} /** *The ARN of the CloudWatch Logs log group to receive access logs.
*/ inline AccessLogSettings& WithDestinationArn(Aws::String&& value) { SetDestinationArn(std::move(value)); return *this;} /** *The ARN of the CloudWatch Logs log group to receive access logs.
*/ inline AccessLogSettings& WithDestinationArn(const char* value) { SetDestinationArn(value); return *this;} /** *A single line format of the access logs of data, as specified by selected * $context variables. The format must include at least $context.requestId.
*/ inline const Aws::String& GetFormat() const{ return m_format; } /** *A single line format of the access logs of data, as specified by selected * $context variables. The format must include at least $context.requestId.
*/ inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; } /** *A single line format of the access logs of data, as specified by selected * $context variables. The format must include at least $context.requestId.
*/ inline void SetFormat(const Aws::String& value) { m_formatHasBeenSet = true; m_format = value; } /** *A single line format of the access logs of data, as specified by selected * $context variables. The format must include at least $context.requestId.
*/ inline void SetFormat(Aws::String&& value) { m_formatHasBeenSet = true; m_format = std::move(value); } /** *A single line format of the access logs of data, as specified by selected * $context variables. The format must include at least $context.requestId.
*/ inline void SetFormat(const char* value) { m_formatHasBeenSet = true; m_format.assign(value); } /** *A single line format of the access logs of data, as specified by selected * $context variables. The format must include at least $context.requestId.
*/ inline AccessLogSettings& WithFormat(const Aws::String& value) { SetFormat(value); return *this;} /** *A single line format of the access logs of data, as specified by selected * $context variables. The format must include at least $context.requestId.
*/ inline AccessLogSettings& WithFormat(Aws::String&& value) { SetFormat(std::move(value)); return *this;} /** *A single line format of the access logs of data, as specified by selected * $context variables. The format must include at least $context.requestId.
*/ inline AccessLogSettings& WithFormat(const char* value) { SetFormat(value); return *this;} private: Aws::String m_destinationArn; bool m_destinationArnHasBeenSet = false; Aws::String m_format; bool m_formatHasBeenSet = false; }; } // namespace Model } // namespace ApiGatewayV2 } // namespace Aws