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/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/es/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 ElasticsearchService
26{
27namespace Model
28{
37 {
38 public:
39 AWS_ELASTICSEARCHSERVICE_API ListDomainNamesResult();
42
43
45
48 inline const Aws::Vector<DomainInfo>& GetDomainNames() const{ return m_domainNames; }
49 inline void SetDomainNames(const Aws::Vector<DomainInfo>& value) { m_domainNames = value; }
50 inline void SetDomainNames(Aws::Vector<DomainInfo>&& value) { m_domainNames = std::move(value); }
51 inline ListDomainNamesResult& WithDomainNames(const Aws::Vector<DomainInfo>& value) { SetDomainNames(value); return *this;}
52 inline ListDomainNamesResult& WithDomainNames(Aws::Vector<DomainInfo>&& value) { SetDomainNames(std::move(value)); return *this;}
53 inline ListDomainNamesResult& AddDomainNames(const DomainInfo& value) { m_domainNames.push_back(value); return *this; }
54 inline ListDomainNamesResult& AddDomainNames(DomainInfo&& value) { m_domainNames.push_back(std::move(value)); return *this; }
56
58
59 inline const Aws::String& GetRequestId() const{ return m_requestId; }
60 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
61 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
62 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
63 inline ListDomainNamesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
64 inline ListDomainNamesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
65 inline ListDomainNamesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
67 private:
68
69 Aws::Vector<DomainInfo> m_domainNames;
70
71 Aws::String m_requestId;
72 };
73
74} // namespace Model
75} // namespace ElasticsearchService
76} // namespace Aws
const Aws::Vector< DomainInfo > & GetDomainNames() const
AWS_ELASTICSEARCHSERVICE_API ListDomainNamesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListDomainNamesResult & WithRequestId(const Aws::String &value)
ListDomainNamesResult & WithDomainNames(Aws::Vector< DomainInfo > &&value)
void SetDomainNames(Aws::Vector< DomainInfo > &&value)
ListDomainNamesResult & AddDomainNames(DomainInfo &&value)
ListDomainNamesResult & WithDomainNames(const Aws::Vector< DomainInfo > &value)
ListDomainNamesResult & AddDomainNames(const DomainInfo &value)
AWS_ELASTICSEARCHSERVICE_API ListDomainNamesResult()
ListDomainNamesResult & WithRequestId(const char *value)
ListDomainNamesResult & WithRequestId(Aws::String &&value)
void SetDomainNames(const Aws::Vector< DomainInfo > &value)
AWS_ELASTICSEARCHSERVICE_API ListDomainNamesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue