AWS SDK for C++  1.9.106
AWS SDK for C++
DescribeElasticsearchDomainsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ElasticsearchService
16 {
17 namespace Model
18 {
19 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "DescribeElasticsearchDomains"; }
37 
38  Aws::String SerializePayload() const override;
39 
40 
44  inline const Aws::Vector<Aws::String>& GetDomainNames() const{ return m_domainNames; }
45 
49  inline bool DomainNamesHasBeenSet() const { return m_domainNamesHasBeenSet; }
50 
54  inline void SetDomainNames(const Aws::Vector<Aws::String>& value) { m_domainNamesHasBeenSet = true; m_domainNames = value; }
55 
59  inline void SetDomainNames(Aws::Vector<Aws::String>&& value) { m_domainNamesHasBeenSet = true; m_domainNames = std::move(value); }
60 
64  inline DescribeElasticsearchDomainsRequest& WithDomainNames(const Aws::Vector<Aws::String>& value) { SetDomainNames(value); return *this;}
65 
69  inline DescribeElasticsearchDomainsRequest& WithDomainNames(Aws::Vector<Aws::String>&& value) { SetDomainNames(std::move(value)); return *this;}
70 
74  inline DescribeElasticsearchDomainsRequest& AddDomainNames(const Aws::String& value) { m_domainNamesHasBeenSet = true; m_domainNames.push_back(value); return *this; }
75 
79  inline DescribeElasticsearchDomainsRequest& AddDomainNames(Aws::String&& value) { m_domainNamesHasBeenSet = true; m_domainNames.push_back(std::move(value)); return *this; }
80 
84  inline DescribeElasticsearchDomainsRequest& AddDomainNames(const char* value) { m_domainNamesHasBeenSet = true; m_domainNames.push_back(value); return *this; }
85 
86  private:
87 
88  Aws::Vector<Aws::String> m_domainNames;
89  bool m_domainNamesHasBeenSet;
90  };
91 
92 } // namespace Model
93 } // namespace ElasticsearchService
94 } // namespace Aws
Aws::ElasticsearchService::ElasticsearchServiceRequest
Definition: ElasticsearchServiceRequest.h:17
ElasticsearchServiceRequest.h
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainsRequest::DomainNamesHasBeenSet
bool DomainNamesHasBeenSet() const
Definition: DescribeElasticsearchDomainsRequest.h:49
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainsRequest::WithDomainNames
DescribeElasticsearchDomainsRequest & WithDomainNames(const Aws::Vector< Aws::String > &value)
Definition: DescribeElasticsearchDomainsRequest.h:64
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeElasticsearchDomainsRequest.h:36
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainsRequest
Definition: DescribeElasticsearchDomainsRequest.h:28
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainsRequest::SetDomainNames
void SetDomainNames(Aws::Vector< Aws::String > &&value)
Definition: DescribeElasticsearchDomainsRequest.h:59
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainsRequest::GetDomainNames
const Aws::Vector< Aws::String > & GetDomainNames() const
Definition: DescribeElasticsearchDomainsRequest.h:44
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainsRequest::AddDomainNames
DescribeElasticsearchDomainsRequest & AddDomainNames(const char *value)
Definition: DescribeElasticsearchDomainsRequest.h:84
AWSString.h
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainsRequest::DescribeElasticsearchDomainsRequest
DescribeElasticsearchDomainsRequest()
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainsRequest::AddDomainNames
DescribeElasticsearchDomainsRequest & AddDomainNames(Aws::String &&value)
Definition: DescribeElasticsearchDomainsRequest.h:79
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainsRequest::SetDomainNames
void SetDomainNames(const Aws::Vector< Aws::String > &value)
Definition: DescribeElasticsearchDomainsRequest.h:54
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainsRequest::AddDomainNames
DescribeElasticsearchDomainsRequest & AddDomainNames(const Aws::String &value)
Definition: DescribeElasticsearchDomainsRequest.h:74
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainsRequest::WithDomainNames
DescribeElasticsearchDomainsRequest & WithDomainNames(Aws::Vector< Aws::String > &&value)
Definition: DescribeElasticsearchDomainsRequest.h:69