AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDocumentationVersionResult.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:
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 CreateDocumentationVersionResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
50 inline CreateDocumentationVersionResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
51 inline CreateDocumentationVersionResult& 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 CreateDocumentationVersionResult& 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 CreateDocumentationVersionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
74 inline CreateDocumentationVersionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
75 inline CreateDocumentationVersionResult& 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 CreateDocumentationVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
85 inline CreateDocumentationVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
86 inline CreateDocumentationVersionResult& 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
AWS_APIGATEWAY_API CreateDocumentationVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDocumentationVersionResult & WithVersion(const char *value)
CreateDocumentationVersionResult & WithVersion(const Aws::String &value)
CreateDocumentationVersionResult & WithVersion(Aws::String &&value)
CreateDocumentationVersionResult & WithDescription(Aws::String &&value)
CreateDocumentationVersionResult & WithRequestId(const Aws::String &value)
CreateDocumentationVersionResult & WithRequestId(const char *value)
CreateDocumentationVersionResult & WithCreatedDate(Aws::Utils::DateTime &&value)
CreateDocumentationVersionResult & WithDescription(const Aws::String &value)
AWS_APIGATEWAY_API CreateDocumentationVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDocumentationVersionResult & WithDescription(const char *value)
CreateDocumentationVersionResult & WithRequestId(Aws::String &&value)
CreateDocumentationVersionResult & WithCreatedDate(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue