AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
48 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
49 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
50 inline DocumentationVersion& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
51 inline DocumentationVersion& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
52 inline DocumentationVersion& WithVersion(const char* value) { SetVersion(value); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
60 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
61 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
62 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
63 inline DocumentationVersion& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
64 inline DocumentationVersion& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetDescription() const{ return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
74 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
75 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
76 inline DocumentationVersion& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
77 inline DocumentationVersion& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
78 inline DocumentationVersion& WithDescription(const char* value) { SetDescription(value); return *this;}
80
82
83 inline const Aws::String& GetRequestId() const{ return m_requestId; }
84 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
85 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
86 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
87 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
88 inline DocumentationVersion& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
89 inline DocumentationVersion& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
90 inline DocumentationVersion& WithRequestId(const char* value) { SetRequestId(value); return *this;}
92 private:
93
94 Aws::String m_version;
95 bool m_versionHasBeenSet = false;
96
97 Aws::Utils::DateTime m_createdDate;
98 bool m_createdDateHasBeenSet = false;
99
100 Aws::String m_description;
101 bool m_descriptionHasBeenSet = false;
102
103 Aws::String m_requestId;
104 bool m_requestIdHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace APIGateway
109} // namespace Aws
DocumentationVersion & WithVersion(const char *value)
DocumentationVersion & WithDescription(Aws::String &&value)
AWS_APIGATEWAY_API DocumentationVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentationVersion & WithCreatedDate(Aws::Utils::DateTime &&value)
DocumentationVersion & WithRequestId(const char *value)
DocumentationVersion & WithVersion(Aws::String &&value)
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreatedDate(Aws::Utils::DateTime &&value)
AWS_APIGATEWAY_API DocumentationVersion(Aws::Utils::Json::JsonView jsonValue)
DocumentationVersion & WithRequestId(const Aws::String &value)
DocumentationVersion & WithDescription(const Aws::String &value)
DocumentationVersion & WithRequestId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
DocumentationVersion & WithDescription(const char *value)
DocumentationVersion & WithCreatedDate(const Aws::Utils::DateTime &value)
DocumentationVersion & WithVersion(const Aws::String &value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue