AWS SDK for C++  0.12.9
AWS SDK for C++
DeleteExpressionRequest.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 DeleteExpressionRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
52 
53 
54  inline DeleteExpressionRequest& WithDomainName(Aws::String&& value) { SetDomainName(value); return *this;}
55 
56 
57  inline DeleteExpressionRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
58 
62  inline const Aws::String& GetExpressionName() const{ return m_expressionName; }
63 
67  inline void SetExpressionName(const Aws::String& value) { m_expressionNameHasBeenSet = true; m_expressionName = value; }
68 
72  inline void SetExpressionName(Aws::String&& value) { m_expressionNameHasBeenSet = true; m_expressionName = value; }
73 
77  inline void SetExpressionName(const char* value) { m_expressionNameHasBeenSet = true; m_expressionName.assign(value); }
78 
82  inline DeleteExpressionRequest& WithExpressionName(const Aws::String& value) { SetExpressionName(value); return *this;}
83 
87  inline DeleteExpressionRequest& WithExpressionName(Aws::String&& value) { SetExpressionName(value); return *this;}
88 
92  inline DeleteExpressionRequest& WithExpressionName(const char* value) { SetExpressionName(value); return *this;}
93 
94  private:
95  Aws::String m_domainName;
96  bool m_domainNameHasBeenSet;
97  Aws::String m_expressionName;
98  bool m_expressionNameHasBeenSet;
99  };
100 
101 } // namespace Model
102 } // namespace CloudSearch
103 } // namespace Aws
DeleteExpressionRequest & WithExpressionName(Aws::String &&value)
DeleteExpressionRequest & WithDomainName(const Aws::String &value)
DeleteExpressionRequest & WithDomainName(const char *value)
DeleteExpressionRequest & WithExpressionName(const Aws::String &value)
DeleteExpressionRequest & WithExpressionName(const char *value)
#define AWS_CLOUDSEARCH_API
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DeleteExpressionRequest & WithDomainName(Aws::String &&value)
JSON (JavaScript Object Notation).