AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribePartnersResult.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/redshift/model/ResponseMetadata.h>
10#include <aws/redshift/model/PartnerIntegrationInfo.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace Redshift
26{
27namespace Model
28{
30 {
31 public:
32 AWS_REDSHIFT_API DescribePartnersResult();
35
36
38
41 inline const Aws::Vector<PartnerIntegrationInfo>& GetPartnerIntegrationInfoList() const{ return m_partnerIntegrationInfoList; }
42 inline void SetPartnerIntegrationInfoList(const Aws::Vector<PartnerIntegrationInfo>& value) { m_partnerIntegrationInfoList = value; }
43 inline void SetPartnerIntegrationInfoList(Aws::Vector<PartnerIntegrationInfo>&& value) { m_partnerIntegrationInfoList = std::move(value); }
46 inline DescribePartnersResult& AddPartnerIntegrationInfoList(const PartnerIntegrationInfo& value) { m_partnerIntegrationInfoList.push_back(value); return *this; }
47 inline DescribePartnersResult& AddPartnerIntegrationInfoList(PartnerIntegrationInfo&& value) { m_partnerIntegrationInfoList.push_back(std::move(value)); return *this; }
49
51
52 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
53 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
54 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
56 inline DescribePartnersResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
58 private:
59
60 Aws::Vector<PartnerIntegrationInfo> m_partnerIntegrationInfoList;
61
62 ResponseMetadata m_responseMetadata;
63 };
64
65} // namespace Model
66} // namespace Redshift
67} // namespace Aws
DescribePartnersResult & WithPartnerIntegrationInfoList(Aws::Vector< PartnerIntegrationInfo > &&value)
DescribePartnersResult & AddPartnerIntegrationInfoList(PartnerIntegrationInfo &&value)
void SetResponseMetadata(const ResponseMetadata &value)
DescribePartnersResult & WithResponseMetadata(const ResponseMetadata &value)
AWS_REDSHIFT_API DescribePartnersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< PartnerIntegrationInfo > & GetPartnerIntegrationInfoList() const
const ResponseMetadata & GetResponseMetadata() const
AWS_REDSHIFT_API DescribePartnersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetPartnerIntegrationInfoList(Aws::Vector< PartnerIntegrationInfo > &&value)
void SetPartnerIntegrationInfoList(const Aws::Vector< PartnerIntegrationInfo > &value)
DescribePartnersResult & AddPartnerIntegrationInfoList(const PartnerIntegrationInfo &value)
DescribePartnersResult & WithPartnerIntegrationInfoList(const Aws::Vector< PartnerIntegrationInfo > &value)
DescribePartnersResult & WithResponseMetadata(ResponseMetadata &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument