AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
UpdateProjectResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/databrew/GlueDataBrew_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace GlueDataBrew {
23namespace Model {
25 public:
26 AWS_GLUEDATABREW_API UpdateProjectResult() = default;
29
31
34 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
35 template <typename LastModifiedDateT = Aws::Utils::DateTime>
36 void SetLastModifiedDate(LastModifiedDateT&& value) {
37 m_lastModifiedDateHasBeenSet = true;
38 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
39 }
40 template <typename LastModifiedDateT = Aws::Utils::DateTime>
41 UpdateProjectResult& WithLastModifiedDate(LastModifiedDateT&& value) {
42 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetName() const { return m_name; }
52 template <typename NameT = Aws::String>
53 void SetName(NameT&& value) {
54 m_nameHasBeenSet = true;
55 m_name = std::forward<NameT>(value);
56 }
57 template <typename NameT = Aws::String>
58 UpdateProjectResult& WithName(NameT&& value) {
59 SetName(std::forward<NameT>(value));
60 return *this;
61 }
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template <typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) {
69 m_requestIdHasBeenSet = true;
70 m_requestId = std::forward<RequestIdT>(value);
71 }
72 template <typename RequestIdT = Aws::String>
73 UpdateProjectResult& WithRequestId(RequestIdT&& value) {
74 SetRequestId(std::forward<RequestIdT>(value));
75 return *this;
76 }
78 private:
79 Aws::Utils::DateTime m_lastModifiedDate{};
80
81 Aws::String m_name;
82
83 Aws::String m_requestId;
84 bool m_lastModifiedDateHasBeenSet = false;
85 bool m_nameHasBeenSet = false;
86 bool m_requestIdHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace GlueDataBrew
91} // namespace Aws
AWS_GLUEDATABREW_API UpdateProjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateProjectResult & WithRequestId(RequestIdT &&value)
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