AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetDocumentationPartResult.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/apigateway/model/DocumentationPartLocation.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace APIGateway
25{
26namespace Model
27{
34 {
35 public:
36 AWS_APIGATEWAY_API GetDocumentationPartResult() = default;
39
40
42
46 inline const Aws::String& GetId() const { return m_id; }
47 template<typename IdT = Aws::String>
48 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
49 template<typename IdT = Aws::String>
50 GetDocumentationPartResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
52
54
61 inline const DocumentationPartLocation& GetLocation() const { return m_location; }
62 template<typename LocationT = DocumentationPartLocation>
63 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
64 template<typename LocationT = DocumentationPartLocation>
65 GetDocumentationPartResult& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
67
69
78 inline const Aws::String& GetProperties() const { return m_properties; }
79 template<typename PropertiesT = Aws::String>
80 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet = true; m_properties = std::forward<PropertiesT>(value); }
81 template<typename PropertiesT = Aws::String>
82 GetDocumentationPartResult& WithProperties(PropertiesT&& value) { SetProperties(std::forward<PropertiesT>(value)); return *this;}
84
86
87 inline const Aws::String& GetRequestId() const { return m_requestId; }
88 template<typename RequestIdT = Aws::String>
89 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
90 template<typename RequestIdT = Aws::String>
91 GetDocumentationPartResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
93 private:
94
95 Aws::String m_id;
96 bool m_idHasBeenSet = false;
97
99 bool m_locationHasBeenSet = false;
100
101 Aws::String m_properties;
102 bool m_propertiesHasBeenSet = false;
103
104 Aws::String m_requestId;
105 bool m_requestIdHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace APIGateway
110} // namespace Aws
GetDocumentationPartResult & WithProperties(PropertiesT &&value)
AWS_APIGATEWAY_API GetDocumentationPartResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDocumentationPartResult & WithLocation(LocationT &&value)
GetDocumentationPartResult & WithRequestId(RequestIdT &&value)
AWS_APIGATEWAY_API GetDocumentationPartResult()=default
AWS_APIGATEWAY_API GetDocumentationPartResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const DocumentationPartLocation & GetLocation() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue