AWS SDK for C++

AWS SDK for C++ Version 1.11.768

Loading...
Searching...
No Matches
DocumentationVersion.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/DateTime.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 DocumentationVersion() = default;
31 AWS_APIGATEWAY_API DocumentationVersion(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetVersion() const { return m_version; }
40 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
41 template <typename VersionT = Aws::String>
42 void SetVersion(VersionT&& value) {
43 m_versionHasBeenSet = true;
44 m_version = std::forward<VersionT>(value);
45 }
46 template <typename VersionT = Aws::String>
47 DocumentationVersion& WithVersion(VersionT&& value) {
48 SetVersion(std::forward<VersionT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
58 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
59 template <typename CreatedDateT = Aws::Utils::DateTime>
60 void SetCreatedDate(CreatedDateT&& value) {
61 m_createdDateHasBeenSet = true;
62 m_createdDate = std::forward<CreatedDateT>(value);
63 }
64 template <typename CreatedDateT = Aws::Utils::DateTime>
65 DocumentationVersion& WithCreatedDate(CreatedDateT&& value) {
66 SetCreatedDate(std::forward<CreatedDateT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 template <typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) {
79 m_descriptionHasBeenSet = true;
80 m_description = std::forward<DescriptionT>(value);
81 }
82 template <typename DescriptionT = Aws::String>
83 DocumentationVersion& WithDescription(DescriptionT&& value) {
84 SetDescription(std::forward<DescriptionT>(value));
85 return *this;
86 }
88
90
91 inline const Aws::String& GetRequestId() const { return m_requestId; }
92 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
93 template <typename RequestIdT = Aws::String>
94 void SetRequestId(RequestIdT&& value) {
95 m_requestIdHasBeenSet = true;
96 m_requestId = std::forward<RequestIdT>(value);
97 }
98 template <typename RequestIdT = Aws::String>
99 DocumentationVersion& WithRequestId(RequestIdT&& value) {
100 SetRequestId(std::forward<RequestIdT>(value));
101 return *this;
102 }
104 private:
105 Aws::String m_version;
106
107 Aws::Utils::DateTime m_createdDate{};
108
109 Aws::String m_description;
110
111 Aws::String m_requestId;
112 bool m_versionHasBeenSet = false;
113 bool m_createdDateHasBeenSet = false;
114 bool m_descriptionHasBeenSet = false;
115 bool m_requestIdHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace APIGateway
120} // namespace Aws
AWS_APIGATEWAY_API DocumentationVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APIGATEWAY_API DocumentationVersion(Aws::Utils::Json::JsonView jsonValue)
DocumentationVersion & WithDescription(DescriptionT &&value)
DocumentationVersion & WithVersion(VersionT &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
AWS_APIGATEWAY_API DocumentationVersion()=default
DocumentationVersion & WithRequestId(RequestIdT &&value)
DocumentationVersion & WithCreatedDate(CreatedDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue