AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateFileSystemProtectionResult.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{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace EFS
25{
26namespace Model
27{
34 {
35 public:
39
40
42
56 inline const ReplicationOverwriteProtection& GetReplicationOverwriteProtection() const{ return m_replicationOverwriteProtection; }
57 inline void SetReplicationOverwriteProtection(const ReplicationOverwriteProtection& value) { m_replicationOverwriteProtection = value; }
58 inline void SetReplicationOverwriteProtection(ReplicationOverwriteProtection&& value) { m_replicationOverwriteProtection = std::move(value); }
62
64
65 inline const Aws::String& GetRequestId() const{ return m_requestId; }
66 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
67 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
68 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
69 inline UpdateFileSystemProtectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
70 inline UpdateFileSystemProtectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
71 inline UpdateFileSystemProtectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
73 private:
74
75 ReplicationOverwriteProtection m_replicationOverwriteProtection;
76
77 Aws::String m_requestId;
78 };
79
80} // namespace Model
81} // namespace EFS
82} // namespace Aws
UpdateFileSystemProtectionResult & WithRequestId(Aws::String &&value)
AWS_EFS_API UpdateFileSystemProtectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_EFS_API UpdateFileSystemProtectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateFileSystemProtectionResult & WithReplicationOverwriteProtection(ReplicationOverwriteProtection &&value)
UpdateFileSystemProtectionResult & WithRequestId(const char *value)
void SetReplicationOverwriteProtection(ReplicationOverwriteProtection &&value)
UpdateFileSystemProtectionResult & WithReplicationOverwriteProtection(const ReplicationOverwriteProtection &value)
void SetReplicationOverwriteProtection(const ReplicationOverwriteProtection &value)
const ReplicationOverwriteProtection & GetReplicationOverwriteProtection() const
UpdateFileSystemProtectionResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue