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

The details about the refresh of a topic.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the topic refresh.

*/ inline const Aws::String& GetRefreshArn() const{ return m_refreshArn; } /** *

The Amazon Resource Name (ARN) of the topic refresh.

*/ inline bool RefreshArnHasBeenSet() const { return m_refreshArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the topic refresh.

*/ inline void SetRefreshArn(const Aws::String& value) { m_refreshArnHasBeenSet = true; m_refreshArn = value; } /** *

The Amazon Resource Name (ARN) of the topic refresh.

*/ inline void SetRefreshArn(Aws::String&& value) { m_refreshArnHasBeenSet = true; m_refreshArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the topic refresh.

*/ inline void SetRefreshArn(const char* value) { m_refreshArnHasBeenSet = true; m_refreshArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the topic refresh.

*/ inline TopicRefreshDetails& WithRefreshArn(const Aws::String& value) { SetRefreshArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the topic refresh.

*/ inline TopicRefreshDetails& WithRefreshArn(Aws::String&& value) { SetRefreshArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the topic refresh.

*/ inline TopicRefreshDetails& WithRefreshArn(const char* value) { SetRefreshArn(value); return *this;} /** *

The ID of the refresh, which occurs as a result of topic creation or topic * update.

*/ inline const Aws::String& GetRefreshId() const{ return m_refreshId; } /** *

The ID of the refresh, which occurs as a result of topic creation or topic * update.

*/ inline bool RefreshIdHasBeenSet() const { return m_refreshIdHasBeenSet; } /** *

The ID of the refresh, which occurs as a result of topic creation or topic * update.

*/ inline void SetRefreshId(const Aws::String& value) { m_refreshIdHasBeenSet = true; m_refreshId = value; } /** *

The ID of the refresh, which occurs as a result of topic creation or topic * update.

*/ inline void SetRefreshId(Aws::String&& value) { m_refreshIdHasBeenSet = true; m_refreshId = std::move(value); } /** *

The ID of the refresh, which occurs as a result of topic creation or topic * update.

*/ inline void SetRefreshId(const char* value) { m_refreshIdHasBeenSet = true; m_refreshId.assign(value); } /** *

The ID of the refresh, which occurs as a result of topic creation or topic * update.

*/ inline TopicRefreshDetails& WithRefreshId(const Aws::String& value) { SetRefreshId(value); return *this;} /** *

The ID of the refresh, which occurs as a result of topic creation or topic * update.

*/ inline TopicRefreshDetails& WithRefreshId(Aws::String&& value) { SetRefreshId(std::move(value)); return *this;} /** *

The ID of the refresh, which occurs as a result of topic creation or topic * update.

*/ inline TopicRefreshDetails& WithRefreshId(const char* value) { SetRefreshId(value); return *this;} /** *

The status of the refresh job that indicates whether the job is still * running, completed successfully, or failed.

*/ inline const TopicRefreshStatus& GetRefreshStatus() const{ return m_refreshStatus; } /** *

The status of the refresh job that indicates whether the job is still * running, completed successfully, or failed.

*/ inline bool RefreshStatusHasBeenSet() const { return m_refreshStatusHasBeenSet; } /** *

The status of the refresh job that indicates whether the job is still * running, completed successfully, or failed.

*/ inline void SetRefreshStatus(const TopicRefreshStatus& value) { m_refreshStatusHasBeenSet = true; m_refreshStatus = value; } /** *

The status of the refresh job that indicates whether the job is still * running, completed successfully, or failed.

*/ inline void SetRefreshStatus(TopicRefreshStatus&& value) { m_refreshStatusHasBeenSet = true; m_refreshStatus = std::move(value); } /** *

The status of the refresh job that indicates whether the job is still * running, completed successfully, or failed.

*/ inline TopicRefreshDetails& WithRefreshStatus(const TopicRefreshStatus& value) { SetRefreshStatus(value); return *this;} /** *

The status of the refresh job that indicates whether the job is still * running, completed successfully, or failed.

*/ inline TopicRefreshDetails& WithRefreshStatus(TopicRefreshStatus&& value) { SetRefreshStatus(std::move(value)); return *this;} private: Aws::String m_refreshArn; bool m_refreshArnHasBeenSet = false; Aws::String m_refreshId; bool m_refreshIdHasBeenSet = false; TopicRefreshStatus m_refreshStatus; bool m_refreshStatusHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws