AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeDomainsRequest.h
1
6#pragma once
7#include <aws/cloudsearch/CloudSearch_EXPORTS.h>
8#include <aws/cloudsearch/CloudSearchRequest.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 CloudSearch
16{
17namespace Model
18{
19
29 {
30 public:
31 AWS_CLOUDSEARCH_API DescribeDomainsRequest() = default;
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_CLOUDSEARCH_API Aws::String SerializePayload() const override;
40
41 protected:
42 AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
43
44 public:
45
47
50 inline const Aws::Vector<Aws::String>& GetDomainNames() const { return m_domainNames; }
51 inline bool DomainNamesHasBeenSet() const { return m_domainNamesHasBeenSet; }
52 template<typename DomainNamesT = Aws::Vector<Aws::String>>
53 void SetDomainNames(DomainNamesT&& value) { m_domainNamesHasBeenSet = true; m_domainNames = std::forward<DomainNamesT>(value); }
54 template<typename DomainNamesT = Aws::Vector<Aws::String>>
55 DescribeDomainsRequest& WithDomainNames(DomainNamesT&& value) { SetDomainNames(std::forward<DomainNamesT>(value)); return *this;}
56 template<typename DomainNamesT = Aws::String>
57 DescribeDomainsRequest& AddDomainNames(DomainNamesT&& value) { m_domainNamesHasBeenSet = true; m_domainNames.emplace_back(std::forward<DomainNamesT>(value)); return *this; }
59 private:
60
61 Aws::Vector<Aws::String> m_domainNames;
62 bool m_domainNamesHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace CloudSearch
67} // namespace Aws
AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_CLOUDSEARCH_API DescribeDomainsRequest()=default
DescribeDomainsRequest & AddDomainNames(DomainNamesT &&value)
virtual const char * GetServiceRequestName() const override
DescribeDomainsRequest & WithDomainNames(DomainNamesT &&value)
AWS_CLOUDSEARCH_API Aws::String SerializePayload() const override
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