AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AddPartnerResult.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/redshift/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace Redshift
25{
26namespace Model
27{
29 {
30 public:
31 AWS_REDSHIFT_API AddPartnerResult();
34
35
37
40 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
41 inline void SetDatabaseName(const Aws::String& value) { m_databaseName = value; }
42 inline void SetDatabaseName(Aws::String&& value) { m_databaseName = std::move(value); }
43 inline void SetDatabaseName(const char* value) { m_databaseName.assign(value); }
44 inline AddPartnerResult& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
45 inline AddPartnerResult& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
46 inline AddPartnerResult& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
48
50
53 inline const Aws::String& GetPartnerName() const{ return m_partnerName; }
54 inline void SetPartnerName(const Aws::String& value) { m_partnerName = value; }
55 inline void SetPartnerName(Aws::String&& value) { m_partnerName = std::move(value); }
56 inline void SetPartnerName(const char* value) { m_partnerName.assign(value); }
57 inline AddPartnerResult& WithPartnerName(const Aws::String& value) { SetPartnerName(value); return *this;}
58 inline AddPartnerResult& WithPartnerName(Aws::String&& value) { SetPartnerName(std::move(value)); return *this;}
59 inline AddPartnerResult& WithPartnerName(const char* value) { SetPartnerName(value); return *this;}
61
63
64 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
65 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
66 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
67 inline AddPartnerResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
68 inline AddPartnerResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
70 private:
71
72 Aws::String m_databaseName;
73
74 Aws::String m_partnerName;
75
76 ResponseMetadata m_responseMetadata;
77 };
78
79} // namespace Model
80} // namespace Redshift
81} // namespace Aws
void SetPartnerName(Aws::String &&value)
void SetDatabaseName(Aws::String &&value)
AddPartnerResult & WithPartnerName(const char *value)
AddPartnerResult & WithDatabaseName(Aws::String &&value)
void SetDatabaseName(const Aws::String &value)
const ResponseMetadata & GetResponseMetadata() const
AddPartnerResult & WithPartnerName(const Aws::String &value)
AddPartnerResult & WithDatabaseName(const Aws::String &value)
const Aws::String & GetPartnerName() const
const Aws::String & GetDatabaseName() const
AddPartnerResult & WithResponseMetadata(ResponseMetadata &&value)
void SetPartnerName(const Aws::String &value)
void SetResponseMetadata(ResponseMetadata &&value)
AWS_REDSHIFT_API AddPartnerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_REDSHIFT_API AddPartnerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AddPartnerResult & WithDatabaseName(const char *value)
AddPartnerResult & WithResponseMetadata(const ResponseMetadata &value)
void SetResponseMetadata(const ResponseMetadata &value)
AddPartnerResult & WithPartnerName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument