AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeRegionSettingsResult.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/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 Backup
25{
26namespace Model
27{
29 {
30 public:
34
35
37
40 inline const Aws::Map<Aws::String, bool>& GetResourceTypeOptInPreference() const{ return m_resourceTypeOptInPreference; }
41 inline void SetResourceTypeOptInPreference(const Aws::Map<Aws::String, bool>& value) { m_resourceTypeOptInPreference = value; }
42 inline void SetResourceTypeOptInPreference(Aws::Map<Aws::String, bool>&& value) { m_resourceTypeOptInPreference = std::move(value); }
45 inline DescribeRegionSettingsResult& AddResourceTypeOptInPreference(const Aws::String& key, bool value) { m_resourceTypeOptInPreference.emplace(key, value); return *this; }
46 inline DescribeRegionSettingsResult& AddResourceTypeOptInPreference(Aws::String&& key, bool value) { m_resourceTypeOptInPreference.emplace(std::move(key), value); return *this; }
47 inline DescribeRegionSettingsResult& AddResourceTypeOptInPreference(const char* key, bool value) { m_resourceTypeOptInPreference.emplace(key, value); return *this; }
49
51
63 inline const Aws::Map<Aws::String, bool>& GetResourceTypeManagementPreference() const{ return m_resourceTypeManagementPreference; }
64 inline void SetResourceTypeManagementPreference(const Aws::Map<Aws::String, bool>& value) { m_resourceTypeManagementPreference = value; }
65 inline void SetResourceTypeManagementPreference(Aws::Map<Aws::String, bool>&& value) { m_resourceTypeManagementPreference = std::move(value); }
68 inline DescribeRegionSettingsResult& AddResourceTypeManagementPreference(const Aws::String& key, bool value) { m_resourceTypeManagementPreference.emplace(key, value); return *this; }
69 inline DescribeRegionSettingsResult& AddResourceTypeManagementPreference(Aws::String&& key, bool value) { m_resourceTypeManagementPreference.emplace(std::move(key), value); return *this; }
70 inline DescribeRegionSettingsResult& AddResourceTypeManagementPreference(const char* key, bool value) { m_resourceTypeManagementPreference.emplace(key, value); return *this; }
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline DescribeRegionSettingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline DescribeRegionSettingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline DescribeRegionSettingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::Map<Aws::String, bool> m_resourceTypeOptInPreference;
86
87 Aws::Map<Aws::String, bool> m_resourceTypeManagementPreference;
88
89 Aws::String m_requestId;
90 };
91
92} // namespace Model
93} // namespace Backup
94} // namespace Aws
void SetResourceTypeManagementPreference(const Aws::Map< Aws::String, bool > &value)
DescribeRegionSettingsResult & AddResourceTypeOptInPreference(Aws::String &&key, bool value)
DescribeRegionSettingsResult & AddResourceTypeManagementPreference(const Aws::String &key, bool value)
AWS_BACKUP_API DescribeRegionSettingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeRegionSettingsResult & AddResourceTypeOptInPreference(const char *key, bool value)
void SetResourceTypeOptInPreference(Aws::Map< Aws::String, bool > &&value)
DescribeRegionSettingsResult & WithRequestId(const char *value)
DescribeRegionSettingsResult & WithResourceTypeManagementPreference(const Aws::Map< Aws::String, bool > &value)
DescribeRegionSettingsResult & AddResourceTypeManagementPreference(const char *key, bool value)
void SetResourceTypeManagementPreference(Aws::Map< Aws::String, bool > &&value)
DescribeRegionSettingsResult & WithResourceTypeManagementPreference(Aws::Map< Aws::String, bool > &&value)
DescribeRegionSettingsResult & WithResourceTypeOptInPreference(Aws::Map< Aws::String, bool > &&value)
void SetResourceTypeOptInPreference(const Aws::Map< Aws::String, bool > &value)
DescribeRegionSettingsResult & WithRequestId(const Aws::String &value)
DescribeRegionSettingsResult & AddResourceTypeManagementPreference(Aws::String &&key, bool value)
DescribeRegionSettingsResult & AddResourceTypeOptInPreference(const Aws::String &key, bool value)
const Aws::Map< Aws::String, bool > & GetResourceTypeOptInPreference() const
AWS_BACKUP_API DescribeRegionSettingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeRegionSettingsResult & WithRequestId(Aws::String &&value)
DescribeRegionSettingsResult & WithResourceTypeOptInPreference(const Aws::Map< Aws::String, bool > &value)
const Aws::Map< Aws::String, bool > & GetResourceTypeManagementPreference() const
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