AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
UpdateAccountSettingsRequest.h
1
6#pragma once
7#include <aws/appconfig/AppConfigRequest.h>
8#include <aws/appconfig/AppConfig_EXPORTS.h>
9#include <aws/appconfig/model/DeletionProtectionSettings.h>
10
11#include <utility>
12
13namespace Aws {
14namespace AppConfig {
15namespace Model {
16
20 public:
21 AWS_APPCONFIG_API UpdateAccountSettingsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateAccountSettings"; }
28
29 AWS_APPCONFIG_API Aws::String SerializePayload() const override;
30
32
41 inline const DeletionProtectionSettings& GetDeletionProtection() const { return m_deletionProtection; }
42 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
43 template <typename DeletionProtectionT = DeletionProtectionSettings>
44 void SetDeletionProtection(DeletionProtectionT&& value) {
45 m_deletionProtectionHasBeenSet = true;
46 m_deletionProtection = std::forward<DeletionProtectionT>(value);
47 }
48 template <typename DeletionProtectionT = DeletionProtectionSettings>
50 SetDeletionProtection(std::forward<DeletionProtectionT>(value));
51 return *this;
52 }
54 private:
55 DeletionProtectionSettings m_deletionProtection;
56 bool m_deletionProtectionHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace AppConfig
61} // namespace Aws
const DeletionProtectionSettings & GetDeletionProtection() const
AWS_APPCONFIG_API UpdateAccountSettingsRequest()=default
AWS_APPCONFIG_API Aws::String SerializePayload() const override
UpdateAccountSettingsRequest & WithDeletionProtection(DeletionProtectionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String