AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDocumentationVersionResult.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{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace APIGateway
25{
26namespace Model
27{
34 {
35 public:
36 AWS_APIGATEWAY_API GetDocumentationVersionResult();
39
40
42
45 inline const Aws::String& GetVersion() const{ return m_version; }
46 inline void SetVersion(const Aws::String& value) { m_version = value; }
47 inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
48 inline void SetVersion(const char* value) { m_version.assign(value); }
49 inline GetDocumentationVersionResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
50 inline GetDocumentationVersionResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
51 inline GetDocumentationVersionResult& WithVersion(const char* value) { SetVersion(value); return *this;}
53
55
58 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
59 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
60 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
62 inline GetDocumentationVersionResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
64
66
69 inline const Aws::String& GetDescription() const{ return m_description; }
70 inline void SetDescription(const Aws::String& value) { m_description = value; }
71 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
72 inline void SetDescription(const char* value) { m_description.assign(value); }
73 inline GetDocumentationVersionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
74 inline GetDocumentationVersionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
75 inline GetDocumentationVersionResult& WithDescription(const char* value) { SetDescription(value); return *this;}
77
79
80 inline const Aws::String& GetRequestId() const{ return m_requestId; }
81 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
82 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
83 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
84 inline GetDocumentationVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
85 inline GetDocumentationVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
86 inline GetDocumentationVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
88 private:
89
90 Aws::String m_version;
91
92 Aws::Utils::DateTime m_createdDate;
93
94 Aws::String m_description;
95
96 Aws::String m_requestId;
97 };
98
99} // namespace Model
100} // namespace APIGateway
101} // namespace Aws
GetDocumentationVersionResult & WithRequestId(const char *value)
AWS_APIGATEWAY_API GetDocumentationVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDocumentationVersionResult & WithVersion(const Aws::String &value)
GetDocumentationVersionResult & WithDescription(Aws::String &&value)
GetDocumentationVersionResult & WithVersion(const char *value)
GetDocumentationVersionResult & WithVersion(Aws::String &&value)
GetDocumentationVersionResult & WithDescription(const Aws::String &value)
AWS_APIGATEWAY_API GetDocumentationVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDocumentationVersionResult & WithDescription(const char *value)
GetDocumentationVersionResult & WithCreatedDate(const Aws::Utils::DateTime &value)
GetDocumentationVersionResult & WithRequestId(Aws::String &&value)
GetDocumentationVersionResult & WithCreatedDate(Aws::Utils::DateTime &&value)
GetDocumentationVersionResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue