AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutCodeBindingResult.h
1
6#pragma once
7#include <aws/schemas/Schemas_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/schemas/model/CodeGenerationStatus.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Schemas
26{
27namespace Model
28{
30 {
31 public:
32 AWS_SCHEMAS_API PutCodeBindingResult();
35
36
38
41 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
42 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
43 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
44 inline PutCodeBindingResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
45 inline PutCodeBindingResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
47
49
52 inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; }
53 inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModified = value; }
54 inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModified = std::move(value); }
55 inline PutCodeBindingResult& WithLastModified(const Aws::Utils::DateTime& value) { SetLastModified(value); return *this;}
56 inline PutCodeBindingResult& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;}
58
60
63 inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; }
64 inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersion = value; }
65 inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersion = std::move(value); }
66 inline void SetSchemaVersion(const char* value) { m_schemaVersion.assign(value); }
67 inline PutCodeBindingResult& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;}
68 inline PutCodeBindingResult& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;}
69 inline PutCodeBindingResult& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;}
71
73
76 inline const CodeGenerationStatus& GetStatus() const{ return m_status; }
77 inline void SetStatus(const CodeGenerationStatus& value) { m_status = value; }
78 inline void SetStatus(CodeGenerationStatus&& value) { m_status = std::move(value); }
79 inline PutCodeBindingResult& WithStatus(const CodeGenerationStatus& value) { SetStatus(value); return *this;}
80 inline PutCodeBindingResult& WithStatus(CodeGenerationStatus&& value) { SetStatus(std::move(value)); return *this;}
82
84
85 inline const Aws::String& GetRequestId() const{ return m_requestId; }
86 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
87 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
88 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
89 inline PutCodeBindingResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
90 inline PutCodeBindingResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
91 inline PutCodeBindingResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
93 private:
94
95 Aws::Utils::DateTime m_creationDate;
96
97 Aws::Utils::DateTime m_lastModified;
98
99 Aws::String m_schemaVersion;
100
101 CodeGenerationStatus m_status;
102
103 Aws::String m_requestId;
104 };
105
106} // namespace Model
107} // namespace Schemas
108} // namespace Aws
PutCodeBindingResult & WithRequestId(const char *value)
PutCodeBindingResult & WithStatus(CodeGenerationStatus &&value)
const Aws::Utils::DateTime & GetLastModified() const
const Aws::Utils::DateTime & GetCreationDate() const
PutCodeBindingResult & WithStatus(const CodeGenerationStatus &value)
PutCodeBindingResult & WithSchemaVersion(const Aws::String &value)
const CodeGenerationStatus & GetStatus() const
void SetCreationDate(const Aws::Utils::DateTime &value)
void SetRequestId(const Aws::String &value)
PutCodeBindingResult & WithSchemaVersion(const char *value)
PutCodeBindingResult & WithSchemaVersion(Aws::String &&value)
void SetCreationDate(Aws::Utils::DateTime &&value)
AWS_SCHEMAS_API PutCodeBindingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutCodeBindingResult & WithLastModified(const Aws::Utils::DateTime &value)
void SetSchemaVersion(const Aws::String &value)
void SetLastModified(Aws::Utils::DateTime &&value)
PutCodeBindingResult & WithLastModified(Aws::Utils::DateTime &&value)
void SetLastModified(const Aws::Utils::DateTime &value)
void SetStatus(const CodeGenerationStatus &value)
AWS_SCHEMAS_API PutCodeBindingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStatus(CodeGenerationStatus &&value)
PutCodeBindingResult & WithCreationDate(const Aws::Utils::DateTime &value)
PutCodeBindingResult & WithRequestId(const Aws::String &value)
PutCodeBindingResult & WithCreationDate(Aws::Utils::DateTime &&value)
PutCodeBindingResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue