AWS SDK for C++  1.9.44
AWS SDK for C++
DeleteDataSourceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace QuickSight
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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 "DeleteDataSource"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
39 
43  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
44 
48  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
49 
53  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
54 
58  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
59 
63  inline DeleteDataSourceRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
64 
68  inline DeleteDataSourceRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
69 
73  inline DeleteDataSourceRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
74 
75 
80  inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
81 
86  inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
87 
92  inline void SetDataSourceId(const Aws::String& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = value; }
93 
98  inline void SetDataSourceId(Aws::String&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::move(value); }
99 
104  inline void SetDataSourceId(const char* value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId.assign(value); }
105 
110  inline DeleteDataSourceRequest& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
111 
116  inline DeleteDataSourceRequest& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
117 
122  inline DeleteDataSourceRequest& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
123 
124  private:
125 
126  Aws::String m_awsAccountId;
127  bool m_awsAccountIdHasBeenSet;
128 
129  Aws::String m_dataSourceId;
130  bool m_dataSourceIdHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace QuickSight
135 } // namespace Aws
Aws::QuickSight::Model::DeleteDataSourceRequest::GetDataSourceId
const Aws::String & GetDataSourceId() const
Definition: DeleteDataSourceRequest.h:80
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DeleteDataSourceRequest::WithAwsAccountId
DeleteDataSourceRequest & WithAwsAccountId(const char *value)
Definition: DeleteDataSourceRequest.h:73
Aws::QuickSight::Model::DeleteDataSourceRequest::WithDataSourceId
DeleteDataSourceRequest & WithDataSourceId(Aws::String &&value)
Definition: DeleteDataSourceRequest.h:116
Aws::QuickSight::Model::DeleteDataSourceRequest::WithDataSourceId
DeleteDataSourceRequest & WithDataSourceId(const Aws::String &value)
Definition: DeleteDataSourceRequest.h:110
Aws::QuickSight::Model::DeleteDataSourceRequest::WithDataSourceId
DeleteDataSourceRequest & WithDataSourceId(const char *value)
Definition: DeleteDataSourceRequest.h:122
Aws::QuickSight::Model::DeleteDataSourceRequest
Definition: DeleteDataSourceRequest.h:22
Aws::QuickSight::Model::DeleteDataSourceRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: DeleteDataSourceRequest.h:58
Aws::QuickSight::Model::DeleteDataSourceRequest::WithAwsAccountId
DeleteDataSourceRequest & WithAwsAccountId(Aws::String &&value)
Definition: DeleteDataSourceRequest.h:68
Aws::QuickSight::Model::DeleteDataSourceRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: DeleteDataSourceRequest.h:38
Aws::QuickSight::Model::DeleteDataSourceRequest::WithAwsAccountId
DeleteDataSourceRequest & WithAwsAccountId(const Aws::String &value)
Definition: DeleteDataSourceRequest.h:63
Aws::QuickSight::Model::DeleteDataSourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteDataSourceRequest.h:30
QuickSightRequest.h
AWSString.h
Aws::QuickSight::Model::DeleteDataSourceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::DeleteDataSourceRequest::SetDataSourceId
void SetDataSourceId(const char *value)
Definition: DeleteDataSourceRequest.h:104
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::DeleteDataSourceRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: DeleteDataSourceRequest.h:53
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DeleteDataSourceRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: DeleteDataSourceRequest.h:48
Aws::QuickSight::Model::DeleteDataSourceRequest::DeleteDataSourceRequest
DeleteDataSourceRequest()
Aws::QuickSight::Model::DeleteDataSourceRequest::SetDataSourceId
void SetDataSourceId(const Aws::String &value)
Definition: DeleteDataSourceRequest.h:92
Aws::QuickSight::Model::DeleteDataSourceRequest::DataSourceIdHasBeenSet
bool DataSourceIdHasBeenSet() const
Definition: DeleteDataSourceRequest.h:86
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::DeleteDataSourceRequest::SetDataSourceId
void SetDataSourceId(Aws::String &&value)
Definition: DeleteDataSourceRequest.h:98
Aws::QuickSight::Model::DeleteDataSourceRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: DeleteDataSourceRequest.h:43