/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an application that processed requests, users that made
* requests, or downstream services, resources, and applications that an
* application used.See Also:
AWS API
* Reference
Identifier for the service. Unique within the service map.
*/ inline int GetReferenceId() const{ return m_referenceId; } /** *Identifier for the service. Unique within the service map.
*/ inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; } /** *Identifier for the service. Unique within the service map.
*/ inline void SetReferenceId(int value) { m_referenceIdHasBeenSet = true; m_referenceId = value; } /** *Identifier for the service. Unique within the service map.
*/ inline Service& WithReferenceId(int value) { SetReferenceId(value); return *this;} /** *The canonical name of the service.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The canonical name of the service.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The canonical name of the service.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The canonical name of the service.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The canonical name of the service.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The canonical name of the service.
*/ inline Service& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The canonical name of the service.
*/ inline Service& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The canonical name of the service.
*/ inline Service& WithName(const char* value) { SetName(value); return *this;} /** *A list of names for the service, including the canonical name.
*/ inline const Aws::VectorA list of names for the service, including the canonical name.
*/ inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; } /** *A list of names for the service, including the canonical name.
*/ inline void SetNames(const Aws::VectorA list of names for the service, including the canonical name.
*/ inline void SetNames(Aws::VectorA list of names for the service, including the canonical name.
*/ inline Service& WithNames(const Aws::VectorA list of names for the service, including the canonical name.
*/ inline Service& WithNames(Aws::VectorA list of names for the service, including the canonical name.
*/ inline Service& AddNames(const Aws::String& value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; } /** *A list of names for the service, including the canonical name.
*/ inline Service& AddNames(Aws::String&& value) { m_namesHasBeenSet = true; m_names.push_back(std::move(value)); return *this; } /** *A list of names for the service, including the canonical name.
*/ inline Service& AddNames(const char* value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; } /** *Indicates that the service was the first service to process a request.
*/ inline bool GetRoot() const{ return m_root; } /** *Indicates that the service was the first service to process a request.
*/ inline bool RootHasBeenSet() const { return m_rootHasBeenSet; } /** *Indicates that the service was the first service to process a request.
*/ inline void SetRoot(bool value) { m_rootHasBeenSet = true; m_root = value; } /** *Indicates that the service was the first service to process a request.
*/ inline Service& WithRoot(bool value) { SetRoot(value); return *this;} /** *Identifier of the Amazon Web Services account in which the service runs.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *Identifier of the Amazon Web Services account in which the service runs.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *Identifier of the Amazon Web Services account in which the service runs.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *Identifier of the Amazon Web Services account in which the service runs.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *Identifier of the Amazon Web Services account in which the service runs.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *Identifier of the Amazon Web Services account in which the service runs.
*/ inline Service& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *Identifier of the Amazon Web Services account in which the service runs.
*/ inline Service& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *Identifier of the Amazon Web Services account in which the service runs.
*/ inline Service& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *The type of service.
Amazon Web Services Resource - The type
* of an Amazon Web Services resource. For example, AWS::EC2::Instance
* for an application running on Amazon EC2 or AWS::DynamoDB::Table
* for an Amazon DynamoDB table that the application used.
Amazon
* Web Services Service - The type of an Amazon Web Services service. For example,
* AWS::DynamoDB
for downstream calls to Amazon DynamoDB that didn't
* target a specific table.
client
- Represents the
* clients that sent requests to a root service.
* remote
- A downstream service of indeterminate type.
The type of service.
Amazon Web Services Resource - The type
* of an Amazon Web Services resource. For example, AWS::EC2::Instance
* for an application running on Amazon EC2 or AWS::DynamoDB::Table
* for an Amazon DynamoDB table that the application used.
Amazon
* Web Services Service - The type of an Amazon Web Services service. For example,
* AWS::DynamoDB
for downstream calls to Amazon DynamoDB that didn't
* target a specific table.
client
- Represents the
* clients that sent requests to a root service.
* remote
- A downstream service of indeterminate type.
The type of service.
Amazon Web Services Resource - The type
* of an Amazon Web Services resource. For example, AWS::EC2::Instance
* for an application running on Amazon EC2 or AWS::DynamoDB::Table
* for an Amazon DynamoDB table that the application used.
Amazon
* Web Services Service - The type of an Amazon Web Services service. For example,
* AWS::DynamoDB
for downstream calls to Amazon DynamoDB that didn't
* target a specific table.
client
- Represents the
* clients that sent requests to a root service.
* remote
- A downstream service of indeterminate type.
The type of service.
Amazon Web Services Resource - The type
* of an Amazon Web Services resource. For example, AWS::EC2::Instance
* for an application running on Amazon EC2 or AWS::DynamoDB::Table
* for an Amazon DynamoDB table that the application used.
Amazon
* Web Services Service - The type of an Amazon Web Services service. For example,
* AWS::DynamoDB
for downstream calls to Amazon DynamoDB that didn't
* target a specific table.
client
- Represents the
* clients that sent requests to a root service.
* remote
- A downstream service of indeterminate type.
The type of service.
Amazon Web Services Resource - The type
* of an Amazon Web Services resource. For example, AWS::EC2::Instance
* for an application running on Amazon EC2 or AWS::DynamoDB::Table
* for an Amazon DynamoDB table that the application used.
Amazon
* Web Services Service - The type of an Amazon Web Services service. For example,
* AWS::DynamoDB
for downstream calls to Amazon DynamoDB that didn't
* target a specific table.
client
- Represents the
* clients that sent requests to a root service.
* remote
- A downstream service of indeterminate type.
The type of service.
Amazon Web Services Resource - The type
* of an Amazon Web Services resource. For example, AWS::EC2::Instance
* for an application running on Amazon EC2 or AWS::DynamoDB::Table
* for an Amazon DynamoDB table that the application used.
Amazon
* Web Services Service - The type of an Amazon Web Services service. For example,
* AWS::DynamoDB
for downstream calls to Amazon DynamoDB that didn't
* target a specific table.
client
- Represents the
* clients that sent requests to a root service.
* remote
- A downstream service of indeterminate type.
The type of service.
Amazon Web Services Resource - The type
* of an Amazon Web Services resource. For example, AWS::EC2::Instance
* for an application running on Amazon EC2 or AWS::DynamoDB::Table
* for an Amazon DynamoDB table that the application used.
Amazon
* Web Services Service - The type of an Amazon Web Services service. For example,
* AWS::DynamoDB
for downstream calls to Amazon DynamoDB that didn't
* target a specific table.
client
- Represents the
* clients that sent requests to a root service.
* remote
- A downstream service of indeterminate type.
The type of service.
Amazon Web Services Resource - The type
* of an Amazon Web Services resource. For example, AWS::EC2::Instance
* for an application running on Amazon EC2 or AWS::DynamoDB::Table
* for an Amazon DynamoDB table that the application used.
Amazon
* Web Services Service - The type of an Amazon Web Services service. For example,
* AWS::DynamoDB
for downstream calls to Amazon DynamoDB that didn't
* target a specific table.
client
- Represents the
* clients that sent requests to a root service.
* remote
- A downstream service of indeterminate type.
The service's state.
*/ inline const Aws::String& GetState() const{ return m_state; } /** *The service's state.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The service's state.
*/ inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; } /** *The service's state.
*/ inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The service's state.
*/ inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); } /** *The service's state.
*/ inline Service& WithState(const Aws::String& value) { SetState(value); return *this;} /** *The service's state.
*/ inline Service& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;} /** *The service's state.
*/ inline Service& WithState(const char* value) { SetState(value); return *this;} /** *The start time of the first segment that the service generated.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *The start time of the first segment that the service generated.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *The start time of the first segment that the service generated.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *The start time of the first segment that the service generated.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *The start time of the first segment that the service generated.
*/ inline Service& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *The start time of the first segment that the service generated.
*/ inline Service& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *The end time of the last segment that the service generated.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *The end time of the last segment that the service generated.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The end time of the last segment that the service generated.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The end time of the last segment that the service generated.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *The end time of the last segment that the service generated.
*/ inline Service& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *The end time of the last segment that the service generated.
*/ inline Service& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *Connections to downstream services.
*/ inline const Aws::VectorConnections to downstream services.
*/ inline bool EdgesHasBeenSet() const { return m_edgesHasBeenSet; } /** *Connections to downstream services.
*/ inline void SetEdges(const Aws::VectorConnections to downstream services.
*/ inline void SetEdges(Aws::VectorConnections to downstream services.
*/ inline Service& WithEdges(const Aws::VectorConnections to downstream services.
*/ inline Service& WithEdges(Aws::VectorConnections to downstream services.
*/ inline Service& AddEdges(const Edge& value) { m_edgesHasBeenSet = true; m_edges.push_back(value); return *this; } /** *Connections to downstream services.
*/ inline Service& AddEdges(Edge&& value) { m_edgesHasBeenSet = true; m_edges.push_back(std::move(value)); return *this; } /** *Aggregated statistics for the service.
*/ inline const ServiceStatistics& GetSummaryStatistics() const{ return m_summaryStatistics; } /** *Aggregated statistics for the service.
*/ inline bool SummaryStatisticsHasBeenSet() const { return m_summaryStatisticsHasBeenSet; } /** *Aggregated statistics for the service.
*/ inline void SetSummaryStatistics(const ServiceStatistics& value) { m_summaryStatisticsHasBeenSet = true; m_summaryStatistics = value; } /** *Aggregated statistics for the service.
*/ inline void SetSummaryStatistics(ServiceStatistics&& value) { m_summaryStatisticsHasBeenSet = true; m_summaryStatistics = std::move(value); } /** *Aggregated statistics for the service.
*/ inline Service& WithSummaryStatistics(const ServiceStatistics& value) { SetSummaryStatistics(value); return *this;} /** *Aggregated statistics for the service.
*/ inline Service& WithSummaryStatistics(ServiceStatistics&& value) { SetSummaryStatistics(std::move(value)); return *this;} /** *A histogram that maps the spread of service durations.
*/ inline const Aws::VectorA histogram that maps the spread of service durations.
*/ inline bool DurationHistogramHasBeenSet() const { return m_durationHistogramHasBeenSet; } /** *A histogram that maps the spread of service durations.
*/ inline void SetDurationHistogram(const Aws::VectorA histogram that maps the spread of service durations.
*/ inline void SetDurationHistogram(Aws::VectorA histogram that maps the spread of service durations.
*/ inline Service& WithDurationHistogram(const Aws::VectorA histogram that maps the spread of service durations.
*/ inline Service& WithDurationHistogram(Aws::VectorA histogram that maps the spread of service durations.
*/ inline Service& AddDurationHistogram(const HistogramEntry& value) { m_durationHistogramHasBeenSet = true; m_durationHistogram.push_back(value); return *this; } /** *A histogram that maps the spread of service durations.
*/ inline Service& AddDurationHistogram(HistogramEntry&& value) { m_durationHistogramHasBeenSet = true; m_durationHistogram.push_back(std::move(value)); return *this; } /** *A histogram that maps the spread of service response times.
*/ inline const Aws::VectorA histogram that maps the spread of service response times.
*/ inline bool ResponseTimeHistogramHasBeenSet() const { return m_responseTimeHistogramHasBeenSet; } /** *A histogram that maps the spread of service response times.
*/ inline void SetResponseTimeHistogram(const Aws::VectorA histogram that maps the spread of service response times.
*/ inline void SetResponseTimeHistogram(Aws::VectorA histogram that maps the spread of service response times.
*/ inline Service& WithResponseTimeHistogram(const Aws::VectorA histogram that maps the spread of service response times.
*/ inline Service& WithResponseTimeHistogram(Aws::VectorA histogram that maps the spread of service response times.
*/ inline Service& AddResponseTimeHistogram(const HistogramEntry& value) { m_responseTimeHistogramHasBeenSet = true; m_responseTimeHistogram.push_back(value); return *this; } /** *A histogram that maps the spread of service response times.
*/ inline Service& AddResponseTimeHistogram(HistogramEntry&& value) { m_responseTimeHistogramHasBeenSet = true; m_responseTimeHistogram.push_back(std::move(value)); return *this; } private: int m_referenceId; bool m_referenceIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector