AWS SDK for C++  0.14.3
AWS SDK for C++
DeleteSuggesterRequest.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 
33  {
34  public:
36  Aws::String SerializePayload() const override;
37 
38 
39  inline const Aws::String& GetDomainName() const{ return m_domainName; }
40 
41 
42  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
43 
44 
45  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
46 
47 
48  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
49 
50 
51  inline DeleteSuggesterRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
52 
53 
54  inline DeleteSuggesterRequest& WithDomainName(Aws::String&& value) { SetDomainName(value); return *this;}
55 
56 
57  inline DeleteSuggesterRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
58 
62  inline const Aws::String& GetSuggesterName() const{ return m_suggesterName; }
63 
67  inline void SetSuggesterName(const Aws::String& value) { m_suggesterNameHasBeenSet = true; m_suggesterName = value; }
68 
72  inline void SetSuggesterName(Aws::String&& value) { m_suggesterNameHasBeenSet = true; m_suggesterName = value; }
73 
77  inline void SetSuggesterName(const char* value) { m_suggesterNameHasBeenSet = true; m_suggesterName.assign(value); }
78 
82  inline DeleteSuggesterRequest& WithSuggesterName(const Aws::String& value) { SetSuggesterName(value); return *this;}
83 
87  inline DeleteSuggesterRequest& WithSuggesterName(Aws::String&& value) { SetSuggesterName(value); return *this;}
88 
92  inline DeleteSuggesterRequest& WithSuggesterName(const char* value) { SetSuggesterName(value); return *this;}
93 
94  private:
95  Aws::String m_domainName;
96  bool m_domainNameHasBeenSet;
97  Aws::String m_suggesterName;
98  bool m_suggesterNameHasBeenSet;
99  };
100 
101 } // namespace Model
102 } // namespace CloudSearch
103 } // namespace Aws
DeleteSuggesterRequest & WithDomainName(const Aws::String &value)
DeleteSuggesterRequest & WithSuggesterName(Aws::String &&value)
#define AWS_CLOUDSEARCH_API
DeleteSuggesterRequest & WithDomainName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DeleteSuggesterRequest & WithSuggesterName(const Aws::String &value)
DeleteSuggesterRequest & WithDomainName(Aws::String &&value)
DeleteSuggesterRequest & WithSuggesterName(const char *value)
JSON (JavaScript Object Notation).