AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
FileSystemProtectionDescription.h
1
6#pragma once
7#include <aws/elasticfilesystem/EFS_EXPORTS.h>
8#include <aws/elasticfilesystem/model/ReplicationOverwriteProtection.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace EFS
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_EFS_API FileSystemProtectionDescription() = default;
39
40
42
56 inline ReplicationOverwriteProtection GetReplicationOverwriteProtection() const { return m_replicationOverwriteProtection; }
57 inline bool ReplicationOverwriteProtectionHasBeenSet() const { return m_replicationOverwriteProtectionHasBeenSet; }
58 inline void SetReplicationOverwriteProtection(ReplicationOverwriteProtection value) { m_replicationOverwriteProtectionHasBeenSet = true; m_replicationOverwriteProtection = value; }
61
63
64 inline const Aws::String& GetRequestId() const { return m_requestId; }
65 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
66 template<typename RequestIdT = Aws::String>
67 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
68 template<typename RequestIdT = Aws::String>
69 FileSystemProtectionDescription& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
71 private:
72
74 bool m_replicationOverwriteProtectionHasBeenSet = false;
75
76 Aws::String m_requestId;
77 bool m_requestIdHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace EFS
82} // namespace Aws
FileSystemProtectionDescription & WithReplicationOverwriteProtection(ReplicationOverwriteProtection value)
AWS_EFS_API FileSystemProtectionDescription(Aws::Utils::Json::JsonView jsonValue)
void SetReplicationOverwriteProtection(ReplicationOverwriteProtection value)
FileSystemProtectionDescription & WithRequestId(RequestIdT &&value)
AWS_EFS_API FileSystemProtectionDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EFS_API Aws::Utils::Json::JsonValue Jsonize() const
ReplicationOverwriteProtection GetReplicationOverwriteProtection() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue