/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Inspector { namespace Model { /** *

The metadata about the Amazon Inspector application data metrics collected by * the agent. This data type is used as the response element in the * GetTelemetryMetadata action.

See Also:

AWS * API Reference

*/ class TelemetryMetadata { public: AWS_INSPECTOR_API TelemetryMetadata(); AWS_INSPECTOR_API TelemetryMetadata(Aws::Utils::Json::JsonView jsonValue); AWS_INSPECTOR_API TelemetryMetadata& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A specific type of behavioral data that is collected by the agent.

*/ inline const Aws::String& GetMessageType() const{ return m_messageType; } /** *

A specific type of behavioral data that is collected by the agent.

*/ inline bool MessageTypeHasBeenSet() const { return m_messageTypeHasBeenSet; } /** *

A specific type of behavioral data that is collected by the agent.

*/ inline void SetMessageType(const Aws::String& value) { m_messageTypeHasBeenSet = true; m_messageType = value; } /** *

A specific type of behavioral data that is collected by the agent.

*/ inline void SetMessageType(Aws::String&& value) { m_messageTypeHasBeenSet = true; m_messageType = std::move(value); } /** *

A specific type of behavioral data that is collected by the agent.

*/ inline void SetMessageType(const char* value) { m_messageTypeHasBeenSet = true; m_messageType.assign(value); } /** *

A specific type of behavioral data that is collected by the agent.

*/ inline TelemetryMetadata& WithMessageType(const Aws::String& value) { SetMessageType(value); return *this;} /** *

A specific type of behavioral data that is collected by the agent.

*/ inline TelemetryMetadata& WithMessageType(Aws::String&& value) { SetMessageType(std::move(value)); return *this;} /** *

A specific type of behavioral data that is collected by the agent.

*/ inline TelemetryMetadata& WithMessageType(const char* value) { SetMessageType(value); return *this;} /** *

The count of messages that the agent sends to the Amazon Inspector * service.

*/ inline long long GetCount() const{ return m_count; } /** *

The count of messages that the agent sends to the Amazon Inspector * service.

*/ inline bool CountHasBeenSet() const { return m_countHasBeenSet; } /** *

The count of messages that the agent sends to the Amazon Inspector * service.

*/ inline void SetCount(long long value) { m_countHasBeenSet = true; m_count = value; } /** *

The count of messages that the agent sends to the Amazon Inspector * service.

*/ inline TelemetryMetadata& WithCount(long long value) { SetCount(value); return *this;} /** *

The data size of messages that the agent sends to the Amazon Inspector * service.

*/ inline long long GetDataSize() const{ return m_dataSize; } /** *

The data size of messages that the agent sends to the Amazon Inspector * service.

*/ inline bool DataSizeHasBeenSet() const { return m_dataSizeHasBeenSet; } /** *

The data size of messages that the agent sends to the Amazon Inspector * service.

*/ inline void SetDataSize(long long value) { m_dataSizeHasBeenSet = true; m_dataSize = value; } /** *

The data size of messages that the agent sends to the Amazon Inspector * service.

*/ inline TelemetryMetadata& WithDataSize(long long value) { SetDataSize(value); return *this;} private: Aws::String m_messageType; bool m_messageTypeHasBeenSet = false; long long m_count; bool m_countHasBeenSet = false; long long m_dataSize; bool m_dataSizeHasBeenSet = false; }; } // namespace Model } // namespace Inspector } // namespace Aws