AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace APIGateway
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APIGATEWAY_API DocumentationPartLocation() = default;
39 AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
54 inline DocumentationPartType GetType() const { return m_type; }
55 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
56 inline void SetType(DocumentationPartType value) { m_typeHasBeenSet = true; m_type = value; }
57 inline DocumentationPartLocation& WithType(DocumentationPartType value) { SetType(value); return *this;}
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) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
76 template<typename PathT = Aws::String>
77 DocumentationPartLocation& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
79
81
91 inline const Aws::String& GetMethod() const { return m_method; }
92 inline bool MethodHasBeenSet() const { return m_methodHasBeenSet; }
93 template<typename MethodT = Aws::String>
94 void SetMethod(MethodT&& value) { m_methodHasBeenSet = true; m_method = std::forward<MethodT>(value); }
95 template<typename MethodT = Aws::String>
96 DocumentationPartLocation& WithMethod(MethodT&& value) { SetMethod(std::forward<MethodT>(value)); return *this;}
98
100
109 inline const Aws::String& GetStatusCode() const { return m_statusCode; }
110 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
111 template<typename StatusCodeT = Aws::String>
112 void SetStatusCode(StatusCodeT&& value) { m_statusCodeHasBeenSet = true; m_statusCode = std::forward<StatusCodeT>(value); }
113 template<typename StatusCodeT = Aws::String>
114 DocumentationPartLocation& WithStatusCode(StatusCodeT&& value) { SetStatusCode(std::forward<StatusCodeT>(value)); return *this;}
116
118
126 inline const Aws::String& GetName() const { return m_name; }
127 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
128 template<typename NameT = Aws::String>
129 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
130 template<typename NameT = Aws::String>
131 DocumentationPartLocation& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
133 private:
134
136 bool m_typeHasBeenSet = false;
137
138 Aws::String m_path;
139 bool m_pathHasBeenSet = false;
140
141 Aws::String m_method;
142 bool m_methodHasBeenSet = false;
143
144 Aws::String m_statusCode;
145 bool m_statusCodeHasBeenSet = false;
146
147 Aws::String m_name;
148 bool m_nameHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace APIGateway
153} // 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