AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StandbyWorkspacesProperties.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workspaces/model/DataReplication.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 WorkSpaces
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_WORKSPACES_API StandbyWorkspacesProperties();
40 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetStandbyWorkspaceId() const{ return m_standbyWorkspaceId; }
48 inline bool StandbyWorkspaceIdHasBeenSet() const { return m_standbyWorkspaceIdHasBeenSet; }
49 inline void SetStandbyWorkspaceId(const Aws::String& value) { m_standbyWorkspaceIdHasBeenSet = true; m_standbyWorkspaceId = value; }
50 inline void SetStandbyWorkspaceId(Aws::String&& value) { m_standbyWorkspaceIdHasBeenSet = true; m_standbyWorkspaceId = std::move(value); }
51 inline void SetStandbyWorkspaceId(const char* value) { m_standbyWorkspaceIdHasBeenSet = true; m_standbyWorkspaceId.assign(value); }
53 inline StandbyWorkspacesProperties& WithStandbyWorkspaceId(Aws::String&& value) { SetStandbyWorkspaceId(std::move(value)); return *this;}
54 inline StandbyWorkspacesProperties& WithStandbyWorkspaceId(const char* value) { SetStandbyWorkspaceId(value); return *this;}
56
58
62 inline const DataReplication& GetDataReplication() const{ return m_dataReplication; }
63 inline bool DataReplicationHasBeenSet() const { return m_dataReplicationHasBeenSet; }
64 inline void SetDataReplication(const DataReplication& value) { m_dataReplicationHasBeenSet = true; m_dataReplication = value; }
65 inline void SetDataReplication(DataReplication&& value) { m_dataReplicationHasBeenSet = true; m_dataReplication = std::move(value); }
67 inline StandbyWorkspacesProperties& WithDataReplication(DataReplication&& value) { SetDataReplication(std::move(value)); return *this;}
69
71
75 inline const Aws::Utils::DateTime& GetRecoverySnapshotTime() const{ return m_recoverySnapshotTime; }
76 inline bool RecoverySnapshotTimeHasBeenSet() const { return m_recoverySnapshotTimeHasBeenSet; }
77 inline void SetRecoverySnapshotTime(const Aws::Utils::DateTime& value) { m_recoverySnapshotTimeHasBeenSet = true; m_recoverySnapshotTime = value; }
78 inline void SetRecoverySnapshotTime(Aws::Utils::DateTime&& value) { m_recoverySnapshotTimeHasBeenSet = true; m_recoverySnapshotTime = std::move(value); }
82 private:
83
84 Aws::String m_standbyWorkspaceId;
85 bool m_standbyWorkspaceIdHasBeenSet = false;
86
87 DataReplication m_dataReplication;
88 bool m_dataReplicationHasBeenSet = false;
89
90 Aws::Utils::DateTime m_recoverySnapshotTime;
91 bool m_recoverySnapshotTimeHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace WorkSpaces
96} // namespace Aws
AWS_WORKSPACES_API StandbyWorkspacesProperties(Aws::Utils::Json::JsonView jsonValue)
StandbyWorkspacesProperties & WithStandbyWorkspaceId(const Aws::String &value)
StandbyWorkspacesProperties & WithRecoverySnapshotTime(const Aws::Utils::DateTime &value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
StandbyWorkspacesProperties & WithStandbyWorkspaceId(Aws::String &&value)
AWS_WORKSPACES_API StandbyWorkspacesProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
StandbyWorkspacesProperties & WithDataReplication(DataReplication &&value)
StandbyWorkspacesProperties & WithStandbyWorkspaceId(const char *value)
StandbyWorkspacesProperties & WithRecoverySnapshotTime(Aws::Utils::DateTime &&value)
void SetRecoverySnapshotTime(const Aws::Utils::DateTime &value)
StandbyWorkspacesProperties & WithDataReplication(const DataReplication &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue