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