/** * 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 Json { class JsonValue; } // namespace Json } // namespace Utils namespace CloudWatchEvidently { namespace Model { class GetSegmentResult { public: AWS_CLOUDWATCHEVIDENTLY_API GetSegmentResult(); AWS_CLOUDWATCHEVIDENTLY_API GetSegmentResult(const Aws::AmazonWebServiceResult& result); AWS_CLOUDWATCHEVIDENTLY_API GetSegmentResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A structure that contains the complete information about the segment.

*/ inline const Segment& GetSegment() const{ return m_segment; } /** *

A structure that contains the complete information about the segment.

*/ inline void SetSegment(const Segment& value) { m_segment = value; } /** *

A structure that contains the complete information about the segment.

*/ inline void SetSegment(Segment&& value) { m_segment = std::move(value); } /** *

A structure that contains the complete information about the segment.

*/ inline GetSegmentResult& WithSegment(const Segment& value) { SetSegment(value); return *this;} /** *

A structure that contains the complete information about the segment.

*/ inline GetSegmentResult& WithSegment(Segment&& value) { SetSegment(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 GetSegmentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetSegmentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetSegmentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Segment m_segment; Aws::String m_requestId; }; } // namespace Model } // namespace CloudWatchEvidently } // namespace Aws