AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DocumentationVersion.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 DocumentationVersion() = default;
36 AWS_APIGATEWAY_API DocumentationVersion(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetVersion() const { return m_version; }
46 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
47 template<typename VersionT = Aws::String>
48 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
49 template<typename VersionT = Aws::String>
50 DocumentationVersion& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
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) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
61 template<typename CreatedDateT = Aws::Utils::DateTime>
62 DocumentationVersion& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
64
66
69 inline const Aws::String& GetDescription() const { return m_description; }
70 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
71 template<typename DescriptionT = Aws::String>
72 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
73 template<typename DescriptionT = Aws::String>
74 DocumentationVersion& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
76
78
79 inline const Aws::String& GetRequestId() const { return m_requestId; }
80 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
81 template<typename RequestIdT = Aws::String>
82 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
83 template<typename RequestIdT = Aws::String>
84 DocumentationVersion& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
86 private:
87
88 Aws::String m_version;
89 bool m_versionHasBeenSet = false;
90
91 Aws::Utils::DateTime m_createdDate{};
92 bool m_createdDateHasBeenSet = false;
93
94 Aws::String m_description;
95 bool m_descriptionHasBeenSet = false;
96
97 Aws::String m_requestId;
98 bool m_requestIdHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace APIGateway
103} // 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