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/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();
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 inline void SetDomainNames(const Aws::Vector<Aws::String>& value) { m_domainNamesHasBeenSet = true; m_domainNames = value; }
53 inline void SetDomainNames(Aws::Vector<Aws::String>&& value) { m_domainNamesHasBeenSet = true; m_domainNames = std::move(value); }
55 inline DescribeDomainsRequest& WithDomainNames(Aws::Vector<Aws::String>&& value) { SetDomainNames(std::move(value)); return *this;}
56 inline DescribeDomainsRequest& AddDomainNames(const Aws::String& value) { m_domainNamesHasBeenSet = true; m_domainNames.push_back(value); return *this; }
57 inline DescribeDomainsRequest& AddDomainNames(Aws::String&& value) { m_domainNamesHasBeenSet = true; m_domainNames.push_back(std::move(value)); return *this; }
58 inline DescribeDomainsRequest& AddDomainNames(const char* value) { m_domainNamesHasBeenSet = true; m_domainNames.push_back(value); return *this; }
60 private:
61
62 Aws::Vector<Aws::String> m_domainNames;
63 bool m_domainNamesHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace CloudSearch
68} // namespace Aws
DescribeDomainsRequest & AddDomainNames(const char *value)
void SetDomainNames(const Aws::Vector< Aws::String > &value)
AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDomainsRequest & AddDomainNames(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
DescribeDomainsRequest & AddDomainNames(const Aws::String &value)
DescribeDomainsRequest & WithDomainNames(Aws::Vector< Aws::String > &&value)
AWS_CLOUDSEARCH_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetDomainNames() const
DescribeDomainsRequest & WithDomainNames(const Aws::Vector< Aws::String > &value)
void SetDomainNames(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector