AWS SDK for C++  1.9.41
AWS SDK for C++
DescribeDataSourceRequest.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 "DescribeDataSource"; }
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 DescribeDataSourceRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
64 
68  inline DescribeDataSourceRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
69 
73  inline DescribeDataSourceRequest& 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 DescribeDataSourceRequest& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
111 
116  inline DescribeDataSourceRequest& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
117 
122  inline DescribeDataSourceRequest& 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::DescribeDataSourceRequest::DataSourceIdHasBeenSet
bool DataSourceIdHasBeenSet() const
Definition: DescribeDataSourceRequest.h:86
Aws::QuickSight::Model::DescribeDataSourceRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: DescribeDataSourceRequest.h:58
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DescribeDataSourceRequest::WithAwsAccountId
DescribeDataSourceRequest & WithAwsAccountId(Aws::String &&value)
Definition: DescribeDataSourceRequest.h:68
Aws::QuickSight::Model::DescribeDataSourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeDataSourceRequest.h:30
Aws::QuickSight::Model::DescribeDataSourceRequest::WithDataSourceId
DescribeDataSourceRequest & WithDataSourceId(const Aws::String &value)
Definition: DescribeDataSourceRequest.h:110
Aws::QuickSight::Model::DescribeDataSourceRequest::WithAwsAccountId
DescribeDataSourceRequest & WithAwsAccountId(const Aws::String &value)
Definition: DescribeDataSourceRequest.h:63
Aws::QuickSight::Model::DescribeDataSourceRequest::WithDataSourceId
DescribeDataSourceRequest & WithDataSourceId(Aws::String &&value)
Definition: DescribeDataSourceRequest.h:116
QuickSightRequest.h
Aws::QuickSight::Model::DescribeDataSourceRequest::SetDataSourceId
void SetDataSourceId(Aws::String &&value)
Definition: DescribeDataSourceRequest.h:98
Aws::QuickSight::Model::DescribeDataSourceRequest::SetDataSourceId
void SetDataSourceId(const Aws::String &value)
Definition: DescribeDataSourceRequest.h:92
Aws::QuickSight::Model::DescribeDataSourceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::DescribeDataSourceRequest::SetDataSourceId
void SetDataSourceId(const char *value)
Definition: DescribeDataSourceRequest.h:104
Aws::QuickSight::Model::DescribeDataSourceRequest
Definition: DescribeDataSourceRequest.h:22
AWSString.h
Aws::QuickSight::Model::DescribeDataSourceRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: DescribeDataSourceRequest.h:38
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::DescribeDataSourceRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: DescribeDataSourceRequest.h:43
Aws::QuickSight::Model::DescribeDataSourceRequest::WithAwsAccountId
DescribeDataSourceRequest & WithAwsAccountId(const char *value)
Definition: DescribeDataSourceRequest.h:73
Aws::QuickSight::Model::DescribeDataSourceRequest::GetDataSourceId
const Aws::String & GetDataSourceId() const
Definition: DescribeDataSourceRequest.h:80
Aws::QuickSight::Model::DescribeDataSourceRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: DescribeDataSourceRequest.h:53
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::DescribeDataSourceRequest::WithDataSourceId
DescribeDataSourceRequest & WithDataSourceId(const char *value)
Definition: DescribeDataSourceRequest.h:122
Aws::QuickSight::Model::DescribeDataSourceRequest::DescribeDataSourceRequest
DescribeDataSourceRequest()
Aws::QuickSight::Model::DescribeDataSourceRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: DescribeDataSourceRequest.h:48