AWS SDK for C++

AWS SDK for C++ Version 1.11.860

Loading...
Searching...
No Matches
UpdateAccountSettingsResult.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/model/DeletionProtectionSettings.h>
9#include <aws/appconfig/model/VendedMetricsSettings.h>
10#include <aws/core/http/HttpResponse.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace AppConfig {
25namespace Model {
27 public:
28 AWS_APPCONFIG_API UpdateAccountSettingsResult() = default;
31
33
42 inline const DeletionProtectionSettings& GetDeletionProtection() const { return m_deletionProtection; }
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
56
59 inline const VendedMetricsSettings& GetVendedMetrics() const { return m_vendedMetrics; }
60 template <typename VendedMetricsT = VendedMetricsSettings>
61 void SetVendedMetrics(VendedMetricsT&& value) {
62 m_vendedMetricsHasBeenSet = true;
63 m_vendedMetrics = std::forward<VendedMetricsT>(value);
64 }
65 template <typename VendedMetricsT = VendedMetricsSettings>
67 SetVendedMetrics(std::forward<VendedMetricsT>(value));
68 return *this;
69 }
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template <typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) {
77 m_requestIdHasBeenSet = true;
78 m_requestId = std::forward<RequestIdT>(value);
79 }
80 template <typename RequestIdT = Aws::String>
82 SetRequestId(std::forward<RequestIdT>(value));
83 return *this;
84 }
86 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
87
88 private:
89 DeletionProtectionSettings m_deletionProtection;
90
91 VendedMetricsSettings m_vendedMetrics;
92
93 Aws::String m_requestId;
94 Aws::Http::HttpResponseCode m_HttpResponseCode;
95 bool m_deletionProtectionHasBeenSet = false;
96 bool m_vendedMetricsHasBeenSet = false;
97 bool m_requestIdHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace AppConfig
102} // namespace Aws
AWS_APPCONFIG_API UpdateAccountSettingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPCONFIG_API UpdateAccountSettingsResult()=default
const DeletionProtectionSettings & GetDeletionProtection() const
UpdateAccountSettingsResult & WithRequestId(RequestIdT &&value)
UpdateAccountSettingsResult & WithDeletionProtection(DeletionProtectionT &&value)
AWS_APPCONFIG_API UpdateAccountSettingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateAccountSettingsResult & WithVendedMetrics(VendedMetricsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue