AWS SDK for C++  0.12.9
AWS SDK for C++
DescribeIndexFieldsRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
20 
21 namespace Aws
22 {
23 namespace CloudSearch
24 {
25 namespace Model
26 {
27 
36  {
37  public:
39  Aws::String SerializePayload() const override;
40 
44  inline const Aws::String& GetDomainName() const{ return m_domainName; }
45 
49  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
50 
54  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
55 
59  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
60 
64  inline DescribeIndexFieldsRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
65 
69  inline DescribeIndexFieldsRequest& WithDomainName(Aws::String&& value) { SetDomainName(value); return *this;}
70 
74  inline DescribeIndexFieldsRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
75 
80  inline const Aws::Vector<Aws::String>& GetFieldNames() const{ return m_fieldNames; }
81 
86  inline void SetFieldNames(const Aws::Vector<Aws::String>& value) { m_fieldNamesHasBeenSet = true; m_fieldNames = value; }
87 
92  inline void SetFieldNames(Aws::Vector<Aws::String>&& value) { m_fieldNamesHasBeenSet = true; m_fieldNames = value; }
93 
98  inline DescribeIndexFieldsRequest& WithFieldNames(const Aws::Vector<Aws::String>& value) { SetFieldNames(value); return *this;}
99 
104  inline DescribeIndexFieldsRequest& WithFieldNames(Aws::Vector<Aws::String>&& value) { SetFieldNames(value); return *this;}
105 
110  inline DescribeIndexFieldsRequest& AddFieldNames(const Aws::String& value) { m_fieldNamesHasBeenSet = true; m_fieldNames.push_back(value); return *this; }
111 
116  inline DescribeIndexFieldsRequest& AddFieldNames(Aws::String&& value) { m_fieldNamesHasBeenSet = true; m_fieldNames.push_back(value); return *this; }
117 
122  inline DescribeIndexFieldsRequest& AddFieldNames(const char* value) { m_fieldNamesHasBeenSet = true; m_fieldNames.push_back(value); return *this; }
123 
128  inline bool GetDeployed() const{ return m_deployed; }
129 
134  inline void SetDeployed(bool value) { m_deployedHasBeenSet = true; m_deployed = value; }
135 
140  inline DescribeIndexFieldsRequest& WithDeployed(bool value) { SetDeployed(value); return *this;}
141 
142  private:
143  Aws::String m_domainName;
144  bool m_domainNameHasBeenSet;
145  Aws::Vector<Aws::String> m_fieldNames;
146  bool m_fieldNamesHasBeenSet;
147  bool m_deployed;
148  bool m_deployedHasBeenSet;
149  };
150 
151 } // namespace Model
152 } // namespace CloudSearch
153 } // namespace Aws
DescribeIndexFieldsRequest & AddFieldNames(const char *value)
DescribeIndexFieldsRequest & WithDomainName(Aws::String &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DescribeIndexFieldsRequest & AddFieldNames(const Aws::String &value)
DescribeIndexFieldsRequest & AddFieldNames(Aws::String &&value)
DescribeIndexFieldsRequest & WithFieldNames(Aws::Vector< Aws::String > &&value)
void SetFieldNames(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetFieldNames() const
#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)
JSON (JavaScript Object Notation).