AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
35
36
38
41 inline const Aws::Map<Aws::String, Aws::String>& GetGlobalSettings() const{ return m_globalSettings; }
42 inline void SetGlobalSettings(const Aws::Map<Aws::String, Aws::String>& value) { m_globalSettings = value; }
43 inline void SetGlobalSettings(Aws::Map<Aws::String, Aws::String>&& value) { m_globalSettings = std::move(value); }
46 inline DescribeGlobalSettingsResult& AddGlobalSettings(const Aws::String& key, const Aws::String& value) { m_globalSettings.emplace(key, value); return *this; }
47 inline DescribeGlobalSettingsResult& AddGlobalSettings(Aws::String&& key, const Aws::String& value) { m_globalSettings.emplace(std::move(key), value); return *this; }
48 inline DescribeGlobalSettingsResult& AddGlobalSettings(const Aws::String& key, Aws::String&& value) { m_globalSettings.emplace(key, std::move(value)); return *this; }
49 inline DescribeGlobalSettingsResult& AddGlobalSettings(Aws::String&& key, Aws::String&& value) { m_globalSettings.emplace(std::move(key), std::move(value)); return *this; }
50 inline DescribeGlobalSettingsResult& AddGlobalSettings(const char* key, Aws::String&& value) { m_globalSettings.emplace(key, std::move(value)); return *this; }
51 inline DescribeGlobalSettingsResult& AddGlobalSettings(Aws::String&& key, const char* value) { m_globalSettings.emplace(std::move(key), value); return *this; }
52 inline DescribeGlobalSettingsResult& AddGlobalSettings(const char* key, const char* value) { m_globalSettings.emplace(key, value); return *this; }
54
56
63 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
64 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTime = value; }
65 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTime = std::move(value); }
69
71
72 inline const Aws::String& GetRequestId() const{ return m_requestId; }
73 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
74 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
75 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
76 inline DescribeGlobalSettingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
77 inline DescribeGlobalSettingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline DescribeGlobalSettingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
80 private:
81
83
84 Aws::Utils::DateTime m_lastUpdateTime;
85
86 Aws::String m_requestId;
87 };
88
89} // namespace Model
90} // namespace Backup
91} // namespace Aws
DescribeGlobalSettingsResult & AddGlobalSettings(const char *key, const char *value)
void SetGlobalSettings(Aws::Map< Aws::String, Aws::String > &&value)
DescribeGlobalSettingsResult & AddGlobalSettings(const Aws::String &key, Aws::String &&value)
DescribeGlobalSettingsResult & WithRequestId(const char *value)
DescribeGlobalSettingsResult & WithGlobalSettings(Aws::Map< Aws::String, Aws::String > &&value)
DescribeGlobalSettingsResult & AddGlobalSettings(const Aws::String &key, const Aws::String &value)
DescribeGlobalSettingsResult & WithRequestId(Aws::String &&value)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
void SetGlobalSettings(const Aws::Map< Aws::String, Aws::String > &value)
AWS_BACKUP_API DescribeGlobalSettingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeGlobalSettingsResult & AddGlobalSettings(const char *key, Aws::String &&value)
DescribeGlobalSettingsResult & WithLastUpdateTime(const Aws::Utils::DateTime &value)
DescribeGlobalSettingsResult & AddGlobalSettings(Aws::String &&key, const char *value)
AWS_BACKUP_API DescribeGlobalSettingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeGlobalSettingsResult & WithGlobalSettings(const Aws::Map< Aws::String, Aws::String > &value)
DescribeGlobalSettingsResult & WithRequestId(const Aws::String &value)
DescribeGlobalSettingsResult & AddGlobalSettings(Aws::String &&key, Aws::String &&value)
DescribeGlobalSettingsResult & WithLastUpdateTime(Aws::Utils::DateTime &&value)
const Aws::Map< Aws::String, Aws::String > & GetGlobalSettings() const
DescribeGlobalSettingsResult & AddGlobalSettings(Aws::String &&key, const Aws::String &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