/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace CloudFront { namespace Model { class CreateRealtimeLogConfig2020_05_31Result { public: AWS_CLOUDFRONT_API CreateRealtimeLogConfig2020_05_31Result(); AWS_CLOUDFRONT_API CreateRealtimeLogConfig2020_05_31Result(const Aws::AmazonWebServiceResult& result); AWS_CLOUDFRONT_API CreateRealtimeLogConfig2020_05_31Result& operator=(const Aws::AmazonWebServiceResult& result); /** *

A real-time log configuration.

*/ inline const RealtimeLogConfig& GetRealtimeLogConfig() const{ return m_realtimeLogConfig; } /** *

A real-time log configuration.

*/ inline void SetRealtimeLogConfig(const RealtimeLogConfig& value) { m_realtimeLogConfig = value; } /** *

A real-time log configuration.

*/ inline void SetRealtimeLogConfig(RealtimeLogConfig&& value) { m_realtimeLogConfig = std::move(value); } /** *

A real-time log configuration.

*/ inline CreateRealtimeLogConfig2020_05_31Result& WithRealtimeLogConfig(const RealtimeLogConfig& value) { SetRealtimeLogConfig(value); return *this;} /** *

A real-time log configuration.

*/ inline CreateRealtimeLogConfig2020_05_31Result& WithRealtimeLogConfig(RealtimeLogConfig&& value) { SetRealtimeLogConfig(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateRealtimeLogConfig2020_05_31Result& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateRealtimeLogConfig2020_05_31Result& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateRealtimeLogConfig2020_05_31Result& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: RealtimeLogConfig m_realtimeLogConfig; Aws::String m_requestId; }; } // namespace Model } // namespace CloudFront } // namespace Aws