AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
FileSystemProtectionDescription.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 {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace EFS {
21namespace Model {
22
29 public:
30 AWS_EFS_API FileSystemProtectionDescription() = default;
34
36
50 inline ReplicationOverwriteProtection GetReplicationOverwriteProtection() const { return m_replicationOverwriteProtection; }
51 inline bool ReplicationOverwriteProtectionHasBeenSet() const { return m_replicationOverwriteProtectionHasBeenSet; }
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 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
66 template <typename RequestIdT = Aws::String>
67 void SetRequestId(RequestIdT&& value) {
68 m_requestIdHasBeenSet = true;
69 m_requestId = std::forward<RequestIdT>(value);
70 }
71 template <typename RequestIdT = Aws::String>
73 SetRequestId(std::forward<RequestIdT>(value));
74 return *this;
75 }
77 private:
79
80 Aws::String m_requestId;
81 bool m_replicationOverwriteProtectionHasBeenSet = false;
82 bool m_requestIdHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace EFS
87} // 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