AWS SDK for C++  1.8.71
AWS SDK for C++
DescribeIndexFieldsRequest.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 
31  {
32  public:
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::String SerializePayload() const override;
42 
43  protected:
44  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
45 
46  public:
47 
51  inline const Aws::String& GetDomainName() const{ return m_domainName; }
52 
56  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
57 
61  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
62 
66  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
67 
71  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
72 
76  inline DescribeIndexFieldsRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
77 
81  inline DescribeIndexFieldsRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
82 
86  inline DescribeIndexFieldsRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
87 
88 
93  inline const Aws::Vector<Aws::String>& GetFieldNames() const{ return m_fieldNames; }
94 
99  inline bool FieldNamesHasBeenSet() const { return m_fieldNamesHasBeenSet; }
100 
105  inline void SetFieldNames(const Aws::Vector<Aws::String>& value) { m_fieldNamesHasBeenSet = true; m_fieldNames = value; }
106 
111  inline void SetFieldNames(Aws::Vector<Aws::String>&& value) { m_fieldNamesHasBeenSet = true; m_fieldNames = std::move(value); }
112 
117  inline DescribeIndexFieldsRequest& WithFieldNames(const Aws::Vector<Aws::String>& value) { SetFieldNames(value); return *this;}
118 
123  inline DescribeIndexFieldsRequest& WithFieldNames(Aws::Vector<Aws::String>&& value) { SetFieldNames(std::move(value)); return *this;}
124 
129  inline DescribeIndexFieldsRequest& AddFieldNames(const Aws::String& value) { m_fieldNamesHasBeenSet = true; m_fieldNames.push_back(value); return *this; }
130 
135  inline DescribeIndexFieldsRequest& AddFieldNames(Aws::String&& value) { m_fieldNamesHasBeenSet = true; m_fieldNames.push_back(std::move(value)); return *this; }
136 
141  inline DescribeIndexFieldsRequest& AddFieldNames(const char* value) { m_fieldNamesHasBeenSet = true; m_fieldNames.push_back(value); return *this; }
142 
143 
148  inline bool GetDeployed() const{ return m_deployed; }
149 
154  inline bool DeployedHasBeenSet() const { return m_deployedHasBeenSet; }
155 
160  inline void SetDeployed(bool value) { m_deployedHasBeenSet = true; m_deployed = value; }
161 
166  inline DescribeIndexFieldsRequest& WithDeployed(bool value) { SetDeployed(value); return *this;}
167 
168  private:
169 
170  Aws::String m_domainName;
171  bool m_domainNameHasBeenSet;
172 
173  Aws::Vector<Aws::String> m_fieldNames;
174  bool m_fieldNamesHasBeenSet;
175 
176  bool m_deployed;
177  bool m_deployedHasBeenSet;
178  };
179 
180 } // namespace Model
181 } // namespace CloudSearch
182 } // namespace Aws
DescribeIndexFieldsRequest & AddFieldNames(const char *value)
DescribeIndexFieldsRequest & WithDomainName(Aws::String &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
DescribeIndexFieldsRequest & AddFieldNames(const Aws::String &value)
DescribeIndexFieldsRequest & AddFieldNames(Aws::String &&value)
const Aws::Vector< Aws::String > & GetFieldNames() const
DescribeIndexFieldsRequest & WithFieldNames(Aws::Vector< Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
void SetFieldNames(const Aws::Vector< Aws::String > &value)
#define AWS_CLOUDSEARCH_API
DescribeIndexFieldsRequest & WithDeployed(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeIndexFieldsRequest & WithFieldNames(const Aws::Vector< Aws::String > &value)
DescribeIndexFieldsRequest & WithDomainName(const Aws::String &value)
DescribeIndexFieldsRequest & WithDomainName(const char *value)
void SetFieldNames(Aws::Vector< Aws::String > &&value)