AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdatePartnerStatusResult.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 UpdatePartnerStatusResult();
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 UpdatePartnerStatusResult& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
45 inline UpdatePartnerStatusResult& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
46 inline UpdatePartnerStatusResult& 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 UpdatePartnerStatusResult& WithPartnerName(const Aws::String& value) { SetPartnerName(value); return *this;}
58 inline UpdatePartnerStatusResult& WithPartnerName(Aws::String&& value) { SetPartnerName(std::move(value)); return *this;}
59 inline UpdatePartnerStatusResult& 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); }
68 inline UpdatePartnerStatusResult& 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
UpdatePartnerStatusResult & WithResponseMetadata(ResponseMetadata &&value)
UpdatePartnerStatusResult & WithDatabaseName(Aws::String &&value)
void SetResponseMetadata(const ResponseMetadata &value)
AWS_REDSHIFT_API UpdatePartnerStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
UpdatePartnerStatusResult & WithResponseMetadata(const ResponseMetadata &value)
AWS_REDSHIFT_API UpdatePartnerStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
UpdatePartnerStatusResult & WithPartnerName(Aws::String &&value)
UpdatePartnerStatusResult & WithDatabaseName(const Aws::String &value)
UpdatePartnerStatusResult & WithDatabaseName(const char *value)
UpdatePartnerStatusResult & WithPartnerName(const Aws::String &value)
UpdatePartnerStatusResult & WithPartnerName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument