AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeDomainsRequest.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 
35  {
36  public:
38  Aws::String SerializePayload() const override;
39 
43  inline const Aws::Vector<Aws::String>& GetDomainNames() const{ return m_domainNames; }
44 
48  inline void SetDomainNames(const Aws::Vector<Aws::String>& value) { m_domainNamesHasBeenSet = true; m_domainNames = value; }
49 
53  inline void SetDomainNames(Aws::Vector<Aws::String>&& value) { m_domainNamesHasBeenSet = true; m_domainNames = value; }
54 
58  inline DescribeDomainsRequest& WithDomainNames(const Aws::Vector<Aws::String>& value) { SetDomainNames(value); return *this;}
59 
63  inline DescribeDomainsRequest& WithDomainNames(Aws::Vector<Aws::String>&& value) { SetDomainNames(value); return *this;}
64 
68  inline DescribeDomainsRequest& AddDomainNames(const Aws::String& value) { m_domainNamesHasBeenSet = true; m_domainNames.push_back(value); return *this; }
69 
73  inline DescribeDomainsRequest& AddDomainNames(Aws::String&& value) { m_domainNamesHasBeenSet = true; m_domainNames.push_back(value); return *this; }
74 
78  inline DescribeDomainsRequest& AddDomainNames(const char* value) { m_domainNamesHasBeenSet = true; m_domainNames.push_back(value); return *this; }
79 
80  private:
81  Aws::Vector<Aws::String> m_domainNames;
82  bool m_domainNamesHasBeenSet;
83  };
84 
85 } // namespace Model
86 } // namespace CloudSearch
87 } // namespace Aws
void SetDomainNames(const Aws::Vector< Aws::String > &value)
DescribeDomainsRequest & AddDomainNames(const char *value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DescribeDomainsRequest & AddDomainNames(Aws::String &&value)
DescribeDomainsRequest & AddDomainNames(const Aws::String &value)
void SetDomainNames(Aws::Vector< Aws::String > &&value)
DescribeDomainsRequest & WithDomainNames(const Aws::Vector< Aws::String > &value)
#define AWS_CLOUDSEARCH_API
const Aws::Vector< Aws::String > & GetDomainNames() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeDomainsRequest & WithDomainNames(Aws::Vector< Aws::String > &&value)
JSON (JavaScript Object Notation).