AWS SDK for C++  1.9.40
AWS SDK for C++
DescribePartnersRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Redshift
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 "DescribePartners"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
42  inline const Aws::String& GetAccountId() const{ return m_accountId; }
43 
47  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
48 
52  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
53 
57  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
58 
62  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
63 
67  inline DescribePartnersRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
68 
72  inline DescribePartnersRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
73 
77  inline DescribePartnersRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
78 
79 
84  inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
85 
90  inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
91 
96  inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
97 
102  inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
103 
108  inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
109 
114  inline DescribePartnersRequest& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
115 
120  inline DescribePartnersRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
121 
126  inline DescribePartnersRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
127 
128 
134  inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
135 
141  inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
142 
148  inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
149 
155  inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
156 
162  inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
163 
169  inline DescribePartnersRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
170 
176  inline DescribePartnersRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
177 
183  inline DescribePartnersRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
184 
185 
190  inline const Aws::String& GetPartnerName() const{ return m_partnerName; }
191 
196  inline bool PartnerNameHasBeenSet() const { return m_partnerNameHasBeenSet; }
197 
202  inline void SetPartnerName(const Aws::String& value) { m_partnerNameHasBeenSet = true; m_partnerName = value; }
203 
208  inline void SetPartnerName(Aws::String&& value) { m_partnerNameHasBeenSet = true; m_partnerName = std::move(value); }
209 
214  inline void SetPartnerName(const char* value) { m_partnerNameHasBeenSet = true; m_partnerName.assign(value); }
215 
220  inline DescribePartnersRequest& WithPartnerName(const Aws::String& value) { SetPartnerName(value); return *this;}
221 
226  inline DescribePartnersRequest& WithPartnerName(Aws::String&& value) { SetPartnerName(std::move(value)); return *this;}
227 
232  inline DescribePartnersRequest& WithPartnerName(const char* value) { SetPartnerName(value); return *this;}
233 
234  private:
235 
236  Aws::String m_accountId;
237  bool m_accountIdHasBeenSet;
238 
239  Aws::String m_clusterIdentifier;
240  bool m_clusterIdentifierHasBeenSet;
241 
242  Aws::String m_databaseName;
243  bool m_databaseNameHasBeenSet;
244 
245  Aws::String m_partnerName;
246  bool m_partnerNameHasBeenSet;
247  };
248 
249 } // namespace Model
250 } // namespace Redshift
251 } // namespace Aws
Aws::Redshift::Model::DescribePartnersRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribePartnersRequest.h:30
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::DescribePartnersRequest::GetAccountId
const Aws::String & GetAccountId() const
Definition: DescribePartnersRequest.h:42
Aws::Redshift::Model::DescribePartnersRequest::WithAccountId
DescribePartnersRequest & WithAccountId(const Aws::String &value)
Definition: DescribePartnersRequest.h:67
Aws::Redshift::Model::DescribePartnersRequest::SetAccountId
void SetAccountId(const char *value)
Definition: DescribePartnersRequest.h:62
Aws::Redshift::Model::DescribePartnersRequest::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: DescribePartnersRequest.h:57
Aws::Redshift::Model::DescribePartnersRequest::WithDatabaseName
DescribePartnersRequest & WithDatabaseName(Aws::String &&value)
Definition: DescribePartnersRequest.h:176
Aws::Redshift::Model::DescribePartnersRequest::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: DescribePartnersRequest.h:52
Aws::Redshift::Model::DescribePartnersRequest::SetDatabaseName
void SetDatabaseName(const Aws::String &value)
Definition: DescribePartnersRequest.h:148
Aws::Redshift::Model::DescribePartnersRequest::SetPartnerName
void SetPartnerName(const char *value)
Definition: DescribePartnersRequest.h:214
Aws::Redshift::Model::DescribePartnersRequest::WithDatabaseName
DescribePartnersRequest & WithDatabaseName(const char *value)
Definition: DescribePartnersRequest.h:183
RedshiftRequest.h
Aws::Redshift::Model::DescribePartnersRequest::DescribePartnersRequest
DescribePartnersRequest()
Aws::Redshift::Model::DescribePartnersRequest::WithClusterIdentifier
DescribePartnersRequest & WithClusterIdentifier(const char *value)
Definition: DescribePartnersRequest.h:126
Aws::Redshift::Model::DescribePartnersRequest::WithClusterIdentifier
DescribePartnersRequest & WithClusterIdentifier(const Aws::String &value)
Definition: DescribePartnersRequest.h:114
Aws::Redshift::Model::DescribePartnersRequest::SetDatabaseName
void SetDatabaseName(Aws::String &&value)
Definition: DescribePartnersRequest.h:155
Aws::Redshift::Model::DescribePartnersRequest::ClusterIdentifierHasBeenSet
bool ClusterIdentifierHasBeenSet() const
Definition: DescribePartnersRequest.h:90
Aws::Redshift::Model::DescribePartnersRequest::SetDatabaseName
void SetDatabaseName(const char *value)
Definition: DescribePartnersRequest.h:162
Aws::Redshift::Model::DescribePartnersRequest::WithPartnerName
DescribePartnersRequest & WithPartnerName(const char *value)
Definition: DescribePartnersRequest.h:232
Aws::Redshift::Model::DescribePartnersRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Redshift::Model::DescribePartnersRequest::GetDatabaseName
const Aws::String & GetDatabaseName() const
Definition: DescribePartnersRequest.h:134
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribePartnersRequest::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: DescribePartnersRequest.h:47
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
AWSString.h
Aws::Redshift::Model::DescribePartnersRequest::SetClusterIdentifier
void SetClusterIdentifier(const Aws::String &value)
Definition: DescribePartnersRequest.h:96
Aws::Redshift::Model::DescribePartnersRequest::SetClusterIdentifier
void SetClusterIdentifier(const char *value)
Definition: DescribePartnersRequest.h:108
Aws::Redshift::Model::DescribePartnersRequest::GetPartnerName
const Aws::String & GetPartnerName() const
Definition: DescribePartnersRequest.h:190
Aws::Redshift::Model::DescribePartnersRequest::WithPartnerName
DescribePartnersRequest & WithPartnerName(Aws::String &&value)
Definition: DescribePartnersRequest.h:226
Aws::Redshift::Model::DescribePartnersRequest::SetPartnerName
void SetPartnerName(const Aws::String &value)
Definition: DescribePartnersRequest.h:202
Aws::Redshift::Model::DescribePartnersRequest::SetPartnerName
void SetPartnerName(Aws::String &&value)
Definition: DescribePartnersRequest.h:208
Aws::Redshift::Model::DescribePartnersRequest::PartnerNameHasBeenSet
bool PartnerNameHasBeenSet() const
Definition: DescribePartnersRequest.h:196
Aws::Redshift::Model::DescribePartnersRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::DescribePartnersRequest::DatabaseNameHasBeenSet
bool DatabaseNameHasBeenSet() const
Definition: DescribePartnersRequest.h:141
Redshift_EXPORTS.h
Aws::Redshift::Model::DescribePartnersRequest::SetClusterIdentifier
void SetClusterIdentifier(Aws::String &&value)
Definition: DescribePartnersRequest.h:102
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DescribePartnersRequest::GetClusterIdentifier
const Aws::String & GetClusterIdentifier() const
Definition: DescribePartnersRequest.h:84
Aws::Redshift::Model::DescribePartnersRequest::WithClusterIdentifier
DescribePartnersRequest & WithClusterIdentifier(Aws::String &&value)
Definition: DescribePartnersRequest.h:120
Aws::Redshift::Model::DescribePartnersRequest::WithPartnerName
DescribePartnersRequest & WithPartnerName(const Aws::String &value)
Definition: DescribePartnersRequest.h:220
Aws::Redshift::Model::DescribePartnersRequest::WithDatabaseName
DescribePartnersRequest & WithDatabaseName(const Aws::String &value)
Definition: DescribePartnersRequest.h:169
Aws::Redshift::Model::DescribePartnersRequest::WithAccountId
DescribePartnersRequest & WithAccountId(const char *value)
Definition: DescribePartnersRequest.h:77
Aws::Redshift::Model::DescribePartnersRequest
Definition: DescribePartnersRequest.h:22
Aws::Redshift::Model::DescribePartnersRequest::WithAccountId
DescribePartnersRequest & WithAccountId(Aws::String &&value)
Definition: DescribePartnersRequest.h:72