AWS SDK for C++  1.9.104
AWS SDK for C++
DescribePartnersResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace Redshift
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<PartnerIntegrationInfo>& GetPartnerIntegrationInfoList() const{ return m_partnerIntegrationInfoList; }
41 
45  inline void SetPartnerIntegrationInfoList(const Aws::Vector<PartnerIntegrationInfo>& value) { m_partnerIntegrationInfoList = value; }
46 
50  inline void SetPartnerIntegrationInfoList(Aws::Vector<PartnerIntegrationInfo>&& value) { m_partnerIntegrationInfoList = std::move(value); }
51 
55  inline DescribePartnersResult& WithPartnerIntegrationInfoList(const Aws::Vector<PartnerIntegrationInfo>& value) { SetPartnerIntegrationInfoList(value); return *this;}
56 
60  inline DescribePartnersResult& WithPartnerIntegrationInfoList(Aws::Vector<PartnerIntegrationInfo>&& value) { SetPartnerIntegrationInfoList(std::move(value)); return *this;}
61 
65  inline DescribePartnersResult& AddPartnerIntegrationInfoList(const PartnerIntegrationInfo& value) { m_partnerIntegrationInfoList.push_back(value); return *this; }
66 
70  inline DescribePartnersResult& AddPartnerIntegrationInfoList(PartnerIntegrationInfo&& value) { m_partnerIntegrationInfoList.push_back(std::move(value)); return *this; }
71 
72 
73 
74  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
75 
76 
77  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
78 
79 
80  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
81 
82 
83  inline DescribePartnersResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
84 
85 
86  inline DescribePartnersResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
87 
88  private:
89 
90  Aws::Vector<PartnerIntegrationInfo> m_partnerIntegrationInfoList;
91 
92  ResponseMetadata m_responseMetadata;
93  };
94 
95 } // namespace Model
96 } // namespace Redshift
97 } // namespace Aws
PartnerIntegrationInfo.h
Aws::Redshift::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::Redshift::Model::DescribePartnersResult::WithPartnerIntegrationInfoList
DescribePartnersResult & WithPartnerIntegrationInfoList(Aws::Vector< PartnerIntegrationInfo > &&value)
Definition: DescribePartnersResult.h:60
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Redshift::Model::DescribePartnersResult::operator=
DescribePartnersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::DescribePartnersResult::AddPartnerIntegrationInfoList
DescribePartnersResult & AddPartnerIntegrationInfoList(PartnerIntegrationInfo &&value)
Definition: DescribePartnersResult.h:70
Aws::Redshift::Model::DescribePartnersResult::SetPartnerIntegrationInfoList
void SetPartnerIntegrationInfoList(const Aws::Vector< PartnerIntegrationInfo > &value)
Definition: DescribePartnersResult.h:45
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Redshift::Model::DescribePartnersResult::WithResponseMetadata
DescribePartnersResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribePartnersResult.h:86
Aws::Redshift::Model::DescribePartnersResult::AddPartnerIntegrationInfoList
DescribePartnersResult & AddPartnerIntegrationInfoList(const PartnerIntegrationInfo &value)
Definition: DescribePartnersResult.h:65
Aws::Redshift::Model::DescribePartnersResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribePartnersResult.h:74
Aws::Redshift::Model::DescribePartnersResult::SetPartnerIntegrationInfoList
void SetPartnerIntegrationInfoList(Aws::Vector< PartnerIntegrationInfo > &&value)
Definition: DescribePartnersResult.h:50
Aws::Redshift::Model::DescribePartnersResult::GetPartnerIntegrationInfoList
const Aws::Vector< PartnerIntegrationInfo > & GetPartnerIntegrationInfoList() const
Definition: DescribePartnersResult.h:40
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribePartnersResult::WithPartnerIntegrationInfoList
DescribePartnersResult & WithPartnerIntegrationInfoList(const Aws::Vector< PartnerIntegrationInfo > &value)
Definition: DescribePartnersResult.h:55
Aws::Redshift::Model::DescribePartnersResult::DescribePartnersResult
DescribePartnersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::DescribePartnersResult
Definition: DescribePartnersResult.h:30
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::DescribePartnersResult::DescribePartnersResult
DescribePartnersResult()
Redshift_EXPORTS.h
Aws::Redshift::Model::DescribePartnersResult::WithResponseMetadata
DescribePartnersResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribePartnersResult.h:83
ResponseMetadata.h
Aws::Redshift::Model::DescribePartnersResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribePartnersResult.h:77
Aws::Redshift::Model::DescribePartnersResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribePartnersResult.h:80
Aws::Redshift::Model::PartnerIntegrationInfo
Definition: PartnerIntegrationInfo.h:34