AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Destination.h
1
6#pragma once
7#include <aws/elasticfilesystem/EFS_EXPORTS.h>
8#include <aws/elasticfilesystem/model/ReplicationStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace EFS
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_EFS_API Destination();
41
42
44
61 inline const ReplicationStatus& GetStatus() const{ return m_status; }
62 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
63 inline void SetStatus(const ReplicationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
64 inline void SetStatus(ReplicationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
65 inline Destination& WithStatus(const ReplicationStatus& value) { SetStatus(value); return *this;}
66 inline Destination& WithStatus(ReplicationStatus&& value) { SetStatus(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
74 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
75 inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
76 inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); }
77 inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); }
78 inline Destination& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
79 inline Destination& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;}
80 inline Destination& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
82
84
88 inline const Aws::String& GetRegion() const{ return m_region; }
89 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
90 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
91 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
92 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
93 inline Destination& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
94 inline Destination& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
95 inline Destination& WithRegion(const char* value) { SetRegion(value); return *this;}
97
99
106 inline const Aws::Utils::DateTime& GetLastReplicatedTimestamp() const{ return m_lastReplicatedTimestamp; }
107 inline bool LastReplicatedTimestampHasBeenSet() const { return m_lastReplicatedTimestampHasBeenSet; }
108 inline void SetLastReplicatedTimestamp(const Aws::Utils::DateTime& value) { m_lastReplicatedTimestampHasBeenSet = true; m_lastReplicatedTimestamp = value; }
109 inline void SetLastReplicatedTimestamp(Aws::Utils::DateTime&& value) { m_lastReplicatedTimestampHasBeenSet = true; m_lastReplicatedTimestamp = std::move(value); }
113 private:
114
115 ReplicationStatus m_status;
116 bool m_statusHasBeenSet = false;
117
118 Aws::String m_fileSystemId;
119 bool m_fileSystemIdHasBeenSet = false;
120
121 Aws::String m_region;
122 bool m_regionHasBeenSet = false;
123
124 Aws::Utils::DateTime m_lastReplicatedTimestamp;
125 bool m_lastReplicatedTimestampHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace EFS
130} // namespace Aws
void SetRegion(const char *value)
Definition Destination.h:92
const Aws::String & GetFileSystemId() const
Definition Destination.h:73
AWS_EFS_API Destination & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const ReplicationStatus &value)
Definition Destination.h:63
void SetFileSystemId(Aws::String &&value)
Definition Destination.h:76
Destination & WithRegion(Aws::String &&value)
Definition Destination.h:94
Destination & WithStatus(ReplicationStatus &&value)
Definition Destination.h:66
Destination & WithLastReplicatedTimestamp(Aws::Utils::DateTime &&value)
Destination & WithRegion(const char *value)
Definition Destination.h:95
Destination & WithLastReplicatedTimestamp(const Aws::Utils::DateTime &value)
const Aws::String & GetRegion() const
Definition Destination.h:88
void SetRegion(Aws::String &&value)
Definition Destination.h:91
const Aws::Utils::DateTime & GetLastReplicatedTimestamp() const
Destination & WithFileSystemId(Aws::String &&value)
Definition Destination.h:79
Destination & WithFileSystemId(const char *value)
Definition Destination.h:80
Destination & WithFileSystemId(const Aws::String &value)
Definition Destination.h:78
bool FileSystemIdHasBeenSet() const
Definition Destination.h:74
Destination & WithRegion(const Aws::String &value)
Definition Destination.h:93
void SetStatus(ReplicationStatus &&value)
Definition Destination.h:64
const ReplicationStatus & GetStatus() const
Definition Destination.h:61
void SetFileSystemId(const Aws::String &value)
Definition Destination.h:75
void SetFileSystemId(const char *value)
Definition Destination.h:77
void SetLastReplicatedTimestamp(const Aws::Utils::DateTime &value)
void SetRegion(const Aws::String &value)
Definition Destination.h:90
void SetLastReplicatedTimestamp(Aws::Utils::DateTime &&value)
bool LastReplicatedTimestampHasBeenSet() const
AWS_EFS_API Destination(Aws::Utils::Json::JsonView jsonValue)
Destination & WithStatus(const ReplicationStatus &value)
Definition Destination.h:65
AWS_EFS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue