AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
39
40
42
56 inline const ReplicationOverwriteProtection& GetReplicationOverwriteProtection() const{ return m_replicationOverwriteProtection; }
57 inline bool ReplicationOverwriteProtectionHasBeenSet() const { return m_replicationOverwriteProtectionHasBeenSet; }
58 inline void SetReplicationOverwriteProtection(const ReplicationOverwriteProtection& value) { m_replicationOverwriteProtectionHasBeenSet = true; m_replicationOverwriteProtection = value; }
59 inline void SetReplicationOverwriteProtection(ReplicationOverwriteProtection&& value) { m_replicationOverwriteProtectionHasBeenSet = true; m_replicationOverwriteProtection = std::move(value); }
63
65
66 inline const Aws::String& GetRequestId() const{ return m_requestId; }
67 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
68 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
69 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
70 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
71 inline FileSystemProtectionDescription& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
72 inline FileSystemProtectionDescription& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
73 inline FileSystemProtectionDescription& WithRequestId(const char* value) { SetRequestId(value); return *this;}
75 private:
76
77 ReplicationOverwriteProtection m_replicationOverwriteProtection;
78 bool m_replicationOverwriteProtectionHasBeenSet = false;
79
80 Aws::String m_requestId;
81 bool m_requestIdHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace EFS
86} // namespace Aws
const ReplicationOverwriteProtection & GetReplicationOverwriteProtection() const
AWS_EFS_API FileSystemProtectionDescription(Aws::Utils::Json::JsonView jsonValue)
FileSystemProtectionDescription & WithRequestId(const char *value)
FileSystemProtectionDescription & WithRequestId(Aws::String &&value)
void SetReplicationOverwriteProtection(ReplicationOverwriteProtection &&value)
FileSystemProtectionDescription & WithReplicationOverwriteProtection(const ReplicationOverwriteProtection &value)
AWS_EFS_API FileSystemProtectionDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EFS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReplicationOverwriteProtection(const ReplicationOverwriteProtection &value)
FileSystemProtectionDescription & WithRequestId(const Aws::String &value)
FileSystemProtectionDescription & WithReplicationOverwriteProtection(ReplicationOverwriteProtection &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue