1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/quicksight/QuickSight_EXPORTS.h> 8 #include <aws/quicksight/QuickSightRequest.h> 9 #include <aws/core/utils/memory/stl/AWSString.h> 10 #include <utility> 11 12 namespace Aws 13 { 14 namespace Http 15 { 16 class URI; 17 } //namespace Http 18 namespace QuickSight 19 { 20 namespace Model 21 { 22 23 /** 24 */ 25 class AWS_QUICKSIGHT_API DeleteDashboardRequest : public QuickSightRequest 26 { 27 public: 28 DeleteDashboardRequest(); 29 30 // Service request name is the Operation name which will send this request out, 31 // each operation should has unique request name, so that we can get operation's name from this request. 32 // Note: this is not true for response, multiple operations may have the same response name, 33 // so we can not get operation's name from response. GetServiceRequestName()34 inline virtual const char* GetServiceRequestName() const override { return "DeleteDashboard"; } 35 36 Aws::String SerializePayload() const override; 37 38 void AddQueryStringParameters(Aws::Http::URI& uri) const override; 39 40 41 /** 42 * <p>The ID of the Amazon Web Services account that contains the dashboard that 43 * you're deleting.</p> 44 */ GetAwsAccountId()45 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; } 46 47 /** 48 * <p>The ID of the Amazon Web Services account that contains the dashboard that 49 * you're deleting.</p> 50 */ AwsAccountIdHasBeenSet()51 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; } 52 53 /** 54 * <p>The ID of the Amazon Web Services account that contains the dashboard that 55 * you're deleting.</p> 56 */ SetAwsAccountId(const Aws::String & value)57 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; } 58 59 /** 60 * <p>The ID of the Amazon Web Services account that contains the dashboard that 61 * you're deleting.</p> 62 */ SetAwsAccountId(Aws::String && value)63 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); } 64 65 /** 66 * <p>The ID of the Amazon Web Services account that contains the dashboard that 67 * you're deleting.</p> 68 */ SetAwsAccountId(const char * value)69 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); } 70 71 /** 72 * <p>The ID of the Amazon Web Services account that contains the dashboard that 73 * you're deleting.</p> 74 */ WithAwsAccountId(const Aws::String & value)75 inline DeleteDashboardRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;} 76 77 /** 78 * <p>The ID of the Amazon Web Services account that contains the dashboard that 79 * you're deleting.</p> 80 */ WithAwsAccountId(Aws::String && value)81 inline DeleteDashboardRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;} 82 83 /** 84 * <p>The ID of the Amazon Web Services account that contains the dashboard that 85 * you're deleting.</p> 86 */ WithAwsAccountId(const char * value)87 inline DeleteDashboardRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;} 88 89 90 /** 91 * <p>The ID for the dashboard.</p> 92 */ GetDashboardId()93 inline const Aws::String& GetDashboardId() const{ return m_dashboardId; } 94 95 /** 96 * <p>The ID for the dashboard.</p> 97 */ DashboardIdHasBeenSet()98 inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; } 99 100 /** 101 * <p>The ID for the dashboard.</p> 102 */ SetDashboardId(const Aws::String & value)103 inline void SetDashboardId(const Aws::String& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = value; } 104 105 /** 106 * <p>The ID for the dashboard.</p> 107 */ SetDashboardId(Aws::String && value)108 inline void SetDashboardId(Aws::String&& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::move(value); } 109 110 /** 111 * <p>The ID for the dashboard.</p> 112 */ SetDashboardId(const char * value)113 inline void SetDashboardId(const char* value) { m_dashboardIdHasBeenSet = true; m_dashboardId.assign(value); } 114 115 /** 116 * <p>The ID for the dashboard.</p> 117 */ WithDashboardId(const Aws::String & value)118 inline DeleteDashboardRequest& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;} 119 120 /** 121 * <p>The ID for the dashboard.</p> 122 */ WithDashboardId(Aws::String && value)123 inline DeleteDashboardRequest& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;} 124 125 /** 126 * <p>The ID for the dashboard.</p> 127 */ WithDashboardId(const char * value)128 inline DeleteDashboardRequest& WithDashboardId(const char* value) { SetDashboardId(value); return *this;} 129 130 131 /** 132 * <p>The version number of the dashboard. If the version number property is 133 * provided, only the specified version of the dashboard is deleted.</p> 134 */ GetVersionNumber()135 inline long long GetVersionNumber() const{ return m_versionNumber; } 136 137 /** 138 * <p>The version number of the dashboard. If the version number property is 139 * provided, only the specified version of the dashboard is deleted.</p> 140 */ VersionNumberHasBeenSet()141 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; } 142 143 /** 144 * <p>The version number of the dashboard. If the version number property is 145 * provided, only the specified version of the dashboard is deleted.</p> 146 */ SetVersionNumber(long long value)147 inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; } 148 149 /** 150 * <p>The version number of the dashboard. If the version number property is 151 * provided, only the specified version of the dashboard is deleted.</p> 152 */ WithVersionNumber(long long value)153 inline DeleteDashboardRequest& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;} 154 155 private: 156 157 Aws::String m_awsAccountId; 158 bool m_awsAccountIdHasBeenSet; 159 160 Aws::String m_dashboardId; 161 bool m_dashboardIdHasBeenSet; 162 163 long long m_versionNumber; 164 bool m_versionNumberHasBeenSet; 165 }; 166 167 } // namespace Model 168 } // namespace QuickSight 169 } // namespace Aws 170