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

The name of the stream from which the edge configuration was updated.

*/ inline const Aws::String& GetStreamName() const{ return m_streamName; } /** *

The name of the stream from which the edge configuration was updated.

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

The name of the stream from which the edge configuration was updated.

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

The name of the stream from which the edge configuration was updated.

*/ inline void SetStreamName(const char* value) { m_streamName.assign(value); } /** *

The name of the stream from which the edge configuration was updated.

*/ inline StartEdgeConfigurationUpdateResult& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;} /** *

The name of the stream from which the edge configuration was updated.

*/ inline StartEdgeConfigurationUpdateResult& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;} /** *

The name of the stream from which the edge configuration was updated.

*/ inline StartEdgeConfigurationUpdateResult& WithStreamName(const char* value) { SetStreamName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the stream.

*/ inline const Aws::String& GetStreamARN() const{ return m_streamARN; } /** *

The Amazon Resource Name (ARN) of the stream.

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

The Amazon Resource Name (ARN) of the stream.

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

The Amazon Resource Name (ARN) of the stream.

*/ inline void SetStreamARN(const char* value) { m_streamARN.assign(value); } /** *

The Amazon Resource Name (ARN) of the stream.

*/ inline StartEdgeConfigurationUpdateResult& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;} /** *

The Amazon Resource Name (ARN) of the stream.

*/ inline StartEdgeConfigurationUpdateResult& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the stream.

*/ inline StartEdgeConfigurationUpdateResult& WithStreamARN(const char* value) { SetStreamARN(value); return *this;} /** *

The timestamp at which a stream’s edge configuration was first created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The timestamp at which a stream’s edge configuration was first created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

The timestamp at which a stream’s edge configuration was first created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } /** *

The timestamp at which a stream’s edge configuration was first created.

*/ inline StartEdgeConfigurationUpdateResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The timestamp at which a stream’s edge configuration was first created.

*/ inline StartEdgeConfigurationUpdateResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The timestamp at which a stream’s edge configuration was last updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *

The timestamp at which a stream’s edge configuration was last updated.

*/ inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTime = value; } /** *

The timestamp at which a stream’s edge configuration was last updated.

*/ inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTime = std::move(value); } /** *

The timestamp at which a stream’s edge configuration was last updated.

*/ inline StartEdgeConfigurationUpdateResult& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} /** *

The timestamp at which a stream’s edge configuration was last updated.

*/ inline StartEdgeConfigurationUpdateResult& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *

The current sync status of the stream's edge configuration. When you invoke * this API, the sync status will be set to the SYNCING state. Use the * DescribeEdgeConfiguration API to get the latest status of the edge * configuration.

*/ inline const SyncStatus& GetSyncStatus() const{ return m_syncStatus; } /** *

The current sync status of the stream's edge configuration. When you invoke * this API, the sync status will be set to the SYNCING state. Use the * DescribeEdgeConfiguration API to get the latest status of the edge * configuration.

*/ inline void SetSyncStatus(const SyncStatus& value) { m_syncStatus = value; } /** *

The current sync status of the stream's edge configuration. When you invoke * this API, the sync status will be set to the SYNCING state. Use the * DescribeEdgeConfiguration API to get the latest status of the edge * configuration.

*/ inline void SetSyncStatus(SyncStatus&& value) { m_syncStatus = std::move(value); } /** *

The current sync status of the stream's edge configuration. When you invoke * this API, the sync status will be set to the SYNCING state. Use the * DescribeEdgeConfiguration API to get the latest status of the edge * configuration.

*/ inline StartEdgeConfigurationUpdateResult& WithSyncStatus(const SyncStatus& value) { SetSyncStatus(value); return *this;} /** *

The current sync status of the stream's edge configuration. When you invoke * this API, the sync status will be set to the SYNCING state. Use the * DescribeEdgeConfiguration API to get the latest status of the edge * configuration.

*/ inline StartEdgeConfigurationUpdateResult& WithSyncStatus(SyncStatus&& value) { SetSyncStatus(std::move(value)); return *this;} /** *

A description of the generated failure status.

*/ inline const Aws::String& GetFailedStatusDetails() const{ return m_failedStatusDetails; } /** *

A description of the generated failure status.

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

A description of the generated failure status.

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

A description of the generated failure status.

*/ inline void SetFailedStatusDetails(const char* value) { m_failedStatusDetails.assign(value); } /** *

A description of the generated failure status.

*/ inline StartEdgeConfigurationUpdateResult& WithFailedStatusDetails(const Aws::String& value) { SetFailedStatusDetails(value); return *this;} /** *

A description of the generated failure status.

*/ inline StartEdgeConfigurationUpdateResult& WithFailedStatusDetails(Aws::String&& value) { SetFailedStatusDetails(std::move(value)); return *this;} /** *

A description of the generated failure status.

*/ inline StartEdgeConfigurationUpdateResult& WithFailedStatusDetails(const char* value) { SetFailedStatusDetails(value); return *this;} /** *

A description of the stream's edge configuration that will be used to sync * with the Edge Agent IoT Greengrass component. The Edge Agent component will run * on an IoT Hub Device setup at your premise.

*/ inline const EdgeConfig& GetEdgeConfig() const{ return m_edgeConfig; } /** *

A description of the stream's edge configuration that will be used to sync * with the Edge Agent IoT Greengrass component. The Edge Agent component will run * on an IoT Hub Device setup at your premise.

*/ inline void SetEdgeConfig(const EdgeConfig& value) { m_edgeConfig = value; } /** *

A description of the stream's edge configuration that will be used to sync * with the Edge Agent IoT Greengrass component. The Edge Agent component will run * on an IoT Hub Device setup at your premise.

*/ inline void SetEdgeConfig(EdgeConfig&& value) { m_edgeConfig = std::move(value); } /** *

A description of the stream's edge configuration that will be used to sync * with the Edge Agent IoT Greengrass component. The Edge Agent component will run * on an IoT Hub Device setup at your premise.

*/ inline StartEdgeConfigurationUpdateResult& WithEdgeConfig(const EdgeConfig& value) { SetEdgeConfig(value); return *this;} /** *

A description of the stream's edge configuration that will be used to sync * with the Edge Agent IoT Greengrass component. The Edge Agent component will run * on an IoT Hub Device setup at your premise.

*/ inline StartEdgeConfigurationUpdateResult& WithEdgeConfig(EdgeConfig&& value) { SetEdgeConfig(std::move(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 StartEdgeConfigurationUpdateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartEdgeConfigurationUpdateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartEdgeConfigurationUpdateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_streamName; Aws::String m_streamARN; Aws::Utils::DateTime m_creationTime; Aws::Utils::DateTime m_lastUpdatedTime; SyncStatus m_syncStatus; Aws::String m_failedStatusDetails; EdgeConfig m_edgeConfig; Aws::String m_requestId; }; } // namespace Model } // namespace KinesisVideo } // namespace Aws