AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDeploymentResult.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 CreateDeploymentResult();
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 CreateDeploymentResult& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline CreateDeploymentResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline CreateDeploymentResult& 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 CreateDeploymentResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
67 inline CreateDeploymentResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
68 inline CreateDeploymentResult& 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 CreateDeploymentResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
79 inline CreateDeploymentResult& 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 CreateDeploymentResult& AddApiSummary(const Aws::String& key, const Aws::Map<Aws::String, MethodSnapshot>& value) { m_apiSummary.emplace(key, value); return *this; }
93 inline CreateDeploymentResult& AddApiSummary(Aws::String&& key, const Aws::Map<Aws::String, MethodSnapshot>& value) { m_apiSummary.emplace(std::move(key), value); return *this; }
94 inline CreateDeploymentResult& AddApiSummary(const Aws::String& key, Aws::Map<Aws::String, MethodSnapshot>&& value) { m_apiSummary.emplace(key, std::move(value)); return *this; }
95 inline CreateDeploymentResult& AddApiSummary(Aws::String&& key, Aws::Map<Aws::String, MethodSnapshot>&& value) { m_apiSummary.emplace(std::move(key), std::move(value)); return *this; }
96 inline CreateDeploymentResult& AddApiSummary(const char* key, Aws::Map<Aws::String, MethodSnapshot>&& value) { m_apiSummary.emplace(key, std::move(value)); return *this; }
97 inline CreateDeploymentResult& 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 CreateDeploymentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
107 inline CreateDeploymentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
108 inline CreateDeploymentResult& 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
CreateDeploymentResult & WithId(const char *value)
CreateDeploymentResult & AddApiSummary(const char *key, const Aws::Map< Aws::String, MethodSnapshot > &value)
CreateDeploymentResult & WithRequestId(const char *value)
CreateDeploymentResult & AddApiSummary(Aws::String &&key, const Aws::Map< Aws::String, MethodSnapshot > &value)
void SetApiSummary(Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot > > &&value)
CreateDeploymentResult & AddApiSummary(Aws::String &&key, Aws::Map< Aws::String, MethodSnapshot > &&value)
const Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot > > & GetApiSummary() const
CreateDeploymentResult & WithDescription(const Aws::String &value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
CreateDeploymentResult & WithCreatedDate(Aws::Utils::DateTime &&value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
CreateDeploymentResult & WithId(Aws::String &&value)
AWS_APIGATEWAY_API CreateDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDeploymentResult & AddApiSummary(const Aws::String &key, Aws::Map< Aws::String, MethodSnapshot > &&value)
CreateDeploymentResult & WithDescription(Aws::String &&value)
CreateDeploymentResult & WithId(const Aws::String &value)
CreateDeploymentResult & WithApiSummary(const Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot > > &value)
CreateDeploymentResult & WithRequestId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedDate() const
CreateDeploymentResult & WithRequestId(Aws::String &&value)
CreateDeploymentResult & AddApiSummary(const char *key, Aws::Map< Aws::String, MethodSnapshot > &&value)
CreateDeploymentResult & AddApiSummary(const Aws::String &key, const Aws::Map< Aws::String, MethodSnapshot > &value)
void SetApiSummary(const Aws::Map< Aws::String, Aws::Map< Aws::String, MethodSnapshot > > &value)
AWS_APIGATEWAY_API CreateDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDeploymentResult & WithDescription(const char *value)
CreateDeploymentResult & WithCreatedDate(const Aws::Utils::DateTime &value)
CreateDeploymentResult & WithApiSummary(Aws::Map< Aws::String, 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