AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDomainsRequest.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/OpenSearchServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace OpenSearchService
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_OPENSEARCHSERVICE_API DescribeDomainsRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DescribeDomains"; }
36
37 AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override;
38
39
41
45 inline const Aws::Vector<Aws::String>& GetDomainNames() const{ return m_domainNames; }
46 inline bool DomainNamesHasBeenSet() const { return m_domainNamesHasBeenSet; }
47 inline void SetDomainNames(const Aws::Vector<Aws::String>& value) { m_domainNamesHasBeenSet = true; m_domainNames = value; }
48 inline void SetDomainNames(Aws::Vector<Aws::String>&& value) { m_domainNamesHasBeenSet = true; m_domainNames = std::move(value); }
50 inline DescribeDomainsRequest& WithDomainNames(Aws::Vector<Aws::String>&& value) { SetDomainNames(std::move(value)); return *this;}
51 inline DescribeDomainsRequest& AddDomainNames(const Aws::String& value) { m_domainNamesHasBeenSet = true; m_domainNames.push_back(value); return *this; }
52 inline DescribeDomainsRequest& AddDomainNames(Aws::String&& value) { m_domainNamesHasBeenSet = true; m_domainNames.push_back(std::move(value)); return *this; }
53 inline DescribeDomainsRequest& AddDomainNames(const char* value) { m_domainNamesHasBeenSet = true; m_domainNames.push_back(value); return *this; }
55 private:
56
57 Aws::Vector<Aws::String> m_domainNames;
58 bool m_domainNamesHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace OpenSearchService
63} // namespace Aws
DescribeDomainsRequest & AddDomainNames(Aws::String &&value)
void SetDomainNames(const Aws::Vector< Aws::String > &value)
virtual const char * GetServiceRequestName() const override
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
void SetDomainNames(Aws::Vector< Aws::String > &&value)
DescribeDomainsRequest & AddDomainNames(const char *value)
DescribeDomainsRequest & WithDomainNames(const Aws::Vector< Aws::String > &value)
DescribeDomainsRequest & WithDomainNames(Aws::Vector< Aws::String > &&value)
DescribeDomainsRequest & AddDomainNames(const Aws::String &value)
const Aws::Vector< Aws::String > & GetDomainNames() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector