AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDeploymentResult.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{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace APIGateway
27{
28namespace Model
29{
38 {
39 public:
40 AWS_APIGATEWAY_API UpdateDeploymentResult();
43
44
46
49 inline const Aws::String& GetId() const{ return m_id; }
50 inline void SetId(const Aws::String& value) { m_id = value; }
51 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
52 inline void SetId(const char* value) { m_id.assign(value); }
53 inline UpdateDeploymentResult& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline UpdateDeploymentResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline UpdateDeploymentResult& WithId(const char* value) { SetId(value); return *this;}
57
59
62 inline const Aws::String& GetDescription() const{ return m_description; }
63 inline void SetDescription(const Aws::String& value) { m_description = value; }
64 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
65 inline void SetDescription(const char* value) { m_description.assign(value); }
66 inline UpdateDeploymentResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
67 inline UpdateDeploymentResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
68 inline UpdateDeploymentResult& WithDescription(const char* value) { SetDescription(value); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
76 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
77 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
78 inline UpdateDeploymentResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
79 inline UpdateDeploymentResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
81
83
88 inline void SetApiSummary(const Aws::Map<Aws::String, Aws::Map<Aws::String, MethodSnapshot>>& value) { m_apiSummary = value; }
89 inline void SetApiSummary(Aws::Map<Aws::String, Aws::Map<Aws::String, MethodSnapshot>>&& value) { m_apiSummary = std::move(value); }
92 inline UpdateDeploymentResult& AddApiSummary(const Aws::String& key, const Aws::Map<Aws::String, MethodSnapshot>& value) { m_apiSummary.emplace(key, value); return *this; }
93 inline UpdateDeploymentResult& AddApiSummary(Aws::String&& key, const Aws::Map<Aws::String, MethodSnapshot>& value) { m_apiSummary.emplace(std::move(key), value); return *this; }
94 inline UpdateDeploymentResult& AddApiSummary(const Aws::String& key, Aws::Map<Aws::String, MethodSnapshot>&& value) { m_apiSummary.emplace(key, std::move(value)); return *this; }
95 inline UpdateDeploymentResult& AddApiSummary(Aws::String&& key, Aws::Map<Aws::String, MethodSnapshot>&& value) { m_apiSummary.emplace(std::move(key), std::move(value)); return *this; }
96 inline UpdateDeploymentResult& AddApiSummary(const char* key, Aws::Map<Aws::String, MethodSnapshot>&& value) { m_apiSummary.emplace(key, std::move(value)); return *this; }
97 inline UpdateDeploymentResult& AddApiSummary(const char* key, const Aws::Map<Aws::String, MethodSnapshot>& value) { m_apiSummary.emplace(key, value); return *this; }
99
101
102 inline const Aws::String& GetRequestId() const{ return m_requestId; }
103 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
104 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
105 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
106 inline UpdateDeploymentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
107 inline UpdateDeploymentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
108 inline UpdateDeploymentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
110 private:
111
112 Aws::String m_id;
113
114 Aws::String m_description;
115
116 Aws::Utils::DateTime m_createdDate;
117
119
120 Aws::String m_requestId;
121 };
122
123} // namespace Model
124} // namespace APIGateway
125} // namespace Aws
UpdateDeploymentResult & WithRequestId(const char *value)
UpdateDeploymentResult & WithDescription(Aws::String &&value)
UpdateDeploymentResult & WithCreatedDate(Aws::Utils::DateTime &&value)
UpdateDeploymentResult & AddApiSummary(const Aws::String &key, const Aws::Map< Aws::String, MethodSnapshot > &value)
AWS_APIGATEWAY_API UpdateDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedDate() const
UpdateDeploymentResult & WithRequestId(const Aws::String &value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
UpdateDeploymentResult & WithId(Aws::String &&value)
void SetApiSummary(Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot > > &&value)
UpdateDeploymentResult & WithId(const char *value)
const Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot > > & GetApiSummary() const
UpdateDeploymentResult & AddApiSummary(Aws::String &&key, Aws::Map< Aws::String, MethodSnapshot > &&value)
UpdateDeploymentResult & AddApiSummary(const Aws::String &key, Aws::Map< Aws::String, MethodSnapshot > &&value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
UpdateDeploymentResult & WithApiSummary(const Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot > > &value)
UpdateDeploymentResult & AddApiSummary(const char *key, const Aws::Map< Aws::String, MethodSnapshot > &value)
AWS_APIGATEWAY_API UpdateDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDeploymentResult & WithId(const Aws::String &value)
UpdateDeploymentResult & WithDescription(const Aws::String &value)
UpdateDeploymentResult & WithRequestId(Aws::String &&value)
UpdateDeploymentResult & WithDescription(const char *value)
UpdateDeploymentResult & AddApiSummary(Aws::String &&key, const Aws::Map< Aws::String, MethodSnapshot > &value)
UpdateDeploymentResult & WithCreatedDate(const Aws::Utils::DateTime &value)
void SetApiSummary(const Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot > > &value)
UpdateDeploymentResult & WithApiSummary(Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot > > &&value)
UpdateDeploymentResult & AddApiSummary(const char *key, Aws::Map< Aws::String, MethodSnapshot > &&value)
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