AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeletePartnerRequest.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Redshift
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_REDSHIFT_API DeletePartnerRequest();
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 "DeletePartner"; }
31
32 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
43 inline const Aws::String& GetAccountId() const{ return m_accountId; }
44 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
45 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
46 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
47 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
48 inline DeletePartnerRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
49 inline DeletePartnerRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
50 inline DeletePartnerRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
52
54
58 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
59 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
60 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
61 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
62 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
63 inline DeletePartnerRequest& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
64 inline DeletePartnerRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
65 inline DeletePartnerRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
67
69
72 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
73 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
74 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
75 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
76 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
77 inline DeletePartnerRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
78 inline DeletePartnerRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
79 inline DeletePartnerRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
81
83
86 inline const Aws::String& GetPartnerName() const{ return m_partnerName; }
87 inline bool PartnerNameHasBeenSet() const { return m_partnerNameHasBeenSet; }
88 inline void SetPartnerName(const Aws::String& value) { m_partnerNameHasBeenSet = true; m_partnerName = value; }
89 inline void SetPartnerName(Aws::String&& value) { m_partnerNameHasBeenSet = true; m_partnerName = std::move(value); }
90 inline void SetPartnerName(const char* value) { m_partnerNameHasBeenSet = true; m_partnerName.assign(value); }
91 inline DeletePartnerRequest& WithPartnerName(const Aws::String& value) { SetPartnerName(value); return *this;}
92 inline DeletePartnerRequest& WithPartnerName(Aws::String&& value) { SetPartnerName(std::move(value)); return *this;}
93 inline DeletePartnerRequest& WithPartnerName(const char* value) { SetPartnerName(value); return *this;}
95 private:
96
97 Aws::String m_accountId;
98 bool m_accountIdHasBeenSet = false;
99
100 Aws::String m_clusterIdentifier;
101 bool m_clusterIdentifierHasBeenSet = false;
102
103 Aws::String m_databaseName;
104 bool m_databaseNameHasBeenSet = false;
105
106 Aws::String m_partnerName;
107 bool m_partnerNameHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Redshift
112} // namespace Aws
DeletePartnerRequest & WithDatabaseName(const char *value)
virtual const char * GetServiceRequestName() const override
DeletePartnerRequest & WithAccountId(Aws::String &&value)
DeletePartnerRequest & WithAccountId(const Aws::String &value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DeletePartnerRequest & WithClusterIdentifier(Aws::String &&value)
void SetDatabaseName(const Aws::String &value)
DeletePartnerRequest & WithPartnerName(const Aws::String &value)
DeletePartnerRequest & WithDatabaseName(const Aws::String &value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
void SetClusterIdentifier(const Aws::String &value)
DeletePartnerRequest & WithDatabaseName(Aws::String &&value)
DeletePartnerRequest & WithPartnerName(Aws::String &&value)
DeletePartnerRequest & WithAccountId(const char *value)
DeletePartnerRequest & WithClusterIdentifier(const char *value)
void SetPartnerName(const Aws::String &value)
void SetAccountId(const Aws::String &value)
DeletePartnerRequest & WithClusterIdentifier(const Aws::String &value)
DeletePartnerRequest & WithPartnerName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String