/** * 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 IoT { namespace Model { /** *

A summary of a stream.

See Also:

AWS * API Reference

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

The stream ID.

*/ inline const Aws::String& GetStreamId() const{ return m_streamId; } /** *

The stream ID.

*/ inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; } /** *

The stream ID.

*/ inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; } /** *

The stream ID.

*/ inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); } /** *

The stream ID.

*/ inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); } /** *

The stream ID.

*/ inline StreamSummary& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;} /** *

The stream ID.

*/ inline StreamSummary& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;} /** *

The stream ID.

*/ inline StreamSummary& WithStreamId(const char* value) { SetStreamId(value); return *this;} /** *

The stream ARN.

*/ inline const Aws::String& GetStreamArn() const{ return m_streamArn; } /** *

The stream ARN.

*/ inline bool StreamArnHasBeenSet() const { return m_streamArnHasBeenSet; } /** *

The stream ARN.

*/ inline void SetStreamArn(const Aws::String& value) { m_streamArnHasBeenSet = true; m_streamArn = value; } /** *

The stream ARN.

*/ inline void SetStreamArn(Aws::String&& value) { m_streamArnHasBeenSet = true; m_streamArn = std::move(value); } /** *

The stream ARN.

*/ inline void SetStreamArn(const char* value) { m_streamArnHasBeenSet = true; m_streamArn.assign(value); } /** *

The stream ARN.

*/ inline StreamSummary& WithStreamArn(const Aws::String& value) { SetStreamArn(value); return *this;} /** *

The stream ARN.

*/ inline StreamSummary& WithStreamArn(Aws::String&& value) { SetStreamArn(std::move(value)); return *this;} /** *

The stream ARN.

*/ inline StreamSummary& WithStreamArn(const char* value) { SetStreamArn(value); return *this;} /** *

The stream version.

*/ inline int GetStreamVersion() const{ return m_streamVersion; } /** *

The stream version.

*/ inline bool StreamVersionHasBeenSet() const { return m_streamVersionHasBeenSet; } /** *

The stream version.

*/ inline void SetStreamVersion(int value) { m_streamVersionHasBeenSet = true; m_streamVersion = value; } /** *

The stream version.

*/ inline StreamSummary& WithStreamVersion(int value) { SetStreamVersion(value); return *this;} /** *

A description of the stream.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description of the stream.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A description of the stream.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A description of the stream.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A description of the stream.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A description of the stream.

*/ inline StreamSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description of the stream.

*/ inline StreamSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description of the stream.

*/ inline StreamSummary& WithDescription(const char* value) { SetDescription(value); return *this;} private: Aws::String m_streamId; bool m_streamIdHasBeenSet = false; Aws::String m_streamArn; bool m_streamArnHasBeenSet = false; int m_streamVersion; bool m_streamVersionHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws