/** * 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 Http { class URI; } //namespace Http namespace QuickSight { namespace Model { /** */ class DescribeDashboardRequest : public QuickSightRequest { public: AWS_QUICKSIGHT_API DescribeDashboardRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeDashboard"; } AWS_QUICKSIGHT_API Aws::String SerializePayload() const override; AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The ID of the Amazon Web Services account that contains the dashboard that * you're describing.

*/ inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } /** *

The ID of the Amazon Web Services account that contains the dashboard that * you're describing.

*/ inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } /** *

The ID of the Amazon Web Services account that contains the dashboard that * you're describing.

*/ inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } /** *

The ID of the Amazon Web Services account that contains the dashboard that * you're describing.

*/ inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } /** *

The ID of the Amazon Web Services account that contains the dashboard that * you're describing.

*/ inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } /** *

The ID of the Amazon Web Services account that contains the dashboard that * you're describing.

*/ inline DescribeDashboardRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} /** *

The ID of the Amazon Web Services account that contains the dashboard that * you're describing.

*/ inline DescribeDashboardRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} /** *

The ID of the Amazon Web Services account that contains the dashboard that * you're describing.

*/ inline DescribeDashboardRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} /** *

The ID for the dashboard.

*/ inline const Aws::String& GetDashboardId() const{ return m_dashboardId; } /** *

The ID for the dashboard.

*/ inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; } /** *

The ID for the dashboard.

*/ inline void SetDashboardId(const Aws::String& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = value; } /** *

The ID for the dashboard.

*/ inline void SetDashboardId(Aws::String&& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::move(value); } /** *

The ID for the dashboard.

*/ inline void SetDashboardId(const char* value) { m_dashboardIdHasBeenSet = true; m_dashboardId.assign(value); } /** *

The ID for the dashboard.

*/ inline DescribeDashboardRequest& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;} /** *

The ID for the dashboard.

*/ inline DescribeDashboardRequest& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;} /** *

The ID for the dashboard.

*/ inline DescribeDashboardRequest& WithDashboardId(const char* value) { SetDashboardId(value); return *this;} /** *

The version number for the dashboard. If a version number isn't passed, the * latest published dashboard version is described.

*/ inline long long GetVersionNumber() const{ return m_versionNumber; } /** *

The version number for the dashboard. If a version number isn't passed, the * latest published dashboard version is described.

*/ inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; } /** *

The version number for the dashboard. If a version number isn't passed, the * latest published dashboard version is described.

*/ inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; } /** *

The version number for the dashboard. If a version number isn't passed, the * latest published dashboard version is described.

*/ inline DescribeDashboardRequest& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;} /** *

The alias name.

*/ inline const Aws::String& GetAliasName() const{ return m_aliasName; } /** *

The alias name.

*/ inline bool AliasNameHasBeenSet() const { return m_aliasNameHasBeenSet; } /** *

The alias name.

*/ inline void SetAliasName(const Aws::String& value) { m_aliasNameHasBeenSet = true; m_aliasName = value; } /** *

The alias name.

*/ inline void SetAliasName(Aws::String&& value) { m_aliasNameHasBeenSet = true; m_aliasName = std::move(value); } /** *

The alias name.

*/ inline void SetAliasName(const char* value) { m_aliasNameHasBeenSet = true; m_aliasName.assign(value); } /** *

The alias name.

*/ inline DescribeDashboardRequest& WithAliasName(const Aws::String& value) { SetAliasName(value); return *this;} /** *

The alias name.

*/ inline DescribeDashboardRequest& WithAliasName(Aws::String&& value) { SetAliasName(std::move(value)); return *this;} /** *

The alias name.

*/ inline DescribeDashboardRequest& WithAliasName(const char* value) { SetAliasName(value); return *this;} private: Aws::String m_awsAccountId; bool m_awsAccountIdHasBeenSet = false; Aws::String m_dashboardId; bool m_dashboardIdHasBeenSet = false; long long m_versionNumber; bool m_versionNumberHasBeenSet = false; Aws::String m_aliasName; bool m_aliasNameHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws