AWS SDK for C++  0.12.9
AWS SDK for C++
DescribeAnalysisSchemesRequest.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 
37  {
38  public:
40  Aws::String SerializePayload() const override;
41 
45  inline const Aws::String& GetDomainName() const{ return m_domainName; }
46 
50  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
51 
55  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
56 
60  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
61 
65  inline DescribeAnalysisSchemesRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
66 
70  inline DescribeAnalysisSchemesRequest& WithDomainName(Aws::String&& value) { SetDomainName(value); return *this;}
71 
75  inline DescribeAnalysisSchemesRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
76 
80  inline const Aws::Vector<Aws::String>& GetAnalysisSchemeNames() const{ return m_analysisSchemeNames; }
81 
85  inline void SetAnalysisSchemeNames(const Aws::Vector<Aws::String>& value) { m_analysisSchemeNamesHasBeenSet = true; m_analysisSchemeNames = value; }
86 
90  inline void SetAnalysisSchemeNames(Aws::Vector<Aws::String>&& value) { m_analysisSchemeNamesHasBeenSet = true; m_analysisSchemeNames = value; }
91 
95  inline DescribeAnalysisSchemesRequest& WithAnalysisSchemeNames(const Aws::Vector<Aws::String>& value) { SetAnalysisSchemeNames(value); return *this;}
96 
100  inline DescribeAnalysisSchemesRequest& WithAnalysisSchemeNames(Aws::Vector<Aws::String>&& value) { SetAnalysisSchemeNames(value); return *this;}
101 
105  inline DescribeAnalysisSchemesRequest& AddAnalysisSchemeNames(const Aws::String& value) { m_analysisSchemeNamesHasBeenSet = true; m_analysisSchemeNames.push_back(value); return *this; }
106 
110  inline DescribeAnalysisSchemesRequest& AddAnalysisSchemeNames(Aws::String&& value) { m_analysisSchemeNamesHasBeenSet = true; m_analysisSchemeNames.push_back(value); return *this; }
111 
115  inline DescribeAnalysisSchemesRequest& AddAnalysisSchemeNames(const char* value) { m_analysisSchemeNamesHasBeenSet = true; m_analysisSchemeNames.push_back(value); return *this; }
116 
121  inline bool GetDeployed() const{ return m_deployed; }
122 
127  inline void SetDeployed(bool value) { m_deployedHasBeenSet = true; m_deployed = value; }
128 
133  inline DescribeAnalysisSchemesRequest& WithDeployed(bool value) { SetDeployed(value); return *this;}
134 
135  private:
136  Aws::String m_domainName;
137  bool m_domainNameHasBeenSet;
138  Aws::Vector<Aws::String> m_analysisSchemeNames;
139  bool m_analysisSchemeNamesHasBeenSet;
140  bool m_deployed;
141  bool m_deployedHasBeenSet;
142  };
143 
144 } // namespace Model
145 } // namespace CloudSearch
146 } // namespace Aws
DescribeAnalysisSchemesRequest & WithDomainName(const char *value)
DescribeAnalysisSchemesRequest & WithDomainName(Aws::String &&value)
DescribeAnalysisSchemesRequest & AddAnalysisSchemeNames(const Aws::String &value)
DescribeAnalysisSchemesRequest & WithAnalysisSchemeNames(Aws::Vector< Aws::String > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
const Aws::Vector< Aws::String > & GetAnalysisSchemeNames() const
DescribeAnalysisSchemesRequest & AddAnalysisSchemeNames(Aws::String &&value)
DescribeAnalysisSchemesRequest & WithAnalysisSchemeNames(const Aws::Vector< Aws::String > &value)
DescribeAnalysisSchemesRequest & AddAnalysisSchemeNames(const char *value)
void SetAnalysisSchemeNames(const Aws::Vector< Aws::String > &value)
#define AWS_CLOUDSEARCH_API
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeAnalysisSchemesRequest & WithDomainName(const Aws::String &value)
JSON (JavaScript Object Notation).