AWS SDK for C++  1.9.20
AWS SDK for C++
GetDeploymentResult.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 GetDeploymentResult& WithId(const Aws::String& value) { SetId(value); return *this;}
78 
82  inline GetDeploymentResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
83 
87  inline GetDeploymentResult& 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 GetDeploymentResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
114 
118  inline GetDeploymentResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
119 
123  inline GetDeploymentResult& 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 GetDeploymentResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
145 
149  inline GetDeploymentResult& 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 GetDeploymentResult& WithApiSummary(const Aws::Map<Aws::String, Aws::Map<Aws::String, MethodSnapshot>>& value) { SetApiSummary(value); return *this;}
175 
180  inline GetDeploymentResult& WithApiSummary(Aws::Map<Aws::String, Aws::Map<Aws::String, MethodSnapshot>>&& value) { SetApiSummary(std::move(value)); return *this;}
181 
186  inline GetDeploymentResult& AddApiSummary(const Aws::String& key, const Aws::Map<Aws::String, MethodSnapshot>& value) { m_apiSummary.emplace(key, value); return *this; }
187 
192  inline GetDeploymentResult& AddApiSummary(Aws::String&& key, const Aws::Map<Aws::String, MethodSnapshot>& value) { m_apiSummary.emplace(std::move(key), value); return *this; }
193 
198  inline GetDeploymentResult& AddApiSummary(const Aws::String& key, Aws::Map<Aws::String, MethodSnapshot>&& value) { m_apiSummary.emplace(key, std::move(value)); return *this; }
199 
204  inline GetDeploymentResult& AddApiSummary(Aws::String&& key, Aws::Map<Aws::String, MethodSnapshot>&& value) { m_apiSummary.emplace(std::move(key), std::move(value)); return *this; }
205 
210  inline GetDeploymentResult& AddApiSummary(const char* key, Aws::Map<Aws::String, MethodSnapshot>&& value) { m_apiSummary.emplace(key, std::move(value)); return *this; }
211 
216  inline GetDeploymentResult& 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::Utils::DateTime
Definition: DateTime.h:55
Aws::APIGateway::Model::GetDeploymentResult::SetApiSummary
void SetApiSummary(const Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot >> &value)
Definition: GetDeploymentResult.h:162
Aws::APIGateway::Model::GetDeploymentResult::WithDescription
GetDeploymentResult & WithDescription(const char *value)
Definition: GetDeploymentResult.h:123
Aws::APIGateway::Model::GetDeploymentResult::WithDescription
GetDeploymentResult & WithDescription(Aws::String &&value)
Definition: GetDeploymentResult.h:118
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::GetDeploymentResult::SetDescription
void SetDescription(const char *value)
Definition: GetDeploymentResult.h:108
Aws::APIGateway::Model::GetDeploymentResult
Definition: GetDeploymentResult.h:47
Aws::APIGateway::Model::GetDeploymentResult::WithId
GetDeploymentResult & WithId(const char *value)
Definition: GetDeploymentResult.h:87
Aws::APIGateway::Model::GetDeploymentResult::GetCreatedDate
const Aws::Utils::DateTime & GetCreatedDate() const
Definition: GetDeploymentResult.h:129
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetDeploymentResult::WithCreatedDate
GetDeploymentResult & WithCreatedDate(Aws::Utils::DateTime &&value)
Definition: GetDeploymentResult.h:149
DateTime.h
Aws::APIGateway::Model::GetDeploymentResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: GetDeploymentResult.h:98
Aws::APIGateway::Model::GetDeploymentResult::WithDescription
GetDeploymentResult & WithDescription(const Aws::String &value)
Definition: GetDeploymentResult.h:113
APIGateway_EXPORTS.h
Aws::APIGateway::Model::GetDeploymentResult::GetDeploymentResult
GetDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::GetDeploymentResult::AddApiSummary
GetDeploymentResult & AddApiSummary(Aws::String &&key, Aws::Map< Aws::String, MethodSnapshot > &&value)
Definition: GetDeploymentResult.h:204
Aws::APIGateway::Model::GetDeploymentResult::operator=
GetDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::GetDeploymentResult::GetDeploymentResult
GetDeploymentResult()
Aws::APIGateway::Model::GetDeploymentResult::AddApiSummary
GetDeploymentResult & AddApiSummary(Aws::String &&key, const Aws::Map< Aws::String, MethodSnapshot > &value)
Definition: GetDeploymentResult.h:192
Aws::APIGateway::Model::GetDeploymentResult::AddApiSummary
GetDeploymentResult & AddApiSummary(const Aws::String &key, const Aws::Map< Aws::String, MethodSnapshot > &value)
Definition: GetDeploymentResult.h:186
Aws::APIGateway::Model::GetDeploymentResult::GetId
const Aws::String & GetId() const
Definition: GetDeploymentResult.h:57
Aws::APIGateway::Model::GetDeploymentResult::GetDescription
const Aws::String & GetDescription() const
Definition: GetDeploymentResult.h:93
Aws::APIGateway::Model::GetDeploymentResult::WithId
GetDeploymentResult & WithId(Aws::String &&value)
Definition: GetDeploymentResult.h:82
Aws::APIGateway::Model::GetDeploymentResult::AddApiSummary
GetDeploymentResult & AddApiSummary(const char *key, Aws::Map< Aws::String, MethodSnapshot > &&value)
Definition: GetDeploymentResult.h:210
MethodSnapshot.h
AWSString.h
Aws::APIGateway::Model::GetDeploymentResult::SetId
void SetId(Aws::String &&value)
Definition: GetDeploymentResult.h:67
Aws::APIGateway::Model::GetDeploymentResult::AddApiSummary
GetDeploymentResult & AddApiSummary(const Aws::String &key, Aws::Map< Aws::String, MethodSnapshot > &&value)
Definition: GetDeploymentResult.h:198
Aws::APIGateway::Model::GetDeploymentResult::AddApiSummary
GetDeploymentResult & AddApiSummary(const char *key, const Aws::Map< Aws::String, MethodSnapshot > &value)
Definition: GetDeploymentResult.h:216
Aws::APIGateway::Model::GetDeploymentResult::WithApiSummary
GetDeploymentResult & WithApiSummary(Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot >> &&value)
Definition: GetDeploymentResult.h:180
Aws::APIGateway::Model::GetDeploymentResult::SetId
void SetId(const char *value)
Definition: GetDeploymentResult.h:72
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GetDeploymentResult::GetApiSummary
const Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot > > & GetApiSummary() const
Definition: GetDeploymentResult.h:156
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GetDeploymentResult::WithApiSummary
GetDeploymentResult & WithApiSummary(const Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot >> &value)
Definition: GetDeploymentResult.h:174
Aws::APIGateway::Model::GetDeploymentResult::SetCreatedDate
void SetCreatedDate(Aws::Utils::DateTime &&value)
Definition: GetDeploymentResult.h:139
Aws::APIGateway::Model::GetDeploymentResult::SetId
void SetId(const Aws::String &value)
Definition: GetDeploymentResult.h:62
Aws::APIGateway::Model::GetDeploymentResult::SetCreatedDate
void SetCreatedDate(const Aws::Utils::DateTime &value)
Definition: GetDeploymentResult.h:134
AWSMap.h
Aws::APIGateway::Model::GetDeploymentResult::WithId
GetDeploymentResult & WithId(const Aws::String &value)
Definition: GetDeploymentResult.h:77
Aws::APIGateway::Model::GetDeploymentResult::WithCreatedDate
GetDeploymentResult & WithCreatedDate(const Aws::Utils::DateTime &value)
Definition: GetDeploymentResult.h:144
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::APIGateway::Model::GetDeploymentResult::SetApiSummary
void SetApiSummary(Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot >> &&value)
Definition: GetDeploymentResult.h:168
Aws::APIGateway::Model::GetDeploymentResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: GetDeploymentResult.h:103