AWS SDK for C++  1.9.16
AWS SDK for C++
Deployment.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace APIGateway
25 {
26 namespace Model
27 {
28 
46  {
47  public:
52 
53 
57  inline const Aws::String& GetId() const{ return m_id; }
58 
62  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
63 
67  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
68 
72  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
73 
77  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
78 
82  inline Deployment& WithId(const Aws::String& value) { SetId(value); return *this;}
83 
87  inline Deployment& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
88 
92  inline Deployment& WithId(const char* value) { SetId(value); return *this;}
93 
94 
98  inline const Aws::String& GetDescription() const{ return m_description; }
99 
103  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
104 
108  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
109 
113  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
114 
118  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
119 
123  inline Deployment& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
124 
128  inline Deployment& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
129 
133  inline Deployment& WithDescription(const char* value) { SetDescription(value); return *this;}
134 
135 
139  inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
140 
144  inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
145 
149  inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
150 
154  inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
155 
159  inline Deployment& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
160 
164  inline Deployment& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
165 
166 
171  inline const Aws::Map<Aws::String, Aws::Map<Aws::String, MethodSnapshot>>& GetApiSummary() const{ return m_apiSummary; }
172 
177  inline bool ApiSummaryHasBeenSet() const { return m_apiSummaryHasBeenSet; }
178 
183  inline void SetApiSummary(const Aws::Map<Aws::String, Aws::Map<Aws::String, MethodSnapshot>>& value) { m_apiSummaryHasBeenSet = true; m_apiSummary = value; }
184 
189  inline void SetApiSummary(Aws::Map<Aws::String, Aws::Map<Aws::String, MethodSnapshot>>&& value) { m_apiSummaryHasBeenSet = true; m_apiSummary = std::move(value); }
190 
195  inline Deployment& WithApiSummary(const Aws::Map<Aws::String, Aws::Map<Aws::String, MethodSnapshot>>& value) { SetApiSummary(value); return *this;}
196 
201  inline Deployment& WithApiSummary(Aws::Map<Aws::String, Aws::Map<Aws::String, MethodSnapshot>>&& value) { SetApiSummary(std::move(value)); return *this;}
202 
207  inline Deployment& AddApiSummary(const Aws::String& key, const Aws::Map<Aws::String, MethodSnapshot>& value) { m_apiSummaryHasBeenSet = true; m_apiSummary.emplace(key, value); return *this; }
208 
213  inline Deployment& AddApiSummary(Aws::String&& key, const Aws::Map<Aws::String, MethodSnapshot>& value) { m_apiSummaryHasBeenSet = true; m_apiSummary.emplace(std::move(key), value); return *this; }
214 
219  inline Deployment& AddApiSummary(const Aws::String& key, Aws::Map<Aws::String, MethodSnapshot>&& value) { m_apiSummaryHasBeenSet = true; m_apiSummary.emplace(key, std::move(value)); return *this; }
220 
225  inline Deployment& AddApiSummary(Aws::String&& key, Aws::Map<Aws::String, MethodSnapshot>&& value) { m_apiSummaryHasBeenSet = true; m_apiSummary.emplace(std::move(key), std::move(value)); return *this; }
226 
231  inline Deployment& AddApiSummary(const char* key, Aws::Map<Aws::String, MethodSnapshot>&& value) { m_apiSummaryHasBeenSet = true; m_apiSummary.emplace(key, std::move(value)); return *this; }
232 
237  inline Deployment& AddApiSummary(const char* key, const Aws::Map<Aws::String, MethodSnapshot>& value) { m_apiSummaryHasBeenSet = true; m_apiSummary.emplace(key, value); return *this; }
238 
239  private:
240 
241  Aws::String m_id;
242  bool m_idHasBeenSet;
243 
244  Aws::String m_description;
245  bool m_descriptionHasBeenSet;
246 
247  Aws::Utils::DateTime m_createdDate;
248  bool m_createdDateHasBeenSet;
249 
251  bool m_apiSummaryHasBeenSet;
252  };
253 
254 } // namespace Model
255 } // namespace APIGateway
256 } // namespace Aws
Aws::APIGateway::Model::Deployment::WithDescription
Deployment & WithDescription(Aws::String &&value)
Definition: Deployment.h:128
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::APIGateway::Model::Deployment::AddApiSummary
Deployment & AddApiSummary(Aws::String &&key, const Aws::Map< Aws::String, MethodSnapshot > &value)
Definition: Deployment.h:213
Aws::APIGateway::Model::Deployment::GetApiSummary
const Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot > > & GetApiSummary() const
Definition: Deployment.h:171
Aws::APIGateway::Model::Deployment::AddApiSummary
Deployment & AddApiSummary(const char *key, const Aws::Map< Aws::String, MethodSnapshot > &value)
Definition: Deployment.h:237
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::Deployment::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::APIGateway::Model::Deployment::WithCreatedDate
Deployment & WithCreatedDate(const Aws::Utils::DateTime &value)
Definition: Deployment.h:159
Aws::APIGateway::Model::Deployment::AddApiSummary
Deployment & AddApiSummary(Aws::String &&key, Aws::Map< Aws::String, MethodSnapshot > &&value)
Definition: Deployment.h:225
Aws::APIGateway::Model::Deployment::AddApiSummary
Deployment & AddApiSummary(const Aws::String &key, const Aws::Map< Aws::String, MethodSnapshot > &value)
Definition: Deployment.h:207
DateTime.h
Aws::APIGateway::Model::Deployment::CreatedDateHasBeenSet
bool CreatedDateHasBeenSet() const
Definition: Deployment.h:144
Aws::APIGateway::Model::Deployment::AddApiSummary
Deployment & AddApiSummary(const Aws::String &key, Aws::Map< Aws::String, MethodSnapshot > &&value)
Definition: Deployment.h:219
APIGateway_EXPORTS.h
Aws::APIGateway::Model::Deployment::WithDescription
Deployment & WithDescription(const char *value)
Definition: Deployment.h:133
Aws::APIGateway::Model::Deployment::GetDescription
const Aws::String & GetDescription() const
Definition: Deployment.h:98
Aws::APIGateway::Model::Deployment::ApiSummaryHasBeenSet
bool ApiSummaryHasBeenSet() const
Definition: Deployment.h:177
Aws::APIGateway::Model::Deployment::SetId
void SetId(const Aws::String &value)
Definition: Deployment.h:67
Aws::APIGateway::Model::Deployment::WithId
Deployment & WithId(const Aws::String &value)
Definition: Deployment.h:82
Aws::APIGateway::Model::Deployment::WithCreatedDate
Deployment & WithCreatedDate(Aws::Utils::DateTime &&value)
Definition: Deployment.h:164
Aws::APIGateway::Model::Deployment::SetDescription
void SetDescription(Aws::String &&value)
Definition: Deployment.h:113
Aws::APIGateway::Model::Deployment::Deployment
Deployment()
Aws::APIGateway::Model::Deployment::SetDescription
void SetDescription(const Aws::String &value)
Definition: Deployment.h:108
Aws::APIGateway::Model::Deployment::GetCreatedDate
const Aws::Utils::DateTime & GetCreatedDate() const
Definition: Deployment.h:139
Aws::APIGateway::Model::Deployment::AddApiSummary
Deployment & AddApiSummary(const char *key, Aws::Map< Aws::String, MethodSnapshot > &&value)
Definition: Deployment.h:231
Aws::APIGateway::Model::Deployment::WithDescription
Deployment & WithDescription(const Aws::String &value)
Definition: Deployment.h:123
MethodSnapshot.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::APIGateway::Model::Deployment::SetId
void SetId(Aws::String &&value)
Definition: Deployment.h:72
Aws::APIGateway::Model::Deployment::operator=
Deployment & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::APIGateway::Model::Deployment::SetApiSummary
void SetApiSummary(Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot >> &&value)
Definition: Deployment.h:189
Aws::APIGateway::Model::Deployment::SetCreatedDate
void SetCreatedDate(Aws::Utils::DateTime &&value)
Definition: Deployment.h:154
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::Deployment::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: Deployment.h:103
Aws::APIGateway::Model::Deployment::SetApiSummary
void SetApiSummary(const Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot >> &value)
Definition: Deployment.h:183
Aws::APIGateway::Model::Deployment::SetCreatedDate
void SetCreatedDate(const Aws::Utils::DateTime &value)
Definition: Deployment.h:149
Aws::APIGateway::Model::Deployment::WithId
Deployment & WithId(Aws::String &&value)
Definition: Deployment.h:87
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::Deployment::IdHasBeenSet
bool IdHasBeenSet() const
Definition: Deployment.h:62
Aws::APIGateway::Model::Deployment::Deployment
Deployment(Aws::Utils::Json::JsonView jsonValue)
Aws::APIGateway::Model::Deployment::WithApiSummary
Deployment & WithApiSummary(const Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot >> &value)
Definition: Deployment.h:195
Aws::APIGateway::Model::Deployment::WithApiSummary
Deployment & WithApiSummary(Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot >> &&value)
Definition: Deployment.h:201
Aws::APIGateway::Model::Deployment::SetDescription
void SetDescription(const char *value)
Definition: Deployment.h:118
AWSMap.h
Aws::APIGateway::Model::Deployment
Definition: Deployment.h:46
Aws::APIGateway::Model::Deployment::GetId
const Aws::String & GetId() const
Definition: Deployment.h:57
Aws::APIGateway::Model::Deployment::SetId
void SetId(const char *value)
Definition: Deployment.h:77
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::APIGateway::Model::Deployment::WithId
Deployment & WithId(const char *value)
Definition: Deployment.h:92