AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeIndexFieldsRequest.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/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CloudSearch
16{
17namespace Model
18{
19
31 {
32 public:
33 AWS_CLOUDSEARCH_API DescribeIndexFieldsRequest() = default;
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "DescribeIndexFields"; }
40
41 AWS_CLOUDSEARCH_API Aws::String SerializePayload() const override;
42
43 protected:
44 AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
45
46 public:
47
49
52 inline const Aws::String& GetDomainName() const { return m_domainName; }
53 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
54 template<typename DomainNameT = Aws::String>
55 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
56 template<typename DomainNameT = Aws::String>
57 DescribeIndexFieldsRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
59
61
65 inline const Aws::Vector<Aws::String>& GetFieldNames() const { return m_fieldNames; }
66 inline bool FieldNamesHasBeenSet() const { return m_fieldNamesHasBeenSet; }
67 template<typename FieldNamesT = Aws::Vector<Aws::String>>
68 void SetFieldNames(FieldNamesT&& value) { m_fieldNamesHasBeenSet = true; m_fieldNames = std::forward<FieldNamesT>(value); }
69 template<typename FieldNamesT = Aws::Vector<Aws::String>>
70 DescribeIndexFieldsRequest& WithFieldNames(FieldNamesT&& value) { SetFieldNames(std::forward<FieldNamesT>(value)); return *this;}
71 template<typename FieldNamesT = Aws::String>
72 DescribeIndexFieldsRequest& AddFieldNames(FieldNamesT&& value) { m_fieldNamesHasBeenSet = true; m_fieldNames.emplace_back(std::forward<FieldNamesT>(value)); return *this; }
74
76
80 inline bool GetDeployed() const { return m_deployed; }
81 inline bool DeployedHasBeenSet() const { return m_deployedHasBeenSet; }
82 inline void SetDeployed(bool value) { m_deployedHasBeenSet = true; m_deployed = value; }
83 inline DescribeIndexFieldsRequest& WithDeployed(bool value) { SetDeployed(value); return *this;}
85 private:
86
87 Aws::String m_domainName;
88 bool m_domainNameHasBeenSet = false;
89
90 Aws::Vector<Aws::String> m_fieldNames;
91 bool m_fieldNamesHasBeenSet = false;
92
93 bool m_deployed{false};
94 bool m_deployedHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace CloudSearch
99} // namespace Aws
DescribeIndexFieldsRequest & AddFieldNames(FieldNamesT &&value)
DescribeIndexFieldsRequest & WithDomainName(DomainNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeIndexFieldsRequest & WithFieldNames(FieldNamesT &&value)
const Aws::Vector< Aws::String > & GetFieldNames() const
DescribeIndexFieldsRequest & WithDeployed(bool value)
AWS_CLOUDSEARCH_API Aws::String SerializePayload() const override
AWS_CLOUDSEARCH_API DescribeIndexFieldsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector