AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
CreateDocumentationPartResult.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/model/DocumentationPartLocation.h>
9#include <aws/core/http/HttpResponse.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 CreateDocumentationPartResult() = default;
35
37
41 inline const Aws::String& GetId() const { return m_id; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
62 inline const DocumentationPartLocation& GetLocation() const { return m_location; }
63 template <typename LocationT = DocumentationPartLocation>
64 void SetLocation(LocationT&& value) {
65 m_locationHasBeenSet = true;
66 m_location = std::forward<LocationT>(value);
67 }
68 template <typename LocationT = DocumentationPartLocation>
70 SetLocation(std::forward<LocationT>(value));
71 return *this;
72 }
74
76
85 inline const Aws::String& GetProperties() const { return m_properties; }
86 template <typename PropertiesT = Aws::String>
87 void SetProperties(PropertiesT&& value) {
88 m_propertiesHasBeenSet = true;
89 m_properties = std::forward<PropertiesT>(value);
90 }
91 template <typename PropertiesT = Aws::String>
93 SetProperties(std::forward<PropertiesT>(value));
94 return *this;
95 }
97
99
100 inline const Aws::String& GetRequestId() const { return m_requestId; }
101 template <typename RequestIdT = Aws::String>
102 void SetRequestId(RequestIdT&& value) {
103 m_requestIdHasBeenSet = true;
104 m_requestId = std::forward<RequestIdT>(value);
105 }
106 template <typename RequestIdT = Aws::String>
108 SetRequestId(std::forward<RequestIdT>(value));
109 return *this;
110 }
112 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
113
114 private:
115 Aws::String m_id;
116
117 DocumentationPartLocation m_location;
118
119 Aws::String m_properties;
120
121 Aws::String m_requestId;
122 Aws::Http::HttpResponseCode m_HttpResponseCode;
123 bool m_idHasBeenSet = false;
124 bool m_locationHasBeenSet = false;
125 bool m_propertiesHasBeenSet = false;
126 bool m_requestIdHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace APIGateway
131} // namespace Aws
CreateDocumentationPartResult & WithRequestId(RequestIdT &&value)
CreateDocumentationPartResult & WithLocation(LocationT &&value)
AWS_APIGATEWAY_API CreateDocumentationPartResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APIGATEWAY_API CreateDocumentationPartResult()=default
AWS_APIGATEWAY_API CreateDocumentationPartResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDocumentationPartResult & WithProperties(PropertiesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue