AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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