AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Deployment.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/apigateway/model/MethodSnapshot.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace APIGateway
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_APIGATEWAY_API Deployment();
40 AWS_APIGATEWAY_API Deployment(Aws::Utils::Json::JsonView jsonValue);
41 AWS_APIGATEWAY_API Deployment& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetId() const{ return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
53 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
54 inline Deployment& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline Deployment& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline Deployment& WithId(const char* value) { SetId(value); return *this;}
58
60
63 inline const Aws::String& GetDescription() const{ return m_description; }
64 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
65 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
66 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
67 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
68 inline Deployment& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
69 inline Deployment& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
70 inline Deployment& WithDescription(const char* value) { SetDescription(value); return *this;}
72
74
77 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
78 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
79 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
80 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
81 inline Deployment& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
82 inline Deployment& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
84
86
91 inline bool ApiSummaryHasBeenSet() const { return m_apiSummaryHasBeenSet; }
92 inline void SetApiSummary(const Aws::Map<Aws::String, Aws::Map<Aws::String, MethodSnapshot>>& value) { m_apiSummaryHasBeenSet = true; m_apiSummary = value; }
93 inline void SetApiSummary(Aws::Map<Aws::String, Aws::Map<Aws::String, MethodSnapshot>>&& value) { m_apiSummaryHasBeenSet = true; m_apiSummary = std::move(value); }
96 inline Deployment& AddApiSummary(const Aws::String& key, const Aws::Map<Aws::String, MethodSnapshot>& value) { m_apiSummaryHasBeenSet = true; m_apiSummary.emplace(key, value); return *this; }
97 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; }
98 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; }
99 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; }
100 inline Deployment& AddApiSummary(const char* key, Aws::Map<Aws::String, MethodSnapshot>&& value) { m_apiSummaryHasBeenSet = true; m_apiSummary.emplace(key, std::move(value)); return *this; }
101 inline Deployment& AddApiSummary(const char* key, const Aws::Map<Aws::String, MethodSnapshot>& value) { m_apiSummaryHasBeenSet = true; m_apiSummary.emplace(key, value); return *this; }
103
105
106 inline const Aws::String& GetRequestId() const{ return m_requestId; }
107 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
108 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
109 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
110 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
111 inline Deployment& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
112 inline Deployment& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
113 inline Deployment& WithRequestId(const char* value) { SetRequestId(value); return *this;}
115 private:
116
117 Aws::String m_id;
118 bool m_idHasBeenSet = false;
119
120 Aws::String m_description;
121 bool m_descriptionHasBeenSet = false;
122
123 Aws::Utils::DateTime m_createdDate;
124 bool m_createdDateHasBeenSet = false;
125
127 bool m_apiSummaryHasBeenSet = false;
128
129 Aws::String m_requestId;
130 bool m_requestIdHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace APIGateway
135} // namespace Aws
Deployment & WithApiSummary(const Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot > > &value)
Definition Deployment.h:94
Deployment & WithDescription(Aws::String &&value)
Definition Deployment.h:69
void SetCreatedDate(Aws::Utils::DateTime &&value)
Definition Deployment.h:80
void SetId(Aws::String &&value)
Definition Deployment.h:52
const Aws::String & GetId() const
Definition Deployment.h:49
Deployment & AddApiSummary(const char *key, const Aws::Map< Aws::String, MethodSnapshot > &value)
Definition Deployment.h:101
Deployment & AddApiSummary(Aws::String &&key, const Aws::Map< Aws::String, MethodSnapshot > &value)
Definition Deployment.h:97
const Aws::Utils::DateTime & GetCreatedDate() const
Definition Deployment.h:77
Deployment & WithCreatedDate(Aws::Utils::DateTime &&value)
Definition Deployment.h:82
AWS_APIGATEWAY_API Deployment & operator=(Aws::Utils::Json::JsonView jsonValue)
Deployment & WithRequestId(const Aws::String &value)
Definition Deployment.h:111
Deployment & WithCreatedDate(const Aws::Utils::DateTime &value)
Definition Deployment.h:81
void SetDescription(Aws::String &&value)
Definition Deployment.h:66
AWS_APIGATEWAY_API Deployment(Aws::Utils::Json::JsonView jsonValue)
Deployment & WithId(Aws::String &&value)
Definition Deployment.h:55
const Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot > > & GetApiSummary() const
Definition Deployment.h:90
void SetApiSummary(Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot > > &&value)
Definition Deployment.h:93
Deployment & AddApiSummary(Aws::String &&key, Aws::Map< Aws::String, MethodSnapshot > &&value)
Definition Deployment.h:99
const Aws::String & GetDescription() const
Definition Deployment.h:63
Deployment & WithApiSummary(Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot > > &&value)
Definition Deployment.h:95
const Aws::String & GetRequestId() const
Definition Deployment.h:106
AWS_APIGATEWAY_API Deployment()
void SetDescription(const Aws::String &value)
Definition Deployment.h:65
void SetApiSummary(const Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot > > &value)
Definition Deployment.h:92
Deployment & WithRequestId(Aws::String &&value)
Definition Deployment.h:112
Deployment & AddApiSummary(const Aws::String &key, const Aws::Map< Aws::String, MethodSnapshot > &value)
Definition Deployment.h:96
Deployment & WithDescription(const char *value)
Definition Deployment.h:70
void SetRequestId(const char *value)
Definition Deployment.h:110
Deployment & WithRequestId(const char *value)
Definition Deployment.h:113
Deployment & AddApiSummary(const Aws::String &key, Aws::Map< Aws::String, MethodSnapshot > &&value)
Definition Deployment.h:98
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetId(const Aws::String &value)
Definition Deployment.h:51
void SetRequestId(Aws::String &&value)
Definition Deployment.h:109
Deployment & WithId(const char *value)
Definition Deployment.h:56
void SetRequestId(const Aws::String &value)
Definition Deployment.h:108
void SetDescription(const char *value)
Definition Deployment.h:67
Deployment & AddApiSummary(const char *key, Aws::Map< Aws::String, MethodSnapshot > &&value)
Definition Deployment.h:100
void SetCreatedDate(const Aws::Utils::DateTime &value)
Definition Deployment.h:79
void SetId(const char *value)
Definition Deployment.h:53
Deployment & WithId(const Aws::String &value)
Definition Deployment.h:54
Deployment & WithDescription(const Aws::String &value)
Definition Deployment.h:68
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue