AWS SDK for C++  1.9.153
AWS SDK for C++
UpdateDeploymentResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace APIGateway
27 {
28 namespace Model
29 {
47  {
48  public:
52 
53 
57  inline const Aws::String& GetId() const{ return m_id; }
58 
62  inline void SetId(const Aws::String& value) { m_id = value; }
63 
67  inline void SetId(Aws::String&& value) { m_id = std::move(value); }
68 
72  inline void SetId(const char* value) { m_id.assign(value); }
73 
77  inline UpdateDeploymentResult& WithId(const Aws::String& value) { SetId(value); return *this;}
78 
82  inline UpdateDeploymentResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
83 
87  inline UpdateDeploymentResult& WithId(const char* value) { SetId(value); return *this;}
88 
89 
93  inline const Aws::String& GetDescription() const{ return m_description; }
94 
98  inline void SetDescription(const Aws::String& value) { m_description = value; }
99 
103  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
104 
108  inline void SetDescription(const char* value) { m_description.assign(value); }
109 
113  inline UpdateDeploymentResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
114 
118  inline UpdateDeploymentResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
119 
123  inline UpdateDeploymentResult& WithDescription(const char* value) { SetDescription(value); return *this;}
124 
125 
129  inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
130 
134  inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
135 
139  inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
140 
144  inline UpdateDeploymentResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
145 
149  inline UpdateDeploymentResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
150 
151 
156  inline const Aws::Map<Aws::String, Aws::Map<Aws::String, MethodSnapshot>>& GetApiSummary() const{ return m_apiSummary; }
157 
162  inline void SetApiSummary(const Aws::Map<Aws::String, Aws::Map<Aws::String, MethodSnapshot>>& value) { m_apiSummary = value; }
163 
168  inline void SetApiSummary(Aws::Map<Aws::String, Aws::Map<Aws::String, MethodSnapshot>>&& value) { m_apiSummary = std::move(value); }
169 
174  inline UpdateDeploymentResult& WithApiSummary(const Aws::Map<Aws::String, Aws::Map<Aws::String, MethodSnapshot>>& value) { SetApiSummary(value); return *this;}
175 
180  inline UpdateDeploymentResult& WithApiSummary(Aws::Map<Aws::String, Aws::Map<Aws::String, MethodSnapshot>>&& value) { SetApiSummary(std::move(value)); return *this;}
181 
186  inline UpdateDeploymentResult& AddApiSummary(const Aws::String& key, const Aws::Map<Aws::String, MethodSnapshot>& value) { m_apiSummary.emplace(key, value); return *this; }
187 
192  inline UpdateDeploymentResult& AddApiSummary(Aws::String&& key, const Aws::Map<Aws::String, MethodSnapshot>& value) { m_apiSummary.emplace(std::move(key), value); return *this; }
193 
198  inline UpdateDeploymentResult& AddApiSummary(const Aws::String& key, Aws::Map<Aws::String, MethodSnapshot>&& value) { m_apiSummary.emplace(key, std::move(value)); return *this; }
199 
204  inline UpdateDeploymentResult& AddApiSummary(Aws::String&& key, Aws::Map<Aws::String, MethodSnapshot>&& value) { m_apiSummary.emplace(std::move(key), std::move(value)); return *this; }
205 
210  inline UpdateDeploymentResult& AddApiSummary(const char* key, Aws::Map<Aws::String, MethodSnapshot>&& value) { m_apiSummary.emplace(key, std::move(value)); return *this; }
211 
216  inline UpdateDeploymentResult& AddApiSummary(const char* key, const Aws::Map<Aws::String, MethodSnapshot>& value) { m_apiSummary.emplace(key, value); return *this; }
217 
218  private:
219 
220  Aws::String m_id;
221 
222  Aws::String m_description;
223 
224  Aws::Utils::DateTime m_createdDate;
225 
227  };
228 
229 } // namespace Model
230 } // namespace APIGateway
231 } // namespace Aws
Aws::APIGateway::Model::UpdateDeploymentResult::SetId
void SetId(Aws::String &&value)
Definition: UpdateDeploymentResult.h:67
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::APIGateway::Model::UpdateDeploymentResult::SetApiSummary
void SetApiSummary(Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot >> &&value)
Definition: UpdateDeploymentResult.h:168
Aws::APIGateway::Model::UpdateDeploymentResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateDeploymentResult.h:98
Aws::APIGateway::Model::UpdateDeploymentResult::WithId
UpdateDeploymentResult & WithId(const Aws::String &value)
Definition: UpdateDeploymentResult.h:77
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::UpdateDeploymentResult::WithApiSummary
UpdateDeploymentResult & WithApiSummary(Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot >> &&value)
Definition: UpdateDeploymentResult.h:180
Aws::APIGateway::Model::UpdateDeploymentResult::AddApiSummary
UpdateDeploymentResult & AddApiSummary(const Aws::String &key, const Aws::Map< Aws::String, MethodSnapshot > &value)
Definition: UpdateDeploymentResult.h:186
Aws::APIGateway::Model::UpdateDeploymentResult::WithCreatedDate
UpdateDeploymentResult & WithCreatedDate(const Aws::Utils::DateTime &value)
Definition: UpdateDeploymentResult.h:144
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::UpdateDeploymentResult::WithId
UpdateDeploymentResult & WithId(const char *value)
Definition: UpdateDeploymentResult.h:87
Aws::APIGateway::Model::UpdateDeploymentResult::GetCreatedDate
const Aws::Utils::DateTime & GetCreatedDate() const
Definition: UpdateDeploymentResult.h:129
Aws::APIGateway::Model::UpdateDeploymentResult::SetDescription
void SetDescription(const char *value)
Definition: UpdateDeploymentResult.h:108
Aws::APIGateway::Model::UpdateDeploymentResult::WithId
UpdateDeploymentResult & WithId(Aws::String &&value)
Definition: UpdateDeploymentResult.h:82
Aws::APIGateway::Model::UpdateDeploymentResult::GetId
const Aws::String & GetId() const
Definition: UpdateDeploymentResult.h:57
DateTime.h
APIGateway_EXPORTS.h
Aws::APIGateway::Model::UpdateDeploymentResult::AddApiSummary
UpdateDeploymentResult & AddApiSummary(const char *key, Aws::Map< Aws::String, MethodSnapshot > &&value)
Definition: UpdateDeploymentResult.h:210
Aws::APIGateway::Model::UpdateDeploymentResult::GetApiSummary
const Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot > > & GetApiSummary() const
Definition: UpdateDeploymentResult.h:156
Aws::APIGateway::Model::UpdateDeploymentResult::AddApiSummary
UpdateDeploymentResult & AddApiSummary(Aws::String &&key, Aws::Map< Aws::String, MethodSnapshot > &&value)
Definition: UpdateDeploymentResult.h:204
Aws::APIGateway::Model::UpdateDeploymentResult::SetId
void SetId(const char *value)
Definition: UpdateDeploymentResult.h:72
Aws::APIGateway::Model::UpdateDeploymentResult::SetApiSummary
void SetApiSummary(const Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot >> &value)
Definition: UpdateDeploymentResult.h:162
Aws::APIGateway::Model::UpdateDeploymentResult::AddApiSummary
UpdateDeploymentResult & AddApiSummary(Aws::String &&key, const Aws::Map< Aws::String, MethodSnapshot > &value)
Definition: UpdateDeploymentResult.h:192
Aws::APIGateway::Model::UpdateDeploymentResult::AddApiSummary
UpdateDeploymentResult & AddApiSummary(const char *key, const Aws::Map< Aws::String, MethodSnapshot > &value)
Definition: UpdateDeploymentResult.h:216
Aws::APIGateway::Model::UpdateDeploymentResult::UpdateDeploymentResult
UpdateDeploymentResult()
Aws::APIGateway::Model::UpdateDeploymentResult::WithDescription
UpdateDeploymentResult & WithDescription(const Aws::String &value)
Definition: UpdateDeploymentResult.h:113
Aws::APIGateway::Model::UpdateDeploymentResult::SetCreatedDate
void SetCreatedDate(Aws::Utils::DateTime &&value)
Definition: UpdateDeploymentResult.h:139
Aws::APIGateway::Model::UpdateDeploymentResult::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateDeploymentResult.h:93
MethodSnapshot.h
AWSString.h
Aws::APIGateway::Model::UpdateDeploymentResult::SetId
void SetId(const Aws::String &value)
Definition: UpdateDeploymentResult.h:62
Aws::APIGateway::Model::UpdateDeploymentResult::UpdateDeploymentResult
UpdateDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::UpdateDeploymentResult::WithDescription
UpdateDeploymentResult & WithDescription(Aws::String &&value)
Definition: UpdateDeploymentResult.h:118
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::UpdateDeploymentResult::WithCreatedDate
UpdateDeploymentResult & WithCreatedDate(Aws::Utils::DateTime &&value)
Definition: UpdateDeploymentResult.h:149
Aws::APIGateway::Model::UpdateDeploymentResult::SetCreatedDate
void SetCreatedDate(const Aws::Utils::DateTime &value)
Definition: UpdateDeploymentResult.h:134
Aws::APIGateway::Model::UpdateDeploymentResult::AddApiSummary
UpdateDeploymentResult & AddApiSummary(const Aws::String &key, Aws::Map< Aws::String, MethodSnapshot > &&value)
Definition: UpdateDeploymentResult.h:198
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::UpdateDeploymentResult::operator=
UpdateDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::UpdateDeploymentResult
Definition: UpdateDeploymentResult.h:47
AWSMap.h
Aws::APIGateway::Model::UpdateDeploymentResult::WithApiSummary
UpdateDeploymentResult & WithApiSummary(const Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot >> &value)
Definition: UpdateDeploymentResult.h:174
Aws::APIGateway::Model::UpdateDeploymentResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateDeploymentResult.h:103
Aws::APIGateway::Model::UpdateDeploymentResult::WithDescription
UpdateDeploymentResult & WithDescription(const char *value)
Definition: UpdateDeploymentResult.h:123
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19