AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdatePartnerStatusRequest.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 <aws/redshift/model/PartnerIntegrationStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Redshift
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_REDSHIFT_API UpdatePartnerStatusRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdatePartnerStatus"; }
32
33 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
44 inline const Aws::String& GetAccountId() const{ return m_accountId; }
45 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
46 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
47 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
48 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
49 inline UpdatePartnerStatusRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
50 inline UpdatePartnerStatusRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
51 inline UpdatePartnerStatusRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
53
55
59 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
60 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
61 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
62 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
63 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
65 inline UpdatePartnerStatusRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
66 inline UpdatePartnerStatusRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
68
70
74 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
75 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
76 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
77 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
78 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
79 inline UpdatePartnerStatusRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
80 inline UpdatePartnerStatusRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
81 inline UpdatePartnerStatusRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
83
85
88 inline const Aws::String& GetPartnerName() const{ return m_partnerName; }
89 inline bool PartnerNameHasBeenSet() const { return m_partnerNameHasBeenSet; }
90 inline void SetPartnerName(const Aws::String& value) { m_partnerNameHasBeenSet = true; m_partnerName = value; }
91 inline void SetPartnerName(Aws::String&& value) { m_partnerNameHasBeenSet = true; m_partnerName = std::move(value); }
92 inline void SetPartnerName(const char* value) { m_partnerNameHasBeenSet = true; m_partnerName.assign(value); }
93 inline UpdatePartnerStatusRequest& WithPartnerName(const Aws::String& value) { SetPartnerName(value); return *this;}
94 inline UpdatePartnerStatusRequest& WithPartnerName(Aws::String&& value) { SetPartnerName(std::move(value)); return *this;}
95 inline UpdatePartnerStatusRequest& WithPartnerName(const char* value) { SetPartnerName(value); return *this;}
97
99
102 inline const PartnerIntegrationStatus& GetStatus() const{ return m_status; }
103 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
104 inline void SetStatus(const PartnerIntegrationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
105 inline void SetStatus(PartnerIntegrationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
106 inline UpdatePartnerStatusRequest& WithStatus(const PartnerIntegrationStatus& value) { SetStatus(value); return *this;}
107 inline UpdatePartnerStatusRequest& WithStatus(PartnerIntegrationStatus&& value) { SetStatus(std::move(value)); return *this;}
109
111
114 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
115 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
116 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
117 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
118 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
119 inline UpdatePartnerStatusRequest& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
120 inline UpdatePartnerStatusRequest& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
121 inline UpdatePartnerStatusRequest& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
123 private:
124
125 Aws::String m_accountId;
126 bool m_accountIdHasBeenSet = false;
127
128 Aws::String m_clusterIdentifier;
129 bool m_clusterIdentifierHasBeenSet = false;
130
131 Aws::String m_databaseName;
132 bool m_databaseNameHasBeenSet = false;
133
134 Aws::String m_partnerName;
135 bool m_partnerNameHasBeenSet = false;
136
138 bool m_statusHasBeenSet = false;
139
140 Aws::String m_statusMessage;
141 bool m_statusMessageHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace Redshift
146} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdatePartnerStatusRequest & WithClusterIdentifier(const Aws::String &value)
UpdatePartnerStatusRequest & WithStatus(PartnerIntegrationStatus &&value)
UpdatePartnerStatusRequest & WithStatusMessage(const char *value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
UpdatePartnerStatusRequest & WithPartnerName(Aws::String &&value)
const PartnerIntegrationStatus & GetStatus() const
UpdatePartnerStatusRequest & WithDatabaseName(const char *value)
UpdatePartnerStatusRequest & WithDatabaseName(const Aws::String &value)
UpdatePartnerStatusRequest & WithStatusMessage(const Aws::String &value)
void SetStatus(const PartnerIntegrationStatus &value)
UpdatePartnerStatusRequest & WithPartnerName(const Aws::String &value)
UpdatePartnerStatusRequest & WithClusterIdentifier(Aws::String &&value)
UpdatePartnerStatusRequest & WithAccountId(Aws::String &&value)
UpdatePartnerStatusRequest & WithClusterIdentifier(const char *value)
UpdatePartnerStatusRequest & WithPartnerName(const char *value)
UpdatePartnerStatusRequest & WithAccountId(const Aws::String &value)
UpdatePartnerStatusRequest & WithStatus(const PartnerIntegrationStatus &value)
UpdatePartnerStatusRequest & WithStatusMessage(Aws::String &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
UpdatePartnerStatusRequest & WithDatabaseName(Aws::String &&value)
UpdatePartnerStatusRequest & WithAccountId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String