AWS SDK for C++

AWS SDK for C++ Version 1.11.714

Loading...
Searching...
No Matches
DescribePartnersRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/redshift/Redshift_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Redshift {
15namespace Model {
16
20 public:
21 AWS_REDSHIFT_API DescribePartnersRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribePartners"; }
28
29 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
30
31 protected:
32 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
33
34 public:
36
39 inline const Aws::String& GetAccountId() const { return m_accountId; }
40 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
41 template <typename AccountIdT = Aws::String>
42 void SetAccountId(AccountIdT&& value) {
43 m_accountIdHasBeenSet = true;
44 m_accountId = std::forward<AccountIdT>(value);
45 }
46 template <typename AccountIdT = Aws::String>
48 SetAccountId(std::forward<AccountIdT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
59 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
60 template <typename ClusterIdentifierT = Aws::String>
61 void SetClusterIdentifier(ClusterIdentifierT&& value) {
62 m_clusterIdentifierHasBeenSet = true;
63 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
64 }
65 template <typename ClusterIdentifierT = Aws::String>
66 DescribePartnersRequest& WithClusterIdentifier(ClusterIdentifierT&& value) {
67 SetClusterIdentifier(std::forward<ClusterIdentifierT>(value));
68 return *this;
69 }
71
73
78 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
79 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
80 template <typename DatabaseNameT = Aws::String>
81 void SetDatabaseName(DatabaseNameT&& value) {
82 m_databaseNameHasBeenSet = true;
83 m_databaseName = std::forward<DatabaseNameT>(value);
84 }
85 template <typename DatabaseNameT = Aws::String>
86 DescribePartnersRequest& WithDatabaseName(DatabaseNameT&& value) {
87 SetDatabaseName(std::forward<DatabaseNameT>(value));
88 return *this;
89 }
91
93
97 inline const Aws::String& GetPartnerName() const { return m_partnerName; }
98 inline bool PartnerNameHasBeenSet() const { return m_partnerNameHasBeenSet; }
99 template <typename PartnerNameT = Aws::String>
100 void SetPartnerName(PartnerNameT&& value) {
101 m_partnerNameHasBeenSet = true;
102 m_partnerName = std::forward<PartnerNameT>(value);
103 }
104 template <typename PartnerNameT = Aws::String>
106 SetPartnerName(std::forward<PartnerNameT>(value));
107 return *this;
108 }
110 private:
111 Aws::String m_accountId;
112
113 Aws::String m_clusterIdentifier;
114
115 Aws::String m_databaseName;
116
117 Aws::String m_partnerName;
118 bool m_accountIdHasBeenSet = false;
119 bool m_clusterIdentifierHasBeenSet = false;
120 bool m_databaseNameHasBeenSet = false;
121 bool m_partnerNameHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace Redshift
126} // namespace Aws
AWS_REDSHIFT_API DescribePartnersRequest()=default
void SetClusterIdentifier(ClusterIdentifierT &&value)
DescribePartnersRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
DescribePartnersRequest & WithDatabaseName(DatabaseNameT &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribePartnersRequest & WithPartnerName(PartnerNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribePartnersRequest & WithAccountId(AccountIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String