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

The stream ID.

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

The stream ID.

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

The stream ID.

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

The stream ID.

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

The stream ID.

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

The stream ID.

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

The stream ID.

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

The stream ARN.

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

The stream ARN.

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

The stream ARN.

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

The stream ARN.

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

The stream ARN.

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

The stream ARN.

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

The stream ARN.

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

A description of the stream.

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

A description of the stream.

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

A description of the stream.

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

A description of the stream.

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

A description of the stream.

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

A description of the stream.

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

A description of the stream.

*/ inline CreateStreamResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The version of the stream.

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

The version of the stream.

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

The version of the stream.

*/ inline CreateStreamResult& WithStreamVersion(int value) { SetStreamVersion(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 CreateStreamResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateStreamResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateStreamResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_streamId; Aws::String m_streamArn; Aws::String m_description; int m_streamVersion; Aws::String m_requestId; }; } // namespace Model } // namespace IoT } // namespace Aws