AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
UpdateProjectResult.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/databrew/GlueDataBrew_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace GlueDataBrew {
24namespace Model {
26 public:
27 AWS_GLUEDATABREW_API UpdateProjectResult() = default;
30
32
35 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
36 template <typename LastModifiedDateT = Aws::Utils::DateTime>
37 void SetLastModifiedDate(LastModifiedDateT&& value) {
38 m_lastModifiedDateHasBeenSet = true;
39 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
40 }
41 template <typename LastModifiedDateT = Aws::Utils::DateTime>
42 UpdateProjectResult& WithLastModifiedDate(LastModifiedDateT&& value) {
43 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 template <typename NameT = Aws::String>
54 void SetName(NameT&& value) {
55 m_nameHasBeenSet = true;
56 m_name = std::forward<NameT>(value);
57 }
58 template <typename NameT = Aws::String>
59 UpdateProjectResult& WithName(NameT&& value) {
60 SetName(std::forward<NameT>(value));
61 return *this;
62 }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template <typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) {
70 m_requestIdHasBeenSet = true;
71 m_requestId = std::forward<RequestIdT>(value);
72 }
73 template <typename RequestIdT = Aws::String>
74 UpdateProjectResult& WithRequestId(RequestIdT&& value) {
75 SetRequestId(std::forward<RequestIdT>(value));
76 return *this;
77 }
79 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
80
81 private:
82 Aws::Utils::DateTime m_lastModifiedDate{};
83
84 Aws::String m_name;
85
86 Aws::String m_requestId;
87 Aws::Http::HttpResponseCode m_HttpResponseCode;
88 bool m_lastModifiedDateHasBeenSet = false;
89 bool m_nameHasBeenSet = false;
90 bool m_requestIdHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace GlueDataBrew
95} // namespace Aws
AWS_GLUEDATABREW_API UpdateProjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateProjectResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Utils::DateTime & GetLastModifiedDate() const
AWS_GLUEDATABREW_API UpdateProjectResult()=default
AWS_GLUEDATABREW_API UpdateProjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateProjectResult & WithName(NameT &&value)
UpdateProjectResult & WithLastModifiedDate(LastModifiedDateT &&value)
void SetLastModifiedDate(LastModifiedDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue