AWS SDK for C++

AWS SDK for C++ Version 1.11.778

Loading...
Searching...
No Matches
DescribeCodeBindingResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/schemas/Schemas_EXPORTS.h>
11#include <aws/schemas/model/CodeGenerationStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Schemas {
25namespace Model {
27 public:
28 AWS_SCHEMAS_API DescribeCodeBindingResult() = default;
31
33
36 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
37 template <typename CreationDateT = Aws::Utils::DateTime>
38 void SetCreationDate(CreationDateT&& value) {
39 m_creationDateHasBeenSet = true;
40 m_creationDate = std::forward<CreationDateT>(value);
41 }
42 template <typename CreationDateT = Aws::Utils::DateTime>
44 SetCreationDate(std::forward<CreationDateT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::Utils::DateTime& GetLastModified() const { return m_lastModified; }
54 template <typename LastModifiedT = Aws::Utils::DateTime>
55 void SetLastModified(LastModifiedT&& value) {
56 m_lastModifiedHasBeenSet = true;
57 m_lastModified = std::forward<LastModifiedT>(value);
58 }
59 template <typename LastModifiedT = Aws::Utils::DateTime>
61 SetLastModified(std::forward<LastModifiedT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetSchemaVersion() const { return m_schemaVersion; }
71 template <typename SchemaVersionT = Aws::String>
72 void SetSchemaVersion(SchemaVersionT&& value) {
73 m_schemaVersionHasBeenSet = true;
74 m_schemaVersion = std::forward<SchemaVersionT>(value);
75 }
76 template <typename SchemaVersionT = Aws::String>
78 SetSchemaVersion(std::forward<SchemaVersionT>(value));
79 return *this;
80 }
82
84
87 inline CodeGenerationStatus GetStatus() const { return m_status; }
88 inline void SetStatus(CodeGenerationStatus value) {
89 m_statusHasBeenSet = true;
90 m_status = value;
91 }
93 SetStatus(value);
94 return *this;
95 }
97
99
100 inline const Aws::String& GetRequestId() const { return m_requestId; }
101 template <typename RequestIdT = Aws::String>
102 void SetRequestId(RequestIdT&& value) {
103 m_requestIdHasBeenSet = true;
104 m_requestId = std::forward<RequestIdT>(value);
105 }
106 template <typename RequestIdT = Aws::String>
108 SetRequestId(std::forward<RequestIdT>(value));
109 return *this;
110 }
112 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
113
114 private:
115 Aws::Utils::DateTime m_creationDate{};
116
117 Aws::Utils::DateTime m_lastModified{};
118
119 Aws::String m_schemaVersion;
120
122
123 Aws::String m_requestId;
124 Aws::Http::HttpResponseCode m_HttpResponseCode;
125 bool m_creationDateHasBeenSet = false;
126 bool m_lastModifiedHasBeenSet = false;
127 bool m_schemaVersionHasBeenSet = false;
128 bool m_statusHasBeenSet = false;
129 bool m_requestIdHasBeenSet = false;
130};
131
132} // namespace Model
133} // namespace Schemas
134} // namespace Aws
DescribeCodeBindingResult & WithStatus(CodeGenerationStatus value)
DescribeCodeBindingResult & WithSchemaVersion(SchemaVersionT &&value)
const Aws::Utils::DateTime & GetLastModified() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeCodeBindingResult & WithCreationDate(CreationDateT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
DescribeCodeBindingResult & WithRequestId(RequestIdT &&value)
DescribeCodeBindingResult & WithLastModified(LastModifiedT &&value)
AWS_SCHEMAS_API DescribeCodeBindingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SCHEMAS_API DescribeCodeBindingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SCHEMAS_API DescribeCodeBindingResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue