AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsBackupBackupPlanDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AwsBackupBackupPlanBackupPlanDetails.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_SECURITYHUB_API AwsBackupBackupPlanDetails();
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const AwsBackupBackupPlanBackupPlanDetails& GetBackupPlan() const{ return m_backupPlan; }
49 inline bool BackupPlanHasBeenSet() const { return m_backupPlanHasBeenSet; }
50 inline void SetBackupPlan(const AwsBackupBackupPlanBackupPlanDetails& value) { m_backupPlanHasBeenSet = true; m_backupPlan = value; }
51 inline void SetBackupPlan(AwsBackupBackupPlanBackupPlanDetails&& value) { m_backupPlanHasBeenSet = true; m_backupPlan = std::move(value); }
55
57
60 inline const Aws::String& GetBackupPlanArn() const{ return m_backupPlanArn; }
61 inline bool BackupPlanArnHasBeenSet() const { return m_backupPlanArnHasBeenSet; }
62 inline void SetBackupPlanArn(const Aws::String& value) { m_backupPlanArnHasBeenSet = true; m_backupPlanArn = value; }
63 inline void SetBackupPlanArn(Aws::String&& value) { m_backupPlanArnHasBeenSet = true; m_backupPlanArn = std::move(value); }
64 inline void SetBackupPlanArn(const char* value) { m_backupPlanArnHasBeenSet = true; m_backupPlanArn.assign(value); }
65 inline AwsBackupBackupPlanDetails& WithBackupPlanArn(const Aws::String& value) { SetBackupPlanArn(value); return *this;}
66 inline AwsBackupBackupPlanDetails& WithBackupPlanArn(Aws::String&& value) { SetBackupPlanArn(std::move(value)); return *this;}
67 inline AwsBackupBackupPlanDetails& WithBackupPlanArn(const char* value) { SetBackupPlanArn(value); return *this;}
69
71
74 inline const Aws::String& GetBackupPlanId() const{ return m_backupPlanId; }
75 inline bool BackupPlanIdHasBeenSet() const { return m_backupPlanIdHasBeenSet; }
76 inline void SetBackupPlanId(const Aws::String& value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId = value; }
77 inline void SetBackupPlanId(Aws::String&& value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId = std::move(value); }
78 inline void SetBackupPlanId(const char* value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId.assign(value); }
79 inline AwsBackupBackupPlanDetails& WithBackupPlanId(const Aws::String& value) { SetBackupPlanId(value); return *this;}
80 inline AwsBackupBackupPlanDetails& WithBackupPlanId(Aws::String&& value) { SetBackupPlanId(std::move(value)); return *this;}
81 inline AwsBackupBackupPlanDetails& WithBackupPlanId(const char* value) { SetBackupPlanId(value); return *this;}
83
85
89 inline const Aws::String& GetVersionId() const{ return m_versionId; }
90 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
91 inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; }
92 inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); }
93 inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); }
94 inline AwsBackupBackupPlanDetails& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
95 inline AwsBackupBackupPlanDetails& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
96 inline AwsBackupBackupPlanDetails& WithVersionId(const char* value) { SetVersionId(value); return *this;}
98 private:
99
101 bool m_backupPlanHasBeenSet = false;
102
103 Aws::String m_backupPlanArn;
104 bool m_backupPlanArnHasBeenSet = false;
105
106 Aws::String m_backupPlanId;
107 bool m_backupPlanIdHasBeenSet = false;
108
109 Aws::String m_versionId;
110 bool m_versionIdHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace SecurityHub
115} // namespace Aws
void SetBackupPlan(AwsBackupBackupPlanBackupPlanDetails &&value)
AwsBackupBackupPlanDetails & WithVersionId(Aws::String &&value)
AwsBackupBackupPlanDetails & WithVersionId(const char *value)
AwsBackupBackupPlanDetails & WithBackupPlan(const AwsBackupBackupPlanBackupPlanDetails &value)
AwsBackupBackupPlanDetails & WithBackupPlanId(const char *value)
AwsBackupBackupPlanDetails & WithBackupPlanArn(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsBackupBackupPlanDetails & WithBackupPlanArn(const char *value)
AwsBackupBackupPlanDetails & WithBackupPlan(AwsBackupBackupPlanBackupPlanDetails &&value)
AwsBackupBackupPlanDetails & WithBackupPlanId(const Aws::String &value)
AWS_SECURITYHUB_API AwsBackupBackupPlanDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsBackupBackupPlanDetails & WithBackupPlanArn(Aws::String &&value)
const AwsBackupBackupPlanBackupPlanDetails & GetBackupPlan() const
AwsBackupBackupPlanDetails & WithVersionId(const Aws::String &value)
void SetBackupPlan(const AwsBackupBackupPlanBackupPlanDetails &value)
AwsBackupBackupPlanDetails & WithBackupPlanId(Aws::String &&value)
AWS_SECURITYHUB_API AwsBackupBackupPlanDetails(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue