AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
UpdateFileSystemProtectionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticfilesystem/EFS_EXPORTS.h>
10#include <aws/elasticfilesystem/model/ReplicationOverwriteProtection.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace EFS {
24namespace Model {
31 public:
32 AWS_EFS_API UpdateFileSystemProtectionResult() = default;
35
37
51 inline ReplicationOverwriteProtection GetReplicationOverwriteProtection() const { return m_replicationOverwriteProtection; }
53 m_replicationOverwriteProtectionHasBeenSet = true;
54 m_replicationOverwriteProtection = value;
55 }
58 return *this;
59 }
61
63
64 inline const Aws::String& GetRequestId() const { return m_requestId; }
65 template <typename RequestIdT = Aws::String>
66 void SetRequestId(RequestIdT&& value) {
67 m_requestIdHasBeenSet = true;
68 m_requestId = std::forward<RequestIdT>(value);
69 }
70 template <typename RequestIdT = Aws::String>
72 SetRequestId(std::forward<RequestIdT>(value));
73 return *this;
74 }
76 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
77
78 private:
80
81 Aws::String m_requestId;
82 Aws::Http::HttpResponseCode m_HttpResponseCode;
83 bool m_replicationOverwriteProtectionHasBeenSet = false;
84 bool m_requestIdHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace EFS
89} // namespace Aws
ReplicationOverwriteProtection GetReplicationOverwriteProtection() const
AWS_EFS_API UpdateFileSystemProtectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateFileSystemProtectionResult & WithRequestId(RequestIdT &&value)
AWS_EFS_API UpdateFileSystemProtectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetReplicationOverwriteProtection(ReplicationOverwriteProtection value)
UpdateFileSystemProtectionResult & WithReplicationOverwriteProtection(ReplicationOverwriteProtection value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue