AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
55 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
56 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
57 inline DescribeIndexFieldsRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
58 inline DescribeIndexFieldsRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
59 inline DescribeIndexFieldsRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
61
63
67 inline const Aws::Vector<Aws::String>& GetFieldNames() const{ return m_fieldNames; }
68 inline bool FieldNamesHasBeenSet() const { return m_fieldNamesHasBeenSet; }
69 inline void SetFieldNames(const Aws::Vector<Aws::String>& value) { m_fieldNamesHasBeenSet = true; m_fieldNames = value; }
70 inline void SetFieldNames(Aws::Vector<Aws::String>&& value) { m_fieldNamesHasBeenSet = true; m_fieldNames = std::move(value); }
72 inline DescribeIndexFieldsRequest& WithFieldNames(Aws::Vector<Aws::String>&& value) { SetFieldNames(std::move(value)); return *this;}
73 inline DescribeIndexFieldsRequest& AddFieldNames(const Aws::String& value) { m_fieldNamesHasBeenSet = true; m_fieldNames.push_back(value); return *this; }
74 inline DescribeIndexFieldsRequest& AddFieldNames(Aws::String&& value) { m_fieldNamesHasBeenSet = true; m_fieldNames.push_back(std::move(value)); return *this; }
75 inline DescribeIndexFieldsRequest& AddFieldNames(const char* value) { m_fieldNamesHasBeenSet = true; m_fieldNames.push_back(value); return *this; }
77
79
83 inline bool GetDeployed() const{ return m_deployed; }
84 inline bool DeployedHasBeenSet() const { return m_deployedHasBeenSet; }
85 inline void SetDeployed(bool value) { m_deployedHasBeenSet = true; m_deployed = value; }
86 inline DescribeIndexFieldsRequest& WithDeployed(bool value) { SetDeployed(value); return *this;}
88 private:
89
90 Aws::String m_domainName;
91 bool m_domainNameHasBeenSet = false;
92
93 Aws::Vector<Aws::String> m_fieldNames;
94 bool m_fieldNamesHasBeenSet = false;
95
96 bool m_deployed;
97 bool m_deployedHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace CloudSearch
102} // namespace Aws
DescribeIndexFieldsRequest & AddFieldNames(const Aws::String &value)
DescribeIndexFieldsRequest & WithDomainName(const Aws::String &value)
void SetFieldNames(const Aws::Vector< Aws::String > &value)
DescribeIndexFieldsRequest & WithDomainName(const char *value)
DescribeIndexFieldsRequest & AddFieldNames(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::Vector< Aws::String > & GetFieldNames() const
DescribeIndexFieldsRequest & AddFieldNames(Aws::String &&value)
DescribeIndexFieldsRequest & WithDeployed(bool value)
DescribeIndexFieldsRequest & WithDomainName(Aws::String &&value)
DescribeIndexFieldsRequest & WithFieldNames(Aws::Vector< Aws::String > &&value)
DescribeIndexFieldsRequest & WithFieldNames(const Aws::Vector< Aws::String > &value)
AWS_CLOUDSEARCH_API Aws::String SerializePayload() const override
void SetFieldNames(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector