AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline DocumentationPart& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline DocumentationPart& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline DocumentationPart& WithId(const char* value) { SetId(value); return *this;}
55
57
64 inline const DocumentationPartLocation& GetLocation() const{ return m_location; }
65 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
66 inline void SetLocation(const DocumentationPartLocation& value) { m_locationHasBeenSet = true; m_location = value; }
67 inline void SetLocation(DocumentationPartLocation&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
68 inline DocumentationPart& WithLocation(const DocumentationPartLocation& value) { SetLocation(value); return *this;}
69 inline DocumentationPart& WithLocation(DocumentationPartLocation&& value) { SetLocation(std::move(value)); return *this;}
71
73
82 inline const Aws::String& GetProperties() const{ return m_properties; }
83 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
84 inline void SetProperties(const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties = value; }
85 inline void SetProperties(Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties = std::move(value); }
86 inline void SetProperties(const char* value) { m_propertiesHasBeenSet = true; m_properties.assign(value); }
87 inline DocumentationPart& WithProperties(const Aws::String& value) { SetProperties(value); return *this;}
88 inline DocumentationPart& WithProperties(Aws::String&& value) { SetProperties(std::move(value)); return *this;}
89 inline DocumentationPart& WithProperties(const char* value) { SetProperties(value); return *this;}
91
93
94 inline const Aws::String& GetRequestId() const{ return m_requestId; }
95 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
96 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
97 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
98 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
99 inline DocumentationPart& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
100 inline DocumentationPart& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
101 inline DocumentationPart& WithRequestId(const char* value) { SetRequestId(value); return *this;}
103 private:
104
105 Aws::String m_id;
106 bool m_idHasBeenSet = false;
107
108 DocumentationPartLocation m_location;
109 bool m_locationHasBeenSet = false;
110
111 Aws::String m_properties;
112 bool m_propertiesHasBeenSet = false;
113
114 Aws::String m_requestId;
115 bool m_requestIdHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace APIGateway
120} // namespace Aws
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentationPart & WithProperties(const Aws::String &value)
DocumentationPart & WithId(const Aws::String &value)
AWS_APIGATEWAY_API DocumentationPart & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLocation(DocumentationPartLocation &&value)
DocumentationPart & WithProperties(const char *value)
DocumentationPart & WithLocation(DocumentationPartLocation &&value)
DocumentationPart & WithRequestId(const Aws::String &value)
const Aws::String & GetProperties() const
DocumentationPart & WithRequestId(Aws::String &&value)
DocumentationPart & WithId(Aws::String &&value)
AWS_APIGATEWAY_API DocumentationPart(Aws::Utils::Json::JsonView jsonValue)
void SetLocation(const DocumentationPartLocation &value)
void SetProperties(const Aws::String &value)
const DocumentationPartLocation & GetLocation() const
void SetId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
DocumentationPart & WithRequestId(const char *value)
DocumentationPart & WithProperties(Aws::String &&value)
DocumentationPart & WithId(const char *value)
DocumentationPart & WithLocation(const DocumentationPartLocation &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue