AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
DeleteDashboardRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace QuickSight {
18namespace Model {
19
23 public:
24 AWS_QUICKSIGHT_API DeleteDashboardRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteDashboard"; }
31
32 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
33
34 AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
41 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
42 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
43 template <typename AwsAccountIdT = Aws::String>
44 void SetAwsAccountId(AwsAccountIdT&& value) {
45 m_awsAccountIdHasBeenSet = true;
46 m_awsAccountId = std::forward<AwsAccountIdT>(value);
47 }
48 template <typename AwsAccountIdT = Aws::String>
49 DeleteDashboardRequest& WithAwsAccountId(AwsAccountIdT&& value) {
50 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetDashboardId() const { return m_dashboardId; }
60 inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; }
61 template <typename DashboardIdT = Aws::String>
62 void SetDashboardId(DashboardIdT&& value) {
63 m_dashboardIdHasBeenSet = true;
64 m_dashboardId = std::forward<DashboardIdT>(value);
65 }
66 template <typename DashboardIdT = Aws::String>
67 DeleteDashboardRequest& WithDashboardId(DashboardIdT&& value) {
68 SetDashboardId(std::forward<DashboardIdT>(value));
69 return *this;
70 }
72
74
78 inline long long GetVersionNumber() const { return m_versionNumber; }
79 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
80 inline void SetVersionNumber(long long value) {
81 m_versionNumberHasBeenSet = true;
82 m_versionNumber = value;
83 }
84 inline DeleteDashboardRequest& WithVersionNumber(long long value) {
85 SetVersionNumber(value);
86 return *this;
87 }
89 private:
90 Aws::String m_awsAccountId;
91
92 Aws::String m_dashboardId;
93
94 long long m_versionNumber{0};
95 bool m_awsAccountIdHasBeenSet = false;
96 bool m_dashboardIdHasBeenSet = false;
97 bool m_versionNumberHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace QuickSight
102} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_QUICKSIGHT_API DeleteDashboardRequest()=default
DeleteDashboardRequest & WithDashboardId(DashboardIdT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
DeleteDashboardRequest & WithVersionNumber(long long value)
DeleteDashboardRequest & WithAwsAccountId(AwsAccountIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String