AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateBackupSelectionResult.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:
34
35
37
41 inline const Aws::String& GetSelectionId() const{ return m_selectionId; }
42 inline void SetSelectionId(const Aws::String& value) { m_selectionId = value; }
43 inline void SetSelectionId(Aws::String&& value) { m_selectionId = std::move(value); }
44 inline void SetSelectionId(const char* value) { m_selectionId.assign(value); }
45 inline CreateBackupSelectionResult& WithSelectionId(const Aws::String& value) { SetSelectionId(value); return *this;}
46 inline CreateBackupSelectionResult& WithSelectionId(Aws::String&& value) { SetSelectionId(std::move(value)); return *this;}
47 inline CreateBackupSelectionResult& WithSelectionId(const char* value) { SetSelectionId(value); return *this;}
49
51
54 inline const Aws::String& GetBackupPlanId() const{ return m_backupPlanId; }
55 inline void SetBackupPlanId(const Aws::String& value) { m_backupPlanId = value; }
56 inline void SetBackupPlanId(Aws::String&& value) { m_backupPlanId = std::move(value); }
57 inline void SetBackupPlanId(const char* value) { m_backupPlanId.assign(value); }
58 inline CreateBackupSelectionResult& WithBackupPlanId(const Aws::String& value) { SetBackupPlanId(value); return *this;}
59 inline CreateBackupSelectionResult& WithBackupPlanId(Aws::String&& value) { SetBackupPlanId(std::move(value)); return *this;}
60 inline CreateBackupSelectionResult& WithBackupPlanId(const char* value) { SetBackupPlanId(value); return *this;}
62
64
70 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
71 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
72 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
74 inline CreateBackupSelectionResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
76
78
79 inline const Aws::String& GetRequestId() const{ return m_requestId; }
80 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
81 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
82 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
83 inline CreateBackupSelectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
84 inline CreateBackupSelectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
85 inline CreateBackupSelectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
87 private:
88
89 Aws::String m_selectionId;
90
91 Aws::String m_backupPlanId;
92
93 Aws::Utils::DateTime m_creationDate;
94
95 Aws::String m_requestId;
96 };
97
98} // namespace Model
99} // namespace Backup
100} // namespace Aws
AWS_BACKUP_API CreateBackupSelectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateBackupSelectionResult & WithSelectionId(const char *value)
AWS_BACKUP_API CreateBackupSelectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateBackupSelectionResult & WithBackupPlanId(const Aws::String &value)
CreateBackupSelectionResult & WithSelectionId(Aws::String &&value)
CreateBackupSelectionResult & WithCreationDate(Aws::Utils::DateTime &&value)
CreateBackupSelectionResult & WithSelectionId(const Aws::String &value)
CreateBackupSelectionResult & WithCreationDate(const Aws::Utils::DateTime &value)
CreateBackupSelectionResult & WithBackupPlanId(Aws::String &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
CreateBackupSelectionResult & WithRequestId(const char *value)
CreateBackupSelectionResult & WithRequestId(const Aws::String &value)
CreateBackupSelectionResult & WithBackupPlanId(const char *value)
CreateBackupSelectionResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue