AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DeletePartnerRequest.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 DeletePartnerRequest() = 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 "DeletePartner"; }
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>
47 DeletePartnerRequest& WithAccountId(AccountIdT&& value) {
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 DeletePartnerRequest& WithClusterIdentifier(ClusterIdentifierT&& value) {
67 SetClusterIdentifier(std::forward<ClusterIdentifierT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
77 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
78 template <typename DatabaseNameT = Aws::String>
79 void SetDatabaseName(DatabaseNameT&& value) {
80 m_databaseNameHasBeenSet = true;
81 m_databaseName = std::forward<DatabaseNameT>(value);
82 }
83 template <typename DatabaseNameT = Aws::String>
84 DeletePartnerRequest& WithDatabaseName(DatabaseNameT&& value) {
85 SetDatabaseName(std::forward<DatabaseNameT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetPartnerName() const { return m_partnerName; }
95 inline bool PartnerNameHasBeenSet() const { return m_partnerNameHasBeenSet; }
96 template <typename PartnerNameT = Aws::String>
97 void SetPartnerName(PartnerNameT&& value) {
98 m_partnerNameHasBeenSet = true;
99 m_partnerName = std::forward<PartnerNameT>(value);
100 }
101 template <typename PartnerNameT = Aws::String>
102 DeletePartnerRequest& WithPartnerName(PartnerNameT&& value) {
103 SetPartnerName(std::forward<PartnerNameT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_accountId;
109
110 Aws::String m_clusterIdentifier;
111
112 Aws::String m_databaseName;
113
114 Aws::String m_partnerName;
115 bool m_accountIdHasBeenSet = false;
116 bool m_clusterIdentifierHasBeenSet = false;
117 bool m_databaseNameHasBeenSet = false;
118 bool m_partnerNameHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace Redshift
123} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DeletePartnerRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
AWS_REDSHIFT_API DeletePartnerRequest()=default
DeletePartnerRequest & WithAccountId(AccountIdT &&value)
DeletePartnerRequest & WithPartnerName(PartnerNameT &&value)
void SetClusterIdentifier(ClusterIdentifierT &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DeletePartnerRequest & WithDatabaseName(DatabaseNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String