AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDomainsResult.h
1
6#pragma once
7#include <aws/cloudsearch/CloudSearch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/cloudsearch/model/ResponseMetadata.h>
10#include <aws/cloudsearch/model/DomainStatus.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 CloudSearch
26{
27namespace Model
28{
37 {
38 public:
39 AWS_CLOUDSEARCH_API DescribeDomainsResult();
42
43
45
46 inline const Aws::Vector<DomainStatus>& GetDomainStatusList() const{ return m_domainStatusList; }
47 inline void SetDomainStatusList(const Aws::Vector<DomainStatus>& value) { m_domainStatusList = value; }
48 inline void SetDomainStatusList(Aws::Vector<DomainStatus>&& value) { m_domainStatusList = std::move(value); }
51 inline DescribeDomainsResult& AddDomainStatusList(const DomainStatus& value) { m_domainStatusList.push_back(value); return *this; }
52 inline DescribeDomainsResult& AddDomainStatusList(DomainStatus&& value) { m_domainStatusList.push_back(std::move(value)); return *this; }
54
56
57 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
58 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
59 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
61 inline DescribeDomainsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
63 private:
64
65 Aws::Vector<DomainStatus> m_domainStatusList;
66
67 ResponseMetadata m_responseMetadata;
68 };
69
70} // namespace Model
71} // namespace CloudSearch
72} // namespace Aws
DescribeDomainsResult & AddDomainStatusList(const DomainStatus &value)
DescribeDomainsResult & AddDomainStatusList(DomainStatus &&value)
const Aws::Vector< DomainStatus > & GetDomainStatusList() const
AWS_CLOUDSEARCH_API DescribeDomainsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeDomainsResult & WithDomainStatusList(const Aws::Vector< DomainStatus > &value)
void SetResponseMetadata(const ResponseMetadata &value)
DescribeDomainsResult & WithDomainStatusList(Aws::Vector< DomainStatus > &&value)
AWS_CLOUDSEARCH_API DescribeDomainsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeDomainsResult & WithResponseMetadata(ResponseMetadata &&value)
void SetDomainStatusList(const Aws::Vector< DomainStatus > &value)
DescribeDomainsResult & WithResponseMetadata(const ResponseMetadata &value)
void SetDomainStatusList(Aws::Vector< DomainStatus > &&value)
const ResponseMetadata & GetResponseMetadata() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument