AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartCopyJobResult.h
1
6#pragma once
7#include <aws/backup/Backup_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 Backup
25{
26namespace Model
27{
29 {
30 public:
31 AWS_BACKUP_API StartCopyJobResult();
34
35
37
40 inline const Aws::String& GetCopyJobId() const{ return m_copyJobId; }
41 inline void SetCopyJobId(const Aws::String& value) { m_copyJobId = value; }
42 inline void SetCopyJobId(Aws::String&& value) { m_copyJobId = std::move(value); }
43 inline void SetCopyJobId(const char* value) { m_copyJobId.assign(value); }
44 inline StartCopyJobResult& WithCopyJobId(const Aws::String& value) { SetCopyJobId(value); return *this;}
45 inline StartCopyJobResult& WithCopyJobId(Aws::String&& value) { SetCopyJobId(std::move(value)); return *this;}
46 inline StartCopyJobResult& WithCopyJobId(const char* value) { SetCopyJobId(value); return *this;}
48
50
56 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
57 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
58 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
59 inline StartCopyJobResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
60 inline StartCopyJobResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
62
64
68 inline bool GetIsParent() const{ return m_isParent; }
69 inline void SetIsParent(bool value) { m_isParent = value; }
70 inline StartCopyJobResult& WithIsParent(bool value) { SetIsParent(value); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline StartCopyJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline StartCopyJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline StartCopyJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::String m_copyJobId;
86
87 Aws::Utils::DateTime m_creationDate;
88
89 bool m_isParent;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace Backup
96} // namespace Aws
StartCopyJobResult & WithRequestId(Aws::String &&value)
StartCopyJobResult & WithRequestId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
void SetCopyJobId(const Aws::String &value)
AWS_BACKUP_API StartCopyJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreationDate(Aws::Utils::DateTime &&value)
StartCopyJobResult & WithCopyJobId(const Aws::String &value)
StartCopyJobResult & WithIsParent(bool value)
StartCopyJobResult & WithRequestId(const char *value)
StartCopyJobResult & WithCopyJobId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationDate() const
StartCopyJobResult & WithCreationDate(const Aws::Utils::DateTime &value)
const Aws::String & GetRequestId() const
StartCopyJobResult & WithCopyJobId(const char *value)
AWS_BACKUP_API StartCopyJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartCopyJobResult & WithCreationDate(Aws::Utils::DateTime &&value)
const Aws::String & GetCopyJobId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue