AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetVaultNotificationsResult.h
1
6#pragma once
7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/glacier/model/VaultNotificationConfig.h>
9#include <aws/core/utils/memory/stl/AWSString.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 Glacier
25{
26namespace Model
27{
35 {
36 public:
37 AWS_GLACIER_API GetVaultNotificationsResult() = default;
40
41
43
46 inline const VaultNotificationConfig& GetVaultNotificationConfig() const { return m_vaultNotificationConfig; }
47 template<typename VaultNotificationConfigT = VaultNotificationConfig>
48 void SetVaultNotificationConfig(VaultNotificationConfigT&& value) { m_vaultNotificationConfigHasBeenSet = true; m_vaultNotificationConfig = std::forward<VaultNotificationConfigT>(value); }
49 template<typename VaultNotificationConfigT = VaultNotificationConfig>
50 GetVaultNotificationsResult& WithVaultNotificationConfig(VaultNotificationConfigT&& value) { SetVaultNotificationConfig(std::forward<VaultNotificationConfigT>(value)); return *this;}
52
54
55 inline const Aws::String& GetRequestId() const { return m_requestId; }
56 template<typename RequestIdT = Aws::String>
57 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
58 template<typename RequestIdT = Aws::String>
59 GetVaultNotificationsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
61 private:
62
63 VaultNotificationConfig m_vaultNotificationConfig;
64 bool m_vaultNotificationConfigHasBeenSet = false;
65
66 Aws::String m_requestId;
67 bool m_requestIdHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace Glacier
72} // namespace Aws
GetVaultNotificationsResult & WithVaultNotificationConfig(VaultNotificationConfigT &&value)
void SetVaultNotificationConfig(VaultNotificationConfigT &&value)
AWS_GLACIER_API GetVaultNotificationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const VaultNotificationConfig & GetVaultNotificationConfig() const
GetVaultNotificationsResult & WithRequestId(RequestIdT &&value)
AWS_GLACIER_API GetVaultNotificationsResult()=default
AWS_GLACIER_API GetVaultNotificationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue