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

The insight's unique identifier.

*/ inline const Aws::String& GetInsightId() const{ return m_insightId; } /** *

The insight's unique identifier.

*/ inline void SetInsightId(const Aws::String& value) { m_insightId = value; } /** *

The insight's unique identifier.

*/ inline void SetInsightId(Aws::String&& value) { m_insightId = std::move(value); } /** *

The insight's unique identifier.

*/ inline void SetInsightId(const char* value) { m_insightId.assign(value); } /** *

The insight's unique identifier.

*/ inline GetInsightImpactGraphResult& WithInsightId(const Aws::String& value) { SetInsightId(value); return *this;} /** *

The insight's unique identifier.

*/ inline GetInsightImpactGraphResult& WithInsightId(Aws::String&& value) { SetInsightId(std::move(value)); return *this;} /** *

The insight's unique identifier.

*/ inline GetInsightImpactGraphResult& WithInsightId(const char* value) { SetInsightId(value); return *this;} /** *

The provided start time.

*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *

The provided start time.

*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; } /** *

The provided start time.

*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); } /** *

The provided start time.

*/ inline GetInsightImpactGraphResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *

The provided start time.

*/ inline GetInsightImpactGraphResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *

The provided end time.

*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *

The provided end time.

*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; } /** *

The provided end time.

*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); } /** *

The provided end time.

*/ inline GetInsightImpactGraphResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *

The provided end time.

*/ inline GetInsightImpactGraphResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *

The time, in Unix seconds, at which the service graph started.

*/ inline const Aws::Utils::DateTime& GetServiceGraphStartTime() const{ return m_serviceGraphStartTime; } /** *

The time, in Unix seconds, at which the service graph started.

*/ inline void SetServiceGraphStartTime(const Aws::Utils::DateTime& value) { m_serviceGraphStartTime = value; } /** *

The time, in Unix seconds, at which the service graph started.

*/ inline void SetServiceGraphStartTime(Aws::Utils::DateTime&& value) { m_serviceGraphStartTime = std::move(value); } /** *

The time, in Unix seconds, at which the service graph started.

*/ inline GetInsightImpactGraphResult& WithServiceGraphStartTime(const Aws::Utils::DateTime& value) { SetServiceGraphStartTime(value); return *this;} /** *

The time, in Unix seconds, at which the service graph started.

*/ inline GetInsightImpactGraphResult& WithServiceGraphStartTime(Aws::Utils::DateTime&& value) { SetServiceGraphStartTime(std::move(value)); return *this;} /** *

The time, in Unix seconds, at which the service graph ended.

*/ inline const Aws::Utils::DateTime& GetServiceGraphEndTime() const{ return m_serviceGraphEndTime; } /** *

The time, in Unix seconds, at which the service graph ended.

*/ inline void SetServiceGraphEndTime(const Aws::Utils::DateTime& value) { m_serviceGraphEndTime = value; } /** *

The time, in Unix seconds, at which the service graph ended.

*/ inline void SetServiceGraphEndTime(Aws::Utils::DateTime&& value) { m_serviceGraphEndTime = std::move(value); } /** *

The time, in Unix seconds, at which the service graph ended.

*/ inline GetInsightImpactGraphResult& WithServiceGraphEndTime(const Aws::Utils::DateTime& value) { SetServiceGraphEndTime(value); return *this;} /** *

The time, in Unix seconds, at which the service graph ended.

*/ inline GetInsightImpactGraphResult& WithServiceGraphEndTime(Aws::Utils::DateTime&& value) { SetServiceGraphEndTime(std::move(value)); return *this;} /** *

The Amazon Web Services instrumented services related to the insight.

*/ inline const Aws::Vector& GetServices() const{ return m_services; } /** *

The Amazon Web Services instrumented services related to the insight.

*/ inline void SetServices(const Aws::Vector& value) { m_services = value; } /** *

The Amazon Web Services instrumented services related to the insight.

*/ inline void SetServices(Aws::Vector&& value) { m_services = std::move(value); } /** *

The Amazon Web Services instrumented services related to the insight.

*/ inline GetInsightImpactGraphResult& WithServices(const Aws::Vector& value) { SetServices(value); return *this;} /** *

The Amazon Web Services instrumented services related to the insight.

*/ inline GetInsightImpactGraphResult& WithServices(Aws::Vector&& value) { SetServices(std::move(value)); return *this;} /** *

The Amazon Web Services instrumented services related to the insight.

*/ inline GetInsightImpactGraphResult& AddServices(const InsightImpactGraphService& value) { m_services.push_back(value); return *this; } /** *

The Amazon Web Services instrumented services related to the insight.

*/ inline GetInsightImpactGraphResult& AddServices(InsightImpactGraphService&& value) { m_services.push_back(std::move(value)); return *this; } /** *

Pagination token.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

Pagination token.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

Pagination token.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

Pagination token.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

Pagination token.

*/ inline GetInsightImpactGraphResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

Pagination token.

*/ inline GetInsightImpactGraphResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

Pagination token.

*/ inline GetInsightImpactGraphResult& WithNextToken(const char* value) { SetNextToken(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 GetInsightImpactGraphResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetInsightImpactGraphResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetInsightImpactGraphResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_insightId; Aws::Utils::DateTime m_startTime; Aws::Utils::DateTime m_endTime; Aws::Utils::DateTime m_serviceGraphStartTime; Aws::Utils::DateTime m_serviceGraphEndTime; Aws::Vector m_services; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace XRay } // namespace Aws