AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
StartCopyJobResult.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.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 Backup {
23namespace Model {
25 public:
26 AWS_BACKUP_API StartCopyJobResult() = default;
29
31
34 inline const Aws::String& GetCopyJobId() const { return m_copyJobId; }
35 template <typename CopyJobIdT = Aws::String>
36 void SetCopyJobId(CopyJobIdT&& value) {
37 m_copyJobIdHasBeenSet = true;
38 m_copyJobId = std::forward<CopyJobIdT>(value);
39 }
40 template <typename CopyJobIdT = Aws::String>
41 StartCopyJobResult& WithCopyJobId(CopyJobIdT&& value) {
42 SetCopyJobId(std::forward<CopyJobIdT>(value));
43 return *this;
44 }
46
48
54 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
55 template <typename CreationDateT = Aws::Utils::DateTime>
56 void SetCreationDate(CreationDateT&& value) {
57 m_creationDateHasBeenSet = true;
58 m_creationDate = std::forward<CreationDateT>(value);
59 }
60 template <typename CreationDateT = Aws::Utils::DateTime>
61 StartCopyJobResult& WithCreationDate(CreationDateT&& value) {
62 SetCreationDate(std::forward<CreationDateT>(value));
63 return *this;
64 }
66
68
72 inline bool GetIsParent() const { return m_isParent; }
73 inline void SetIsParent(bool value) {
74 m_isParentHasBeenSet = true;
75 m_isParent = value;
76 }
77 inline StartCopyJobResult& WithIsParent(bool value) {
78 SetIsParent(value);
79 return *this;
80 }
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template <typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) {
88 m_requestIdHasBeenSet = true;
89 m_requestId = std::forward<RequestIdT>(value);
90 }
91 template <typename RequestIdT = Aws::String>
92 StartCopyJobResult& WithRequestId(RequestIdT&& value) {
93 SetRequestId(std::forward<RequestIdT>(value));
94 return *this;
95 }
97 private:
98 Aws::String m_copyJobId;
99
100 Aws::Utils::DateTime m_creationDate{};
101
102 bool m_isParent{false};
103
104 Aws::String m_requestId;
105 bool m_copyJobIdHasBeenSet = false;
106 bool m_creationDateHasBeenSet = false;
107 bool m_isParentHasBeenSet = false;
108 bool m_requestIdHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace Backup
113} // namespace Aws
void SetCreationDate(CreationDateT &&value)
StartCopyJobResult & WithCreationDate(CreationDateT &&value)
StartCopyJobResult & WithCopyJobId(CopyJobIdT &&value)
AWS_BACKUP_API StartCopyJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BACKUP_API StartCopyJobResult()=default
StartCopyJobResult & WithRequestId(RequestIdT &&value)
StartCopyJobResult & WithIsParent(bool value)
const Aws::Utils::DateTime & GetCreationDate() const
const Aws::String & GetRequestId() const
AWS_BACKUP_API StartCopyJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetCopyJobId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue