AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
34
35
37
40 inline const Aws::String& GetCopyJobId() const { return m_copyJobId; }
41 template<typename CopyJobIdT = Aws::String>
42 void SetCopyJobId(CopyJobIdT&& value) { m_copyJobIdHasBeenSet = true; m_copyJobId = std::forward<CopyJobIdT>(value); }
43 template<typename CopyJobIdT = Aws::String>
44 StartCopyJobResult& WithCopyJobId(CopyJobIdT&& value) { SetCopyJobId(std::forward<CopyJobIdT>(value)); return *this;}
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) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
57 template<typename CreationDateT = Aws::Utils::DateTime>
58 StartCopyJobResult& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
60
62
66 inline bool GetIsParent() const { return m_isParent; }
67 inline void SetIsParent(bool value) { m_isParentHasBeenSet = true; m_isParent = value; }
68 inline StartCopyJobResult& WithIsParent(bool value) { SetIsParent(value); return *this;}
70
72
73 inline const Aws::String& GetRequestId() const { return m_requestId; }
74 template<typename RequestIdT = Aws::String>
75 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
76 template<typename RequestIdT = Aws::String>
77 StartCopyJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
79 private:
80
81 Aws::String m_copyJobId;
82 bool m_copyJobIdHasBeenSet = false;
83
84 Aws::Utils::DateTime m_creationDate{};
85 bool m_creationDateHasBeenSet = false;
86
87 bool m_isParent{false};
88 bool m_isParentHasBeenSet = false;
89
90 Aws::String m_requestId;
91 bool m_requestIdHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Backup
96} // 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