AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
GetDocumentationVersionResult.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace APIGateway {
24namespace Model {
31 public:
32 AWS_APIGATEWAY_API GetDocumentationVersionResult() = default;
35
37
40 inline const Aws::String& GetVersion() const { return m_version; }
41 template <typename VersionT = Aws::String>
42 void SetVersion(VersionT&& value) {
43 m_versionHasBeenSet = true;
44 m_version = std::forward<VersionT>(value);
45 }
46 template <typename VersionT = Aws::String>
48 SetVersion(std::forward<VersionT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
58 template <typename CreatedDateT = Aws::Utils::DateTime>
59 void SetCreatedDate(CreatedDateT&& value) {
60 m_createdDateHasBeenSet = true;
61 m_createdDate = std::forward<CreatedDateT>(value);
62 }
63 template <typename CreatedDateT = Aws::Utils::DateTime>
65 SetCreatedDate(std::forward<CreatedDateT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 template <typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) {
77 m_descriptionHasBeenSet = true;
78 m_description = std::forward<DescriptionT>(value);
79 }
80 template <typename DescriptionT = Aws::String>
82 SetDescription(std::forward<DescriptionT>(value));
83 return *this;
84 }
86
88
89 inline const Aws::String& GetRequestId() const { return m_requestId; }
90 template <typename RequestIdT = Aws::String>
91 void SetRequestId(RequestIdT&& value) {
92 m_requestIdHasBeenSet = true;
93 m_requestId = std::forward<RequestIdT>(value);
94 }
95 template <typename RequestIdT = Aws::String>
97 SetRequestId(std::forward<RequestIdT>(value));
98 return *this;
99 }
101 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
102
103 private:
104 Aws::String m_version;
105
106 Aws::Utils::DateTime m_createdDate{};
107
108 Aws::String m_description;
109
110 Aws::String m_requestId;
111 Aws::Http::HttpResponseCode m_HttpResponseCode;
112 bool m_versionHasBeenSet = false;
113 bool m_createdDateHasBeenSet = false;
114 bool m_descriptionHasBeenSet = false;
115 bool m_requestIdHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace APIGateway
120} // namespace Aws
AWS_APIGATEWAY_API GetDocumentationVersionResult()=default
AWS_APIGATEWAY_API GetDocumentationVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDocumentationVersionResult & WithCreatedDate(CreatedDateT &&value)
GetDocumentationVersionResult & WithVersion(VersionT &&value)
GetDocumentationVersionResult & WithRequestId(RequestIdT &&value)
GetDocumentationVersionResult & WithDescription(DescriptionT &&value)
AWS_APIGATEWAY_API GetDocumentationVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue