AWS SDK for C++  0.14.3
AWS SDK for C++
GetDeploymentRequest.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 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
41  inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
42 
47  inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
48 
53  inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
54 
59  inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
60 
65  inline GetDeploymentRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
66 
71  inline GetDeploymentRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(value); return *this;}
72 
77  inline GetDeploymentRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
78 
83  inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; }
84 
89  inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
90 
95  inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
96 
101  inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); }
102 
107  inline GetDeploymentRequest& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;}
108 
113  inline GetDeploymentRequest& WithDeploymentId(Aws::String&& value) { SetDeploymentId(value); return *this;}
114 
119  inline GetDeploymentRequest& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
120 
121  private:
122  Aws::String m_restApiId;
123  bool m_restApiIdHasBeenSet;
124  Aws::String m_deploymentId;
125  bool m_deploymentIdHasBeenSet;
126  };
127 
128 } // namespace Model
129 } // namespace APIGateway
130 } // namespace Aws
GetDeploymentRequest & WithDeploymentId(const Aws::String &value)
GetDeploymentRequest & WithDeploymentId(const char *value)
void SetDeploymentId(const Aws::String &value)
GetDeploymentRequest & WithRestApiId(const Aws::String &value)
GetDeploymentRequest & WithRestApiId(Aws::String &&value)
GetDeploymentRequest & WithRestApiId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GetDeploymentRequest & WithDeploymentId(Aws::String &&value)
#define AWS_APIGATEWAY_API
JSON (JavaScript Object Notation).