AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
UpdateFileSystemProtectionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticfilesystem/EFSRequest.h>
9#include <aws/elasticfilesystem/EFS_EXPORTS.h>
10#include <aws/elasticfilesystem/model/ReplicationOverwriteProtection.h>
11
12#include <utility>
13
14namespace Aws {
15namespace EFS {
16namespace Model {
17
21 public:
22 AWS_EFS_API UpdateFileSystemProtectionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateFileSystemProtection"; }
29
30 AWS_EFS_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetFileSystemId() const { return m_fileSystemId; }
37 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
38 template <typename FileSystemIdT = Aws::String>
39 void SetFileSystemId(FileSystemIdT&& value) {
40 m_fileSystemIdHasBeenSet = true;
41 m_fileSystemId = std::forward<FileSystemIdT>(value);
42 }
43 template <typename FileSystemIdT = Aws::String>
45 SetFileSystemId(std::forward<FileSystemIdT>(value));
46 return *this;
47 }
49
51
65 inline ReplicationOverwriteProtection GetReplicationOverwriteProtection() const { return m_replicationOverwriteProtection; }
66 inline bool ReplicationOverwriteProtectionHasBeenSet() const { return m_replicationOverwriteProtectionHasBeenSet; }
68 m_replicationOverwriteProtectionHasBeenSet = true;
69 m_replicationOverwriteProtection = value;
70 }
73 return *this;
74 }
76 private:
77 Aws::String m_fileSystemId;
78
80 bool m_fileSystemIdHasBeenSet = false;
81 bool m_replicationOverwriteProtectionHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace EFS
86} // namespace Aws
UpdateFileSystemProtectionRequest & WithReplicationOverwriteProtection(ReplicationOverwriteProtection value)
void SetReplicationOverwriteProtection(ReplicationOverwriteProtection value)
AWS_EFS_API Aws::String SerializePayload() const override
UpdateFileSystemProtectionRequest & WithFileSystemId(FileSystemIdT &&value)
ReplicationOverwriteProtection GetReplicationOverwriteProtection() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String