AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeGlobalSettingsResult.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Backup
26{
27namespace Model
28{
30 {
31 public:
32 AWS_BACKUP_API DescribeGlobalSettingsResult() = default;
35
36
38
41 inline const Aws::Map<Aws::String, Aws::String>& GetGlobalSettings() const { return m_globalSettings; }
42 template<typename GlobalSettingsT = Aws::Map<Aws::String, Aws::String>>
43 void SetGlobalSettings(GlobalSettingsT&& value) { m_globalSettingsHasBeenSet = true; m_globalSettings = std::forward<GlobalSettingsT>(value); }
44 template<typename GlobalSettingsT = Aws::Map<Aws::String, Aws::String>>
45 DescribeGlobalSettingsResult& WithGlobalSettings(GlobalSettingsT&& value) { SetGlobalSettings(std::forward<GlobalSettingsT>(value)); return *this;}
46 template<typename GlobalSettingsKeyT = Aws::String, typename GlobalSettingsValueT = Aws::String>
47 DescribeGlobalSettingsResult& AddGlobalSettings(GlobalSettingsKeyT&& key, GlobalSettingsValueT&& value) {
48 m_globalSettingsHasBeenSet = true; m_globalSettings.emplace(std::forward<GlobalSettingsKeyT>(key), std::forward<GlobalSettingsValueT>(value)); return *this;
49 }
51
53
60 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
61 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
62 void SetLastUpdateTime(LastUpdateTimeT&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::forward<LastUpdateTimeT>(value); }
63 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
64 DescribeGlobalSettingsResult& WithLastUpdateTime(LastUpdateTimeT&& value) { SetLastUpdateTime(std::forward<LastUpdateTimeT>(value)); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template<typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
72 template<typename RequestIdT = Aws::String>
73 DescribeGlobalSettingsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
75 private:
76
78 bool m_globalSettingsHasBeenSet = false;
79
80 Aws::Utils::DateTime m_lastUpdateTime{};
81 bool m_lastUpdateTimeHasBeenSet = false;
82
83 Aws::String m_requestId;
84 bool m_requestIdHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Backup
89} // namespace Aws
AWS_BACKUP_API DescribeGlobalSettingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeGlobalSettingsResult & WithLastUpdateTime(LastUpdateTimeT &&value)
AWS_BACKUP_API DescribeGlobalSettingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeGlobalSettingsResult & AddGlobalSettings(GlobalSettingsKeyT &&key, GlobalSettingsValueT &&value)
AWS_BACKUP_API DescribeGlobalSettingsResult()=default
DescribeGlobalSettingsResult & WithRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetGlobalSettings() const
DescribeGlobalSettingsResult & WithGlobalSettings(GlobalSettingsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue