AWS SDK for C++  0.14.3
AWS SDK for C++
UpdateDeploymentResult.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
21 
22 namespace Aws
23 {
24 template<typename RESULT_TYPE>
25 class AmazonWebServiceResult;
26 
27 namespace Utils
28 {
29 namespace Json
30 {
31  class JsonValue;
32 } // namespace Json
33 } // namespace Utils
34 namespace APIGateway
35 {
36 namespace Model
37 {
44  {
45  public:
49 
53  inline const Aws::String& GetId() const{ return m_id; }
54 
58  inline void SetId(const Aws::String& value) { m_id = value; }
59 
63  inline void SetId(Aws::String&& value) { m_id = value; }
64 
68  inline void SetId(const char* value) { m_id.assign(value); }
69 
73  inline UpdateDeploymentResult& WithId(const Aws::String& value) { SetId(value); return *this;}
74 
78  inline UpdateDeploymentResult& WithId(Aws::String&& value) { SetId(value); return *this;}
79 
83  inline UpdateDeploymentResult& WithId(const char* value) { SetId(value); return *this;}
84 
88  inline const Aws::String& GetDescription() const{ return m_description; }
89 
93  inline void SetDescription(const Aws::String& value) { m_description = value; }
94 
98  inline void SetDescription(Aws::String&& value) { m_description = value; }
99 
103  inline void SetDescription(const char* value) { m_description.assign(value); }
104 
108  inline UpdateDeploymentResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
109 
113  inline UpdateDeploymentResult& WithDescription(Aws::String&& value) { SetDescription(value); return *this;}
114 
118  inline UpdateDeploymentResult& WithDescription(const char* value) { SetDescription(value); return *this;}
119 
123  inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
124 
128  inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
129 
133  inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = value; }
134 
138  inline UpdateDeploymentResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
139 
143  inline UpdateDeploymentResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(value); return *this;}
144 
149  inline const Aws::Map<Aws::String, Aws::Map<Aws::String, MethodSnapshot>>& GetApiSummary() const{ return m_apiSummary; }
150 
155  inline void SetApiSummary(const Aws::Map<Aws::String, Aws::Map<Aws::String, MethodSnapshot>>& value) { m_apiSummary = value; }
156 
161  inline void SetApiSummary(Aws::Map<Aws::String, Aws::Map<Aws::String, MethodSnapshot>>&& value) { m_apiSummary = value; }
162 
167  inline UpdateDeploymentResult& WithApiSummary(const Aws::Map<Aws::String, Aws::Map<Aws::String, MethodSnapshot>>& value) { SetApiSummary(value); return *this;}
168 
173  inline UpdateDeploymentResult& WithApiSummary(Aws::Map<Aws::String, Aws::Map<Aws::String, MethodSnapshot>>&& value) { SetApiSummary(value); return *this;}
174 
179  inline UpdateDeploymentResult& AddApiSummary(const Aws::String& key, const Aws::Map<Aws::String, MethodSnapshot>& value) { m_apiSummary[key] = value; return *this; }
180 
185  inline UpdateDeploymentResult& AddApiSummary(Aws::String&& key, const Aws::Map<Aws::String, MethodSnapshot>& value) { m_apiSummary[key] = value; return *this; }
186 
191  inline UpdateDeploymentResult& AddApiSummary(const Aws::String& key, Aws::Map<Aws::String, MethodSnapshot>&& value) { m_apiSummary[key] = value; return *this; }
192 
197  inline UpdateDeploymentResult& AddApiSummary(Aws::String&& key, Aws::Map<Aws::String, MethodSnapshot>&& value) { m_apiSummary[key] = value; return *this; }
198 
203  inline UpdateDeploymentResult& AddApiSummary(const char* key, Aws::Map<Aws::String, MethodSnapshot>&& value) { m_apiSummary[key] = value; return *this; }
204 
209  inline UpdateDeploymentResult& AddApiSummary(const char* key, const Aws::Map<Aws::String, MethodSnapshot>& value) { m_apiSummary[key] = value; return *this; }
210 
211  private:
212  Aws::String m_id;
213  Aws::String m_description;
214  Aws::Utils::DateTime m_createdDate;
216  };
217 
218 } // namespace Model
219 } // namespace APIGateway
220 } // namespace Aws
void SetCreatedDate(const Aws::Utils::DateTime &value)
void SetApiSummary(const Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot >> &value)
UpdateDeploymentResult & WithId(const Aws::String &value)
UpdateDeploymentResult & AddApiSummary(const char *key, Aws::Map< Aws::String, MethodSnapshot > &&value)
UpdateDeploymentResult & AddApiSummary(Aws::String &&key, const Aws::Map< Aws::String, MethodSnapshot > &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:28
UpdateDeploymentResult & AddApiSummary(const Aws::String &key, const Aws::Map< Aws::String, MethodSnapshot > &value)
void SetApiSummary(Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot >> &&value)
UpdateDeploymentResult & WithCreatedDate(const Aws::Utils::DateTime &value)
UpdateDeploymentResult & WithApiSummary(const Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot >> &value)
UpdateDeploymentResult & WithCreatedDate(Aws::Utils::DateTime &&value)
UpdateDeploymentResult & WithDescription(const Aws::String &value)
UpdateDeploymentResult & WithId(const char *value)
UpdateDeploymentResult & WithDescription(const char *value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
UpdateDeploymentResult & AddApiSummary(const Aws::String &key, Aws::Map< Aws::String, MethodSnapshot > &&value)
UpdateDeploymentResult & WithApiSummary(Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot >> &&value)
UpdateDeploymentResult & AddApiSummary(Aws::String &&key, Aws::Map< Aws::String, MethodSnapshot > &&value)
UpdateDeploymentResult & WithId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
const Aws::Utils::DateTime & GetCreatedDate() const
#define AWS_APIGATEWAY_API
UpdateDeploymentResult & AddApiSummary(const char *key, const Aws::Map< Aws::String, MethodSnapshot > &value)
const Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot > > & GetApiSummary() const
UpdateDeploymentResult & WithDescription(Aws::String &&value)
JSON (JavaScript Object Notation).