AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
DocumentationPart.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/model/DocumentationPartLocation.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
29 public:
30 AWS_APIGATEWAY_API DocumentationPart() = default;
31 AWS_APIGATEWAY_API DocumentationPart(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
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>
48 DocumentationPart& WithId(IdT&& value) {
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
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) {
66 m_locationHasBeenSet = true;
67 m_location = std::forward<LocationT>(value);
68 }
69 template <typename LocationT = DocumentationPartLocation>
70 DocumentationPart& WithLocation(LocationT&& value) {
71 SetLocation(std::forward<LocationT>(value));
72 return *this;
73 }
75
77
86 inline const Aws::String& GetProperties() const { return m_properties; }
87 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
88 template <typename PropertiesT = Aws::String>
89 void SetProperties(PropertiesT&& value) {
90 m_propertiesHasBeenSet = true;
91 m_properties = std::forward<PropertiesT>(value);
92 }
93 template <typename PropertiesT = Aws::String>
94 DocumentationPart& WithProperties(PropertiesT&& value) {
95 SetProperties(std::forward<PropertiesT>(value));
96 return *this;
97 }
99
101
102 inline const Aws::String& GetRequestId() const { return m_requestId; }
103 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
104 template <typename RequestIdT = Aws::String>
105 void SetRequestId(RequestIdT&& value) {
106 m_requestIdHasBeenSet = true;
107 m_requestId = std::forward<RequestIdT>(value);
108 }
109 template <typename RequestIdT = Aws::String>
110 DocumentationPart& WithRequestId(RequestIdT&& value) {
111 SetRequestId(std::forward<RequestIdT>(value));
112 return *this;
113 }
115 private:
116 Aws::String m_id;
117
118 DocumentationPartLocation m_location;
119
120 Aws::String m_properties;
121
122 Aws::String m_requestId;
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
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