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