AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
DescribeGlobalSettingsResult.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Backup {
24namespace Model {
26 public:
27 AWS_BACKUP_API DescribeGlobalSettingsResult() = default;
30
32
37 inline const Aws::Map<Aws::String, Aws::String>& GetGlobalSettings() const { return m_globalSettings; }
38 template <typename GlobalSettingsT = Aws::Map<Aws::String, Aws::String>>
39 void SetGlobalSettings(GlobalSettingsT&& value) {
40 m_globalSettingsHasBeenSet = true;
41 m_globalSettings = std::forward<GlobalSettingsT>(value);
42 }
43 template <typename GlobalSettingsT = Aws::Map<Aws::String, Aws::String>>
45 SetGlobalSettings(std::forward<GlobalSettingsT>(value));
46 return *this;
47 }
48 template <typename GlobalSettingsKeyT = Aws::String, typename GlobalSettingsValueT = Aws::String>
49 DescribeGlobalSettingsResult& AddGlobalSettings(GlobalSettingsKeyT&& key, GlobalSettingsValueT&& value) {
50 m_globalSettingsHasBeenSet = true;
51 m_globalSettings.emplace(std::forward<GlobalSettingsKeyT>(key), std::forward<GlobalSettingsValueT>(value));
52 return *this;
53 }
55
57
64 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
65 template <typename LastUpdateTimeT = Aws::Utils::DateTime>
66 void SetLastUpdateTime(LastUpdateTimeT&& value) {
67 m_lastUpdateTimeHasBeenSet = true;
68 m_lastUpdateTime = std::forward<LastUpdateTimeT>(value);
69 }
70 template <typename LastUpdateTimeT = Aws::Utils::DateTime>
72 SetLastUpdateTime(std::forward<LastUpdateTimeT>(value));
73 return *this;
74 }
76
78
79 inline const Aws::String& GetRequestId() const { return m_requestId; }
80 template <typename RequestIdT = Aws::String>
81 void SetRequestId(RequestIdT&& value) {
82 m_requestIdHasBeenSet = true;
83 m_requestId = std::forward<RequestIdT>(value);
84 }
85 template <typename RequestIdT = Aws::String>
87 SetRequestId(std::forward<RequestIdT>(value));
88 return *this;
89 }
91 private:
93
94 Aws::Utils::DateTime m_lastUpdateTime{};
95
96 Aws::String m_requestId;
97 bool m_globalSettingsHasBeenSet = false;
98 bool m_lastUpdateTimeHasBeenSet = false;
99 bool m_requestIdHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace Backup
104} // 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