/** * 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 QuickSight { namespace Model { class StartDashboardSnapshotJobResult { public: AWS_QUICKSIGHT_API StartDashboardSnapshotJobResult(); AWS_QUICKSIGHT_API StartDashboardSnapshotJobResult(const Aws::AmazonWebServiceResult& result); AWS_QUICKSIGHT_API StartDashboardSnapshotJobResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) for the dashboard snapshot job.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) for the dashboard snapshot job.

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

The Amazon Resource Name (ARN) for the dashboard snapshot job.

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

The Amazon Resource Name (ARN) for the dashboard snapshot job.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) for the dashboard snapshot job.

*/ inline StartDashboardSnapshotJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the dashboard snapshot job.

*/ inline StartDashboardSnapshotJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the dashboard snapshot job.

*/ inline StartDashboardSnapshotJobResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

The ID of the job. The job ID is set when you start a new job with a * StartDashboardSnapshotJob API call.

*/ inline const Aws::String& GetSnapshotJobId() const{ return m_snapshotJobId; } /** *

The ID of the job. The job ID is set when you start a new job with a * StartDashboardSnapshotJob API call.

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

The ID of the job. The job ID is set when you start a new job with a * StartDashboardSnapshotJob API call.

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

The ID of the job. The job ID is set when you start a new job with a * StartDashboardSnapshotJob API call.

*/ inline void SetSnapshotJobId(const char* value) { m_snapshotJobId.assign(value); } /** *

The ID of the job. The job ID is set when you start a new job with a * StartDashboardSnapshotJob API call.

*/ inline StartDashboardSnapshotJobResult& WithSnapshotJobId(const Aws::String& value) { SetSnapshotJobId(value); return *this;} /** *

The ID of the job. The job ID is set when you start a new job with a * StartDashboardSnapshotJob API call.

*/ inline StartDashboardSnapshotJobResult& WithSnapshotJobId(Aws::String&& value) { SetSnapshotJobId(std::move(value)); return *this;} /** *

The ID of the job. The job ID is set when you start a new job with a * StartDashboardSnapshotJob API call.

*/ inline StartDashboardSnapshotJobResult& WithSnapshotJobId(const char* value) { SetSnapshotJobId(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 StartDashboardSnapshotJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartDashboardSnapshotJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartDashboardSnapshotJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} /** *

The HTTP status of the request

*/ inline int GetStatus() const{ return m_status; } /** *

The HTTP status of the request

*/ inline void SetStatus(int value) { m_status = value; } /** *

The HTTP status of the request

*/ inline StartDashboardSnapshotJobResult& WithStatus(int value) { SetStatus(value); return *this;} private: Aws::String m_arn; Aws::String m_snapshotJobId; Aws::String m_requestId; int m_status; }; } // namespace Model } // namespace QuickSight } // namespace Aws