AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListDomainNamesResult.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opensearch/model/DomainInfo.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace OpenSearchService
26{
27namespace Model
28{
37 {
38 public:
39 AWS_OPENSEARCHSERVICE_API ListDomainNamesResult();
42
43
45
49 inline const Aws::Vector<DomainInfo>& GetDomainNames() const{ return m_domainNames; }
50 inline void SetDomainNames(const Aws::Vector<DomainInfo>& value) { m_domainNames = value; }
51 inline void SetDomainNames(Aws::Vector<DomainInfo>&& value) { m_domainNames = std::move(value); }
52 inline ListDomainNamesResult& WithDomainNames(const Aws::Vector<DomainInfo>& value) { SetDomainNames(value); return *this;}
53 inline ListDomainNamesResult& WithDomainNames(Aws::Vector<DomainInfo>&& value) { SetDomainNames(std::move(value)); return *this;}
54 inline ListDomainNamesResult& AddDomainNames(const DomainInfo& value) { m_domainNames.push_back(value); return *this; }
55 inline ListDomainNamesResult& AddDomainNames(DomainInfo&& value) { m_domainNames.push_back(std::move(value)); return *this; }
57
59
60 inline const Aws::String& GetRequestId() const{ return m_requestId; }
61 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
62 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
63 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
64 inline ListDomainNamesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
65 inline ListDomainNamesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
66 inline ListDomainNamesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
68 private:
69
70 Aws::Vector<DomainInfo> m_domainNames;
71
72 Aws::String m_requestId;
73 };
74
75} // namespace Model
76} // namespace OpenSearchService
77} // namespace Aws
const Aws::Vector< DomainInfo > & GetDomainNames() const
ListDomainNamesResult & WithRequestId(const char *value)
ListDomainNamesResult & WithDomainNames(const Aws::Vector< DomainInfo > &value)
void SetDomainNames(Aws::Vector< DomainInfo > &&value)
ListDomainNamesResult & AddDomainNames(const DomainInfo &value)
void SetDomainNames(const Aws::Vector< DomainInfo > &value)
ListDomainNamesResult & AddDomainNames(DomainInfo &&value)
AWS_OPENSEARCHSERVICE_API ListDomainNamesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListDomainNamesResult & WithRequestId(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API ListDomainNamesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListDomainNamesResult & WithRequestId(Aws::String &&value)
ListDomainNamesResult & WithDomainNames(Aws::Vector< DomainInfo > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue