AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DocumentationPart.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{
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
33 {
34 public:
35 AWS_APIGATEWAY_API DocumentationPart() = default;
36 AWS_APIGATEWAY_API DocumentationPart(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetId() const { return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 DocumentationPart& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
53
55
62 inline const DocumentationPartLocation& GetLocation() const { return m_location; }
63 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
64 template<typename LocationT = DocumentationPartLocation>
65 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
66 template<typename LocationT = DocumentationPartLocation>
67 DocumentationPart& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
69
71
80 inline const Aws::String& GetProperties() const { return m_properties; }
81 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
82 template<typename PropertiesT = Aws::String>
83 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet = true; m_properties = std::forward<PropertiesT>(value); }
84 template<typename PropertiesT = Aws::String>
85 DocumentationPart& WithProperties(PropertiesT&& value) { SetProperties(std::forward<PropertiesT>(value)); return *this;}
87
89
90 inline const Aws::String& GetRequestId() const { return m_requestId; }
91 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
92 template<typename RequestIdT = Aws::String>
93 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
94 template<typename RequestIdT = Aws::String>
95 DocumentationPart& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
97 private:
98
99 Aws::String m_id;
100 bool m_idHasBeenSet = false;
101
102 DocumentationPartLocation m_location;
103 bool m_locationHasBeenSet = false;
104
105 Aws::String m_properties;
106 bool m_propertiesHasBeenSet = false;
107
108 Aws::String m_requestId;
109 bool m_requestIdHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace APIGateway
114} // namespace Aws
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APIGATEWAY_API DocumentationPart & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentationPart & WithProperties(PropertiesT &&value)
DocumentationPart & WithLocation(LocationT &&value)
AWS_APIGATEWAY_API DocumentationPart()=default
const Aws::String & GetProperties() const
AWS_APIGATEWAY_API DocumentationPart(Aws::Utils::Json::JsonView jsonValue)
const DocumentationPartLocation & GetLocation() const
DocumentationPart & WithRequestId(RequestIdT &&value)
DocumentationPart & WithId(IdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue