AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateBackupVaultResult.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 CreateBackupVaultResult();
34
35
37
43 inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; }
44 inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultName = value; }
45 inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultName = std::move(value); }
46 inline void SetBackupVaultName(const char* value) { m_backupVaultName.assign(value); }
47 inline CreateBackupVaultResult& WithBackupVaultName(const Aws::String& value) { SetBackupVaultName(value); return *this;}
48 inline CreateBackupVaultResult& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;}
49 inline CreateBackupVaultResult& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;}
51
53
58 inline const Aws::String& GetBackupVaultArn() const{ return m_backupVaultArn; }
59 inline void SetBackupVaultArn(const Aws::String& value) { m_backupVaultArn = value; }
60 inline void SetBackupVaultArn(Aws::String&& value) { m_backupVaultArn = std::move(value); }
61 inline void SetBackupVaultArn(const char* value) { m_backupVaultArn.assign(value); }
62 inline CreateBackupVaultResult& WithBackupVaultArn(const Aws::String& value) { SetBackupVaultArn(value); return *this;}
63 inline CreateBackupVaultResult& WithBackupVaultArn(Aws::String&& value) { SetBackupVaultArn(std::move(value)); return *this;}
64 inline CreateBackupVaultResult& WithBackupVaultArn(const char* value) { SetBackupVaultArn(value); return *this;}
66
68
74 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
75 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
76 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
78 inline CreateBackupVaultResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
80
82
83 inline const Aws::String& GetRequestId() const{ return m_requestId; }
84 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
85 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
86 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
87 inline CreateBackupVaultResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
88 inline CreateBackupVaultResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
89 inline CreateBackupVaultResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
91 private:
92
93 Aws::String m_backupVaultName;
94
95 Aws::String m_backupVaultArn;
96
97 Aws::Utils::DateTime m_creationDate;
98
99 Aws::String m_requestId;
100 };
101
102} // namespace Model
103} // namespace Backup
104} // namespace Aws
CreateBackupVaultResult & WithBackupVaultName(Aws::String &&value)
AWS_BACKUP_API CreateBackupVaultResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateBackupVaultResult & WithBackupVaultName(const Aws::String &value)
CreateBackupVaultResult & WithRequestId(const char *value)
CreateBackupVaultResult & WithCreationDate(const Aws::Utils::DateTime &value)
CreateBackupVaultResult & WithRequestId(const Aws::String &value)
CreateBackupVaultResult & WithCreationDate(Aws::Utils::DateTime &&value)
void SetCreationDate(Aws::Utils::DateTime &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
AWS_BACKUP_API CreateBackupVaultResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateBackupVaultResult & WithBackupVaultArn(const char *value)
CreateBackupVaultResult & WithRequestId(Aws::String &&value)
CreateBackupVaultResult & WithBackupVaultName(const char *value)
CreateBackupVaultResult & WithBackupVaultArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationDate() const
CreateBackupVaultResult & WithBackupVaultArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue