AWS SDK for C++  1.9.104
AWS SDK for C++
DeletePartnerResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace Redshift
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
40 
44  inline void SetDatabaseName(const Aws::String& value) { m_databaseName = value; }
45 
49  inline void SetDatabaseName(Aws::String&& value) { m_databaseName = std::move(value); }
50 
54  inline void SetDatabaseName(const char* value) { m_databaseName.assign(value); }
55 
59  inline DeletePartnerResult& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
60 
64  inline DeletePartnerResult& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
65 
69  inline DeletePartnerResult& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
70 
71 
75  inline const Aws::String& GetPartnerName() const{ return m_partnerName; }
76 
80  inline void SetPartnerName(const Aws::String& value) { m_partnerName = value; }
81 
85  inline void SetPartnerName(Aws::String&& value) { m_partnerName = std::move(value); }
86 
90  inline void SetPartnerName(const char* value) { m_partnerName.assign(value); }
91 
95  inline DeletePartnerResult& WithPartnerName(const Aws::String& value) { SetPartnerName(value); return *this;}
96 
100  inline DeletePartnerResult& WithPartnerName(Aws::String&& value) { SetPartnerName(std::move(value)); return *this;}
101 
105  inline DeletePartnerResult& WithPartnerName(const char* value) { SetPartnerName(value); return *this;}
106 
107 
108 
109  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
110 
111 
112  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
113 
114 
115  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
116 
117 
118  inline DeletePartnerResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
119 
120 
121  inline DeletePartnerResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
122 
123  private:
124 
125  Aws::String m_databaseName;
126 
127  Aws::String m_partnerName;
128 
129  ResponseMetadata m_responseMetadata;
130  };
131 
132 } // namespace Model
133 } // namespace Redshift
134 } // namespace Aws
Aws::Redshift::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Redshift::Model::DeletePartnerResult::SetDatabaseName
void SetDatabaseName(const Aws::String &value)
Definition: DeletePartnerResult.h:44
Aws::Redshift::Model::DeletePartnerResult::WithPartnerName
DeletePartnerResult & WithPartnerName(const Aws::String &value)
Definition: DeletePartnerResult.h:95
Aws::Redshift::Model::DeletePartnerResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DeletePartnerResult.h:115
Aws::Redshift::Model::DeletePartnerResult::WithDatabaseName
DeletePartnerResult & WithDatabaseName(const char *value)
Definition: DeletePartnerResult.h:69
Aws::Redshift::Model::DeletePartnerResult::WithResponseMetadata
DeletePartnerResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DeletePartnerResult.h:121
Aws::Redshift::Model::DeletePartnerResult::WithResponseMetadata
DeletePartnerResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DeletePartnerResult.h:118
Aws::Redshift::Model::DeletePartnerResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DeletePartnerResult.h:109
Aws::Redshift::Model::DeletePartnerResult::SetDatabaseName
void SetDatabaseName(Aws::String &&value)
Definition: DeletePartnerResult.h:49
Aws::Redshift::Model::DeletePartnerResult::WithDatabaseName
DeletePartnerResult & WithDatabaseName(Aws::String &&value)
Definition: DeletePartnerResult.h:64
Aws::Redshift::Model::DeletePartnerResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DeletePartnerResult.h:112
Aws::Redshift::Model::DeletePartnerResult::WithDatabaseName
DeletePartnerResult & WithDatabaseName(const Aws::String &value)
Definition: DeletePartnerResult.h:59
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DeletePartnerResult::SetPartnerName
void SetPartnerName(Aws::String &&value)
Definition: DeletePartnerResult.h:85
Aws::Redshift::Model::DeletePartnerResult::DeletePartnerResult
DeletePartnerResult()
Aws::Redshift::Model::DeletePartnerResult::WithPartnerName
DeletePartnerResult & WithPartnerName(Aws::String &&value)
Definition: DeletePartnerResult.h:100
AWSString.h
Aws::Redshift::Model::DeletePartnerResult
Definition: DeletePartnerResult.h:29
Aws::Redshift::Model::DeletePartnerResult::GetPartnerName
const Aws::String & GetPartnerName() const
Definition: DeletePartnerResult.h:75
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::Redshift::Model::DeletePartnerResult::GetDatabaseName
const Aws::String & GetDatabaseName() const
Definition: DeletePartnerResult.h:39
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DeletePartnerResult::SetDatabaseName
void SetDatabaseName(const char *value)
Definition: DeletePartnerResult.h:54
ResponseMetadata.h
Aws::Redshift::Model::DeletePartnerResult::operator=
DeletePartnerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::DeletePartnerResult::SetPartnerName
void SetPartnerName(const Aws::String &value)
Definition: DeletePartnerResult.h:80
Aws::Redshift::Model::DeletePartnerResult::WithPartnerName
DeletePartnerResult & WithPartnerName(const char *value)
Definition: DeletePartnerResult.h:105
Aws::Redshift::Model::DeletePartnerResult::SetPartnerName
void SetPartnerName(const char *value)
Definition: DeletePartnerResult.h:90
Aws::Redshift::Model::DeletePartnerResult::DeletePartnerResult
DeletePartnerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)