AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
GetVaultNotificationsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glacier/Glacier_EXPORTS.h>
9#include <aws/glacier/model/VaultNotificationConfig.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 Glacier {
23namespace Model {
31 public:
32 AWS_GLACIER_API GetVaultNotificationsResult() = default;
35
37
40 inline const VaultNotificationConfig& GetVaultNotificationConfig() const { return m_vaultNotificationConfig; }
41 template <typename VaultNotificationConfigT = VaultNotificationConfig>
42 void SetVaultNotificationConfig(VaultNotificationConfigT&& value) {
43 m_vaultNotificationConfigHasBeenSet = true;
44 m_vaultNotificationConfig = std::forward<VaultNotificationConfigT>(value);
45 }
46 template <typename VaultNotificationConfigT = VaultNotificationConfig>
47 GetVaultNotificationsResult& WithVaultNotificationConfig(VaultNotificationConfigT&& value) {
48 SetVaultNotificationConfig(std::forward<VaultNotificationConfigT>(value));
49 return *this;
50 }
52
54
55 inline const Aws::String& GetRequestId() const { return m_requestId; }
56 template <typename RequestIdT = Aws::String>
57 void SetRequestId(RequestIdT&& value) {
58 m_requestIdHasBeenSet = true;
59 m_requestId = std::forward<RequestIdT>(value);
60 }
61 template <typename RequestIdT = Aws::String>
63 SetRequestId(std::forward<RequestIdT>(value));
64 return *this;
65 }
67 private:
68 VaultNotificationConfig m_vaultNotificationConfig;
69
70 Aws::String m_requestId;
71 bool m_vaultNotificationConfigHasBeenSet = false;
72 bool m_requestIdHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace Glacier
77} // 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