AWS SDK for C++  0.14.3
AWS SDK for C++
DeleteDeploymentRequest.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 APIGateway
23 {
24 namespace Model
25 {
26 
31  {
32  public:
34  Aws::String SerializePayload() const override;
35 
40  inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
41 
46  inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
47 
52  inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
53 
58  inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
59 
64  inline DeleteDeploymentRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
65 
70  inline DeleteDeploymentRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(value); return *this;}
71 
76  inline DeleteDeploymentRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
77 
81  inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; }
82 
86  inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
87 
91  inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
92 
96  inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); }
97 
101  inline DeleteDeploymentRequest& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;}
102 
106  inline DeleteDeploymentRequest& WithDeploymentId(Aws::String&& value) { SetDeploymentId(value); return *this;}
107 
111  inline DeleteDeploymentRequest& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
112 
113  private:
114  Aws::String m_restApiId;
115  bool m_restApiIdHasBeenSet;
116  Aws::String m_deploymentId;
117  bool m_deploymentIdHasBeenSet;
118  };
119 
120 } // namespace Model
121 } // namespace APIGateway
122 } // namespace Aws
DeleteDeploymentRequest & WithRestApiId(const Aws::String &value)
DeleteDeploymentRequest & WithDeploymentId(const Aws::String &value)
DeleteDeploymentRequest & WithDeploymentId(Aws::String &&value)
DeleteDeploymentRequest & WithRestApiId(Aws::String &&value)
DeleteDeploymentRequest & WithDeploymentId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_APIGATEWAY_API
DeleteDeploymentRequest & WithRestApiId(const char *value)
JSON (JavaScript Object Notation).