AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
DocumentationPartLocation.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/model/DocumentationPartType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace APIGateway {
21namespace Model {
22
30 public:
31 AWS_APIGATEWAY_API DocumentationPartLocation() = default;
34 AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
48 inline DocumentationPartType GetType() const { return m_type; }
49 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
50 inline void SetType(DocumentationPartType value) {
51 m_typeHasBeenSet = true;
52 m_type = value;
53 }
55 SetType(value);
56 return *this;
57 }
59
61
72 inline const Aws::String& GetPath() const { return m_path; }
73 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
74 template <typename PathT = Aws::String>
75 void SetPath(PathT&& value) {
76 m_pathHasBeenSet = true;
77 m_path = std::forward<PathT>(value);
78 }
79 template <typename PathT = Aws::String>
81 SetPath(std::forward<PathT>(value));
82 return *this;
83 }
85
87
97 inline const Aws::String& GetMethod() const { return m_method; }
98 inline bool MethodHasBeenSet() const { return m_methodHasBeenSet; }
99 template <typename MethodT = Aws::String>
100 void SetMethod(MethodT&& value) {
101 m_methodHasBeenSet = true;
102 m_method = std::forward<MethodT>(value);
103 }
104 template <typename MethodT = Aws::String>
106 SetMethod(std::forward<MethodT>(value));
107 return *this;
108 }
110
112
121 inline const Aws::String& GetStatusCode() const { return m_statusCode; }
122 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
123 template <typename StatusCodeT = Aws::String>
124 void SetStatusCode(StatusCodeT&& value) {
125 m_statusCodeHasBeenSet = true;
126 m_statusCode = std::forward<StatusCodeT>(value);
127 }
128 template <typename StatusCodeT = Aws::String>
130 SetStatusCode(std::forward<StatusCodeT>(value));
131 return *this;
132 }
134
136
144 inline const Aws::String& GetName() const { return m_name; }
145 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
146 template <typename NameT = Aws::String>
147 void SetName(NameT&& value) {
148 m_nameHasBeenSet = true;
149 m_name = std::forward<NameT>(value);
150 }
151 template <typename NameT = Aws::String>
153 SetName(std::forward<NameT>(value));
154 return *this;
155 }
157 private:
159
160 Aws::String m_path;
161
162 Aws::String m_method;
163
164 Aws::String m_statusCode;
165
166 Aws::String m_name;
167 bool m_typeHasBeenSet = false;
168 bool m_pathHasBeenSet = false;
169 bool m_methodHasBeenSet = false;
170 bool m_statusCodeHasBeenSet = false;
171 bool m_nameHasBeenSet = false;
172};
173
174} // namespace Model
175} // namespace APIGateway
176} // namespace Aws
DocumentationPartLocation & WithPath(PathT &&value)
DocumentationPartLocation & WithMethod(MethodT &&value)
DocumentationPartLocation & WithStatusCode(StatusCodeT &&value)
AWS_APIGATEWAY_API DocumentationPartLocation(Aws::Utils::Json::JsonView jsonValue)
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentationPartLocation & WithType(DocumentationPartType value)
DocumentationPartLocation & WithName(NameT &&value)
AWS_APIGATEWAY_API DocumentationPartLocation()=default
AWS_APIGATEWAY_API DocumentationPartLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue