AWS SDK for C++  1.9.105
AWS SDK for C++
DeleteDashboardRequest.h
Go to the documentation of this file.
1 
6 #pragma once
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 
26  {
27  public:
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.
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 
45  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
46 
51  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
52 
57  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
58 
63  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
64 
69  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
70 
75  inline DeleteDashboardRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
76 
81  inline DeleteDashboardRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
82 
87  inline DeleteDashboardRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
88 
89 
93  inline const Aws::String& GetDashboardId() const{ return m_dashboardId; }
94 
98  inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; }
99 
103  inline void SetDashboardId(const Aws::String& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = value; }
104 
108  inline void SetDashboardId(Aws::String&& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::move(value); }
109 
113  inline void SetDashboardId(const char* value) { m_dashboardIdHasBeenSet = true; m_dashboardId.assign(value); }
114 
118  inline DeleteDashboardRequest& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;}
119 
123  inline DeleteDashboardRequest& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;}
124 
128  inline DeleteDashboardRequest& WithDashboardId(const char* value) { SetDashboardId(value); return *this;}
129 
130 
135  inline long long GetVersionNumber() const{ return m_versionNumber; }
136 
141  inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
142 
147  inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
148 
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
Aws::Http::URI
Definition: URI.h:32
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DeleteDashboardRequest::WithVersionNumber
DeleteDashboardRequest & WithVersionNumber(long long value)
Definition: DeleteDashboardRequest.h:153
Aws::QuickSight::Model::DeleteDashboardRequest::GetDashboardId
const Aws::String & GetDashboardId() const
Definition: DeleteDashboardRequest.h:93
Aws::QuickSight::Model::DeleteDashboardRequest::SetDashboardId
void SetDashboardId(const Aws::String &value)
Definition: DeleteDashboardRequest.h:103
Aws::QuickSight::Model::DeleteDashboardRequest::SetVersionNumber
void SetVersionNumber(long long value)
Definition: DeleteDashboardRequest.h:147
Aws::QuickSight::Model::DeleteDashboardRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: DeleteDashboardRequest.h:51
Aws::QuickSight::Model::DeleteDashboardRequest::WithDashboardId
DeleteDashboardRequest & WithDashboardId(const Aws::String &value)
Definition: DeleteDashboardRequest.h:118
Aws::QuickSight::Model::DeleteDashboardRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: DeleteDashboardRequest.h:63
Aws::QuickSight::Model::DeleteDashboardRequest::GetVersionNumber
long long GetVersionNumber() const
Definition: DeleteDashboardRequest.h:135
Aws::QuickSight::Model::DeleteDashboardRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: DeleteDashboardRequest.h:45
Aws::QuickSight::Model::DeleteDashboardRequest::WithDashboardId
DeleteDashboardRequest & WithDashboardId(const char *value)
Definition: DeleteDashboardRequest.h:128
Aws::QuickSight::Model::DeleteDashboardRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
QuickSightRequest.h
Aws::QuickSight::Model::DeleteDashboardRequest::VersionNumberHasBeenSet
bool VersionNumberHasBeenSet() const
Definition: DeleteDashboardRequest.h:141
Aws::QuickSight::Model::DeleteDashboardRequest::SetDashboardId
void SetDashboardId(Aws::String &&value)
Definition: DeleteDashboardRequest.h:108
Aws::QuickSight::Model::DeleteDashboardRequest::DeleteDashboardRequest
DeleteDashboardRequest()
AWSString.h
Aws::QuickSight::Model::DeleteDashboardRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: DeleteDashboardRequest.h:57
Aws::QuickSight::Model::DeleteDashboardRequest
Definition: DeleteDashboardRequest.h:26
Aws::QuickSight::Model::DeleteDashboardRequest::WithDashboardId
DeleteDashboardRequest & WithDashboardId(Aws::String &&value)
Definition: DeleteDashboardRequest.h:123
Aws::QuickSight::Model::DeleteDashboardRequest::WithAwsAccountId
DeleteDashboardRequest & WithAwsAccountId(const char *value)
Definition: DeleteDashboardRequest.h:87
Aws::QuickSight::Model::DeleteDashboardRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteDashboardRequest.h:34
Aws::QuickSight::Model::DeleteDashboardRequest::SetDashboardId
void SetDashboardId(const char *value)
Definition: DeleteDashboardRequest.h:113
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DeleteDashboardRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::DeleteDashboardRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: DeleteDashboardRequest.h:69
Aws::QuickSight::Model::DeleteDashboardRequest::DashboardIdHasBeenSet
bool DashboardIdHasBeenSet() const
Definition: DeleteDashboardRequest.h:98
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::DeleteDashboardRequest::WithAwsAccountId
DeleteDashboardRequest & WithAwsAccountId(Aws::String &&value)
Definition: DeleteDashboardRequest.h:81
Aws::QuickSight::Model::DeleteDashboardRequest::WithAwsAccountId
DeleteDashboardRequest & WithAwsAccountId(const Aws::String &value)
Definition: DeleteDashboardRequest.h:75