AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
43
44
46
49 inline const Aws::String& GetId() const { return m_id; }
50 template<typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
52 template<typename IdT = Aws::String>
53 UpdateDeploymentResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetDescription() const { return m_description; }
61 template<typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
63 template<typename DescriptionT = Aws::String>
64 UpdateDeploymentResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
66
68
71 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
72 template<typename CreatedDateT = Aws::Utils::DateTime>
73 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
74 template<typename CreatedDateT = Aws::Utils::DateTime>
75 UpdateDeploymentResult& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
77
79
83 inline const Aws::Map<Aws::String, Aws::Map<Aws::String, MethodSnapshot>>& GetApiSummary() const { return m_apiSummary; }
84 template<typename ApiSummaryT = Aws::Map<Aws::String, Aws::Map<Aws::String, MethodSnapshot>>>
85 void SetApiSummary(ApiSummaryT&& value) { m_apiSummaryHasBeenSet = true; m_apiSummary = std::forward<ApiSummaryT>(value); }
86 template<typename ApiSummaryT = Aws::Map<Aws::String, Aws::Map<Aws::String, MethodSnapshot>>>
87 UpdateDeploymentResult& WithApiSummary(ApiSummaryT&& value) { SetApiSummary(std::forward<ApiSummaryT>(value)); return *this;}
88 template<typename ApiSummaryKeyT = Aws::String, typename ApiSummaryValueT = Aws::Map<Aws::String, MethodSnapshot>>
89 UpdateDeploymentResult& AddApiSummary(ApiSummaryKeyT&& key, ApiSummaryValueT&& value) {
90 m_apiSummaryHasBeenSet = true; m_apiSummary.emplace(std::forward<ApiSummaryKeyT>(key), std::forward<ApiSummaryValueT>(value)); return *this;
91 }
93
95
96 inline const Aws::String& GetRequestId() const { return m_requestId; }
97 template<typename RequestIdT = Aws::String>
98 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
99 template<typename RequestIdT = Aws::String>
100 UpdateDeploymentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
102 private:
103
104 Aws::String m_id;
105 bool m_idHasBeenSet = false;
106
107 Aws::String m_description;
108 bool m_descriptionHasBeenSet = false;
109
110 Aws::Utils::DateTime m_createdDate{};
111 bool m_createdDateHasBeenSet = false;
112
114 bool m_apiSummaryHasBeenSet = false;
115
116 Aws::String m_requestId;
117 bool m_requestIdHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace APIGateway
122} // namespace Aws
AWS_APIGATEWAY_API UpdateDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedDate() const
UpdateDeploymentResult & AddApiSummary(ApiSummaryKeyT &&key, ApiSummaryValueT &&value)
const Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot > > & GetApiSummary() const
UpdateDeploymentResult & WithDescription(DescriptionT &&value)
UpdateDeploymentResult & WithId(IdT &&value)
AWS_APIGATEWAY_API UpdateDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APIGATEWAY_API UpdateDeploymentResult()=default
UpdateDeploymentResult & WithRequestId(RequestIdT &&value)
UpdateDeploymentResult & WithApiSummary(ApiSummaryT &&value)
UpdateDeploymentResult & WithCreatedDate(CreatedDateT &&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