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

The details of the streaming configuration of an * AppInstance.

See Also:

AWS * API Reference

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

The type of data to be streamed.

*/ inline const AppInstanceDataType& GetAppInstanceDataType() const{ return m_appInstanceDataType; } /** *

The type of data to be streamed.

*/ inline bool AppInstanceDataTypeHasBeenSet() const { return m_appInstanceDataTypeHasBeenSet; } /** *

The type of data to be streamed.

*/ inline void SetAppInstanceDataType(const AppInstanceDataType& value) { m_appInstanceDataTypeHasBeenSet = true; m_appInstanceDataType = value; } /** *

The type of data to be streamed.

*/ inline void SetAppInstanceDataType(AppInstanceDataType&& value) { m_appInstanceDataTypeHasBeenSet = true; m_appInstanceDataType = std::move(value); } /** *

The type of data to be streamed.

*/ inline AppInstanceStreamingConfiguration& WithAppInstanceDataType(const AppInstanceDataType& value) { SetAppInstanceDataType(value); return *this;} /** *

The type of data to be streamed.

*/ inline AppInstanceStreamingConfiguration& WithAppInstanceDataType(AppInstanceDataType&& value) { SetAppInstanceDataType(std::move(value)); return *this;} /** *

The resource ARN.

*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *

The resource ARN.

*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** *

The resource ARN.

*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** *

The resource ARN.

*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** *

The resource ARN.

*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** *

The resource ARN.

*/ inline AppInstanceStreamingConfiguration& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *

The resource ARN.

*/ inline AppInstanceStreamingConfiguration& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *

The resource ARN.

*/ inline AppInstanceStreamingConfiguration& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} private: AppInstanceDataType m_appInstanceDataType; bool m_appInstanceDataTypeHasBeenSet = false; Aws::String m_resourceArn; bool m_resourceArnHasBeenSet = false; }; } // namespace Model } // namespace Chime } // namespace Aws