AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateGlobalSettingsRequest.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/backup/BackupRequest.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Backup
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateGlobalSettings"; }
32
33 AWS_BACKUP_API Aws::String SerializePayload() const override;
34
35
37
42 inline const Aws::Map<Aws::String, Aws::String>& GetGlobalSettings() const{ return m_globalSettings; }
43 inline bool GlobalSettingsHasBeenSet() const { return m_globalSettingsHasBeenSet; }
44 inline void SetGlobalSettings(const Aws::Map<Aws::String, Aws::String>& value) { m_globalSettingsHasBeenSet = true; m_globalSettings = value; }
45 inline void SetGlobalSettings(Aws::Map<Aws::String, Aws::String>&& value) { m_globalSettingsHasBeenSet = true; m_globalSettings = std::move(value); }
48 inline UpdateGlobalSettingsRequest& AddGlobalSettings(const Aws::String& key, const Aws::String& value) { m_globalSettingsHasBeenSet = true; m_globalSettings.emplace(key, value); return *this; }
49 inline UpdateGlobalSettingsRequest& AddGlobalSettings(Aws::String&& key, const Aws::String& value) { m_globalSettingsHasBeenSet = true; m_globalSettings.emplace(std::move(key), value); return *this; }
50 inline UpdateGlobalSettingsRequest& AddGlobalSettings(const Aws::String& key, Aws::String&& value) { m_globalSettingsHasBeenSet = true; m_globalSettings.emplace(key, std::move(value)); return *this; }
51 inline UpdateGlobalSettingsRequest& AddGlobalSettings(Aws::String&& key, Aws::String&& value) { m_globalSettingsHasBeenSet = true; m_globalSettings.emplace(std::move(key), std::move(value)); return *this; }
52 inline UpdateGlobalSettingsRequest& AddGlobalSettings(const char* key, Aws::String&& value) { m_globalSettingsHasBeenSet = true; m_globalSettings.emplace(key, std::move(value)); return *this; }
53 inline UpdateGlobalSettingsRequest& AddGlobalSettings(Aws::String&& key, const char* value) { m_globalSettingsHasBeenSet = true; m_globalSettings.emplace(std::move(key), value); return *this; }
54 inline UpdateGlobalSettingsRequest& AddGlobalSettings(const char* key, const char* value) { m_globalSettingsHasBeenSet = true; m_globalSettings.emplace(key, value); return *this; }
56 private:
57
59 bool m_globalSettingsHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace Backup
64} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetGlobalSettings() const
UpdateGlobalSettingsRequest & AddGlobalSettings(const char *key, Aws::String &&value)
UpdateGlobalSettingsRequest & AddGlobalSettings(const char *key, const char *value)
virtual const char * GetServiceRequestName() const override
UpdateGlobalSettingsRequest & AddGlobalSettings(const Aws::String &key, const Aws::String &value)
UpdateGlobalSettingsRequest & AddGlobalSettings(Aws::String &&key, const Aws::String &value)
UpdateGlobalSettingsRequest & WithGlobalSettings(const Aws::Map< Aws::String, Aws::String > &value)
void SetGlobalSettings(Aws::Map< Aws::String, Aws::String > &&value)
AWS_BACKUP_API Aws::String SerializePayload() const override
UpdateGlobalSettingsRequest & AddGlobalSettings(Aws::String &&key, Aws::String &&value)
UpdateGlobalSettingsRequest & WithGlobalSettings(Aws::Map< Aws::String, Aws::String > &&value)
void SetGlobalSettings(const Aws::Map< Aws::String, Aws::String > &value)
UpdateGlobalSettingsRequest & AddGlobalSettings(const Aws::String &key, Aws::String &&value)
UpdateGlobalSettingsRequest & AddGlobalSettings(Aws::String &&key, const char *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