AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetAccountSettingsResult.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/model/DeletionProtectionSettings.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 AppConfig
25{
26namespace Model
27{
29 {
30 public:
31 AWS_APPCONFIG_API GetAccountSettingsResult() = default;
34
35
37
46 inline const DeletionProtectionSettings& GetDeletionProtection() const { return m_deletionProtection; }
47 template<typename DeletionProtectionT = DeletionProtectionSettings>
48 void SetDeletionProtection(DeletionProtectionT&& value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = std::forward<DeletionProtectionT>(value); }
49 template<typename DeletionProtectionT = DeletionProtectionSettings>
50 GetAccountSettingsResult& WithDeletionProtection(DeletionProtectionT&& value) { SetDeletionProtection(std::forward<DeletionProtectionT>(value)); return *this;}
52
54
55 inline const Aws::String& GetRequestId() const { return m_requestId; }
56 template<typename RequestIdT = Aws::String>
57 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
58 template<typename RequestIdT = Aws::String>
59 GetAccountSettingsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
61 private:
62
63 DeletionProtectionSettings m_deletionProtection;
64 bool m_deletionProtectionHasBeenSet = false;
65
66 Aws::String m_requestId;
67 bool m_requestIdHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace AppConfig
72} // namespace Aws
void SetDeletionProtection(DeletionProtectionT &&value)
GetAccountSettingsResult & WithDeletionProtection(DeletionProtectionT &&value)
AWS_APPCONFIG_API GetAccountSettingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const DeletionProtectionSettings & GetDeletionProtection() const
AWS_APPCONFIG_API GetAccountSettingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPCONFIG_API GetAccountSettingsResult()=default
GetAccountSettingsResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue