AWS SDK for C++
1.9.4
AWS SDK for C++
aws-cpp-sdk-backup
include
aws
backup
model
UpdateGlobalSettingsRequest.h
Go to the documentation of this file.
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
13
namespace
Aws
14
{
15
namespace
Backup
16
{
17
namespace
Model
18
{
19
22
class
AWS_BACKUP_API
UpdateGlobalSettingsRequest
:
public
BackupRequest
23
{
24
public
:
25
UpdateGlobalSettingsRequest
();
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::String
SerializePayload
()
const override
;
34
35
39
inline
const
Aws::Map<Aws::String, Aws::String>
&
GetGlobalSettings
()
const
{
return
m_globalSettings; }
40
44
inline
bool
GlobalSettingsHasBeenSet
()
const
{
return
m_globalSettingsHasBeenSet; }
45
49
inline
void
SetGlobalSettings
(
const
Aws::Map<Aws::String, Aws::String>
& value) { m_globalSettingsHasBeenSet =
true
; m_globalSettings = value; }
50
54
inline
void
SetGlobalSettings
(
Aws::Map<Aws::String, Aws::String>
&& value) { m_globalSettingsHasBeenSet =
true
; m_globalSettings = std::move(value); }
55
59
inline
UpdateGlobalSettingsRequest
&
WithGlobalSettings
(
const
Aws::Map<Aws::String, Aws::String>
& value) { SetGlobalSettings(value);
return
*
this
;}
60
64
inline
UpdateGlobalSettingsRequest
&
WithGlobalSettings
(
Aws::Map<Aws::String, Aws::String>
&& value) { SetGlobalSettings(std::move(value));
return
*
this
;}
65
69
inline
UpdateGlobalSettingsRequest
&
AddGlobalSettings
(
const
Aws::String
& key,
const
Aws::String
& value) { m_globalSettingsHasBeenSet =
true
; m_globalSettings.emplace(key, value);
return
*
this
; }
70
74
inline
UpdateGlobalSettingsRequest
&
AddGlobalSettings
(
Aws::String
&& key,
const
Aws::String
& value) { m_globalSettingsHasBeenSet =
true
; m_globalSettings.emplace(std::move(key), value);
return
*
this
; }
75
79
inline
UpdateGlobalSettingsRequest
&
AddGlobalSettings
(
const
Aws::String
& key,
Aws::String
&& value) { m_globalSettingsHasBeenSet =
true
; m_globalSettings.emplace(key, std::move(value));
return
*
this
; }
80
84
inline
UpdateGlobalSettingsRequest
&
AddGlobalSettings
(
Aws::String
&& key,
Aws::String
&& value) { m_globalSettingsHasBeenSet =
true
; m_globalSettings.emplace(std::move(key), std::move(value));
return
*
this
; }
85
89
inline
UpdateGlobalSettingsRequest
&
AddGlobalSettings
(
const
char
* key,
Aws::String
&& value) { m_globalSettingsHasBeenSet =
true
; m_globalSettings.emplace(key, std::move(value));
return
*
this
; }
90
94
inline
UpdateGlobalSettingsRequest
&
AddGlobalSettings
(
Aws::String
&& key,
const
char
* value) { m_globalSettingsHasBeenSet =
true
; m_globalSettings.emplace(std::move(key), value);
return
*
this
; }
95
99
inline
UpdateGlobalSettingsRequest
&
AddGlobalSettings
(
const
char
* key,
const
char
* value) { m_globalSettingsHasBeenSet =
true
; m_globalSettings.emplace(key, value);
return
*
this
; }
100
101
private
:
102
103
Aws::Map<Aws::String, Aws::String>
m_globalSettings;
104
bool
m_globalSettingsHasBeenSet;
105
};
106
107
}
// namespace Model
108
}
// namespace Backup
109
}
// namespace Aws
Aws::Backup::Model::UpdateGlobalSettingsRequest::SetGlobalSettings
void SetGlobalSettings(const Aws::Map< Aws::String, Aws::String > &value)
Definition:
UpdateGlobalSettingsRequest.h:49
Aws::Backup::Model::UpdateGlobalSettingsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Backup::Model::UpdateGlobalSettingsRequest
Definition:
UpdateGlobalSettingsRequest.h:23
Aws::Backup::Model::UpdateGlobalSettingsRequest::AddGlobalSettings
UpdateGlobalSettingsRequest & AddGlobalSettings(const char *key, const char *value)
Definition:
UpdateGlobalSettingsRequest.h:99
Aws::Backup::Model::UpdateGlobalSettingsRequest::UpdateGlobalSettingsRequest
UpdateGlobalSettingsRequest()
AWS_BACKUP_API
#define AWS_BACKUP_API
Definition:
Backup_EXPORTS.h:28
Aws::Backup::Model::UpdateGlobalSettingsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition:
UpdateGlobalSettingsRequest.h:31
BackupRequest.h
Aws::Backup::Model::UpdateGlobalSettingsRequest::WithGlobalSettings
UpdateGlobalSettingsRequest & WithGlobalSettings(const Aws::Map< Aws::String, Aws::String > &value)
Definition:
UpdateGlobalSettingsRequest.h:59
Aws::Backup::Model::UpdateGlobalSettingsRequest::AddGlobalSettings
UpdateGlobalSettingsRequest & AddGlobalSettings(const Aws::String &key, const Aws::String &value)
Definition:
UpdateGlobalSettingsRequest.h:69
Aws::Backup::Model::UpdateGlobalSettingsRequest::AddGlobalSettings
UpdateGlobalSettingsRequest & AddGlobalSettings(Aws::String &&key, const Aws::String &value)
Definition:
UpdateGlobalSettingsRequest.h:74
Aws::Backup::BackupRequest
Definition:
BackupRequest.h:17
AWSString.h
Aws::Backup::Model::UpdateGlobalSettingsRequest::WithGlobalSettings
UpdateGlobalSettingsRequest & WithGlobalSettings(Aws::Map< Aws::String, Aws::String > &&value)
Definition:
UpdateGlobalSettingsRequest.h:64
Backup_EXPORTS.h
Aws::Backup::Model::UpdateGlobalSettingsRequest::GetGlobalSettings
const Aws::Map< Aws::String, Aws::String > & GetGlobalSettings() const
Definition:
UpdateGlobalSettingsRequest.h:39
Aws
Definition:
AccessManagementClient.h:15
Aws::Backup::Model::UpdateGlobalSettingsRequest::GlobalSettingsHasBeenSet
bool GlobalSettingsHasBeenSet() const
Definition:
UpdateGlobalSettingsRequest.h:44
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition:
AWSString.h:97
Aws::Backup::Model::UpdateGlobalSettingsRequest::AddGlobalSettings
UpdateGlobalSettingsRequest & AddGlobalSettings(Aws::String &&key, Aws::String &&value)
Definition:
UpdateGlobalSettingsRequest.h:84
AWSMap.h
Aws::Backup::Model::UpdateGlobalSettingsRequest::AddGlobalSettings
UpdateGlobalSettingsRequest & AddGlobalSettings(const char *key, Aws::String &&value)
Definition:
UpdateGlobalSettingsRequest.h:89
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition:
AWSMap.h:19
Aws::Backup::Model::UpdateGlobalSettingsRequest::AddGlobalSettings
UpdateGlobalSettingsRequest & AddGlobalSettings(Aws::String &&key, const char *value)
Definition:
UpdateGlobalSettingsRequest.h:94
Aws::Backup::Model::UpdateGlobalSettingsRequest::AddGlobalSettings
UpdateGlobalSettingsRequest & AddGlobalSettings(const Aws::String &key, Aws::String &&value)
Definition:
UpdateGlobalSettingsRequest.h:79
Aws::Backup::Model::UpdateGlobalSettingsRequest::SetGlobalSettings
void SetGlobalSettings(Aws::Map< Aws::String, Aws::String > &&value)
Definition:
UpdateGlobalSettingsRequest.h:54
Generated by
1.8.19
Privacy |
Site terms |
Cookie preferences