/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A real-time log configuration.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of this real-time log configuration.
*/ inline const Aws::String& GetARN() const{ return m_aRN; } /** *The Amazon Resource Name (ARN) of this real-time log configuration.
*/ inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; } /** *The Amazon Resource Name (ARN) of this real-time log configuration.
*/ inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; } /** *The Amazon Resource Name (ARN) of this real-time log configuration.
*/ inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); } /** *The Amazon Resource Name (ARN) of this real-time log configuration.
*/ inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); } /** *The Amazon Resource Name (ARN) of this real-time log configuration.
*/ inline RealtimeLogConfig& WithARN(const Aws::String& value) { SetARN(value); return *this;} /** *The Amazon Resource Name (ARN) of this real-time log configuration.
*/ inline RealtimeLogConfig& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of this real-time log configuration.
*/ inline RealtimeLogConfig& WithARN(const char* value) { SetARN(value); return *this;} /** *The unique name of this real-time log configuration.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The unique name of this real-time log configuration.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The unique name of this real-time log configuration.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The unique name of this real-time log configuration.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The unique name of this real-time log configuration.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The unique name of this real-time log configuration.
*/ inline RealtimeLogConfig& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The unique name of this real-time log configuration.
*/ inline RealtimeLogConfig& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The unique name of this real-time log configuration.
*/ inline RealtimeLogConfig& WithName(const char* value) { SetName(value); return *this;} /** *The sampling rate for this real-time log configuration. The sampling rate * determines the percentage of viewer requests that are represented in the * real-time log data. The sampling rate is an integer between 1 and 100, * inclusive.
*/ inline long long GetSamplingRate() const{ return m_samplingRate; } /** *The sampling rate for this real-time log configuration. The sampling rate * determines the percentage of viewer requests that are represented in the * real-time log data. The sampling rate is an integer between 1 and 100, * inclusive.
*/ inline bool SamplingRateHasBeenSet() const { return m_samplingRateHasBeenSet; } /** *The sampling rate for this real-time log configuration. The sampling rate * determines the percentage of viewer requests that are represented in the * real-time log data. The sampling rate is an integer between 1 and 100, * inclusive.
*/ inline void SetSamplingRate(long long value) { m_samplingRateHasBeenSet = true; m_samplingRate = value; } /** *The sampling rate for this real-time log configuration. The sampling rate * determines the percentage of viewer requests that are represented in the * real-time log data. The sampling rate is an integer between 1 and 100, * inclusive.
*/ inline RealtimeLogConfig& WithSamplingRate(long long value) { SetSamplingRate(value); return *this;} /** *Contains information about the Amazon Kinesis data stream where you are * sending real-time log data for this real-time log configuration.
*/ inline const Aws::VectorContains information about the Amazon Kinesis data stream where you are * sending real-time log data for this real-time log configuration.
*/ inline bool EndPointsHasBeenSet() const { return m_endPointsHasBeenSet; } /** *Contains information about the Amazon Kinesis data stream where you are * sending real-time log data for this real-time log configuration.
*/ inline void SetEndPoints(const Aws::VectorContains information about the Amazon Kinesis data stream where you are * sending real-time log data for this real-time log configuration.
*/ inline void SetEndPoints(Aws::VectorContains information about the Amazon Kinesis data stream where you are * sending real-time log data for this real-time log configuration.
*/ inline RealtimeLogConfig& WithEndPoints(const Aws::VectorContains information about the Amazon Kinesis data stream where you are * sending real-time log data for this real-time log configuration.
*/ inline RealtimeLogConfig& WithEndPoints(Aws::VectorContains information about the Amazon Kinesis data stream where you are * sending real-time log data for this real-time log configuration.
*/ inline RealtimeLogConfig& AddEndPoints(const EndPoint& value) { m_endPointsHasBeenSet = true; m_endPoints.push_back(value); return *this; } /** *Contains information about the Amazon Kinesis data stream where you are * sending real-time log data for this real-time log configuration.
*/ inline RealtimeLogConfig& AddEndPoints(EndPoint&& value) { m_endPointsHasBeenSet = true; m_endPoints.push_back(std::move(value)); return *this; } /** *A list of fields that are included in each real-time log record. In an API * response, the fields are provided in the same order in which they are sent to * the Amazon Kinesis data stream.
For more information about fields, see Real-time * log configuration fields in the Amazon CloudFront Developer * Guide.
*/ inline const Aws::VectorA list of fields that are included in each real-time log record. In an API * response, the fields are provided in the same order in which they are sent to * the Amazon Kinesis data stream.
For more information about fields, see Real-time * log configuration fields in the Amazon CloudFront Developer * Guide.
*/ inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; } /** *A list of fields that are included in each real-time log record. In an API * response, the fields are provided in the same order in which they are sent to * the Amazon Kinesis data stream.
For more information about fields, see Real-time * log configuration fields in the Amazon CloudFront Developer * Guide.
*/ inline void SetFields(const Aws::VectorA list of fields that are included in each real-time log record. In an API * response, the fields are provided in the same order in which they are sent to * the Amazon Kinesis data stream.
For more information about fields, see Real-time * log configuration fields in the Amazon CloudFront Developer * Guide.
*/ inline void SetFields(Aws::VectorA list of fields that are included in each real-time log record. In an API * response, the fields are provided in the same order in which they are sent to * the Amazon Kinesis data stream.
For more information about fields, see Real-time * log configuration fields in the Amazon CloudFront Developer * Guide.
*/ inline RealtimeLogConfig& WithFields(const Aws::VectorA list of fields that are included in each real-time log record. In an API * response, the fields are provided in the same order in which they are sent to * the Amazon Kinesis data stream.
For more information about fields, see Real-time * log configuration fields in the Amazon CloudFront Developer * Guide.
*/ inline RealtimeLogConfig& WithFields(Aws::VectorA list of fields that are included in each real-time log record. In an API * response, the fields are provided in the same order in which they are sent to * the Amazon Kinesis data stream.
For more information about fields, see Real-time * log configuration fields in the Amazon CloudFront Developer * Guide.
*/ inline RealtimeLogConfig& AddFields(const Aws::String& value) { m_fieldsHasBeenSet = true; m_fields.push_back(value); return *this; } /** *A list of fields that are included in each real-time log record. In an API * response, the fields are provided in the same order in which they are sent to * the Amazon Kinesis data stream.
For more information about fields, see Real-time * log configuration fields in the Amazon CloudFront Developer * Guide.
*/ inline RealtimeLogConfig& AddFields(Aws::String&& value) { m_fieldsHasBeenSet = true; m_fields.push_back(std::move(value)); return *this; } /** *A list of fields that are included in each real-time log record. In an API * response, the fields are provided in the same order in which they are sent to * the Amazon Kinesis data stream.
For more information about fields, see Real-time * log configuration fields in the Amazon CloudFront Developer * Guide.
*/ inline RealtimeLogConfig& AddFields(const char* value) { m_fieldsHasBeenSet = true; m_fields.push_back(value); return *this; } private: Aws::String m_aRN; bool m_aRNHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; long long m_samplingRate; bool m_samplingRateHasBeenSet = false; Aws::Vector