AWS SDK for C++  0.12.9
AWS SDK for C++
BuildSuggestersRequest.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
19 
20 namespace Aws
21 {
22 namespace CloudSearch
23 {
24 namespace Model
25 {
26 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
37 
38  inline const Aws::String& GetDomainName() const{ return m_domainName; }
39 
40 
41  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
42 
43 
44  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
45 
46 
47  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
48 
49 
50  inline BuildSuggestersRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
51 
52 
53  inline BuildSuggestersRequest& WithDomainName(Aws::String&& value) { SetDomainName(value); return *this;}
54 
55 
56  inline BuildSuggestersRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
57 
58  private:
59  Aws::String m_domainName;
60  bool m_domainNameHasBeenSet;
61  };
62 
63 } // namespace Model
64 } // namespace CloudSearch
65 } // namespace Aws
BuildSuggestersRequest & WithDomainName(const char *value)
BuildSuggestersRequest & WithDomainName(Aws::String &&value)
#define AWS_CLOUDSEARCH_API
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
JSON (JavaScript Object Notation).
BuildSuggestersRequest & WithDomainName(const Aws::String &value)