AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
UpdateFileSystemProtectionResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticfilesystem/EFS_EXPORTS.h>
9#include <aws/elasticfilesystem/model/ReplicationOverwriteProtection.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace EFS {
23namespace Model {
30 public:
31 AWS_EFS_API UpdateFileSystemProtectionResult() = default;
34
36
50 inline ReplicationOverwriteProtection GetReplicationOverwriteProtection() const { return m_replicationOverwriteProtection; }
52 m_replicationOverwriteProtectionHasBeenSet = true;
53 m_replicationOverwriteProtection = value;
54 }
57 return *this;
58 }
60
62
63 inline const Aws::String& GetRequestId() const { return m_requestId; }
64 template <typename RequestIdT = Aws::String>
65 void SetRequestId(RequestIdT&& value) {
66 m_requestIdHasBeenSet = true;
67 m_requestId = std::forward<RequestIdT>(value);
68 }
69 template <typename RequestIdT = Aws::String>
71 SetRequestId(std::forward<RequestIdT>(value));
72 return *this;
73 }
75 private:
77
78 Aws::String m_requestId;
79 bool m_replicationOverwriteProtectionHasBeenSet = false;
80 bool m_requestIdHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace EFS
85} // 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