AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BackupSelectionsListMember.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 Backup
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BACKUP_API BackupSelectionsListMember() = default;
39 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetSelectionId() const { return m_selectionId; }
48 inline bool SelectionIdHasBeenSet() const { return m_selectionIdHasBeenSet; }
49 template<typename SelectionIdT = Aws::String>
50 void SetSelectionId(SelectionIdT&& value) { m_selectionIdHasBeenSet = true; m_selectionId = std::forward<SelectionIdT>(value); }
51 template<typename SelectionIdT = Aws::String>
52 BackupSelectionsListMember& WithSelectionId(SelectionIdT&& value) { SetSelectionId(std::forward<SelectionIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetSelectionName() const { return m_selectionName; }
60 inline bool SelectionNameHasBeenSet() const { return m_selectionNameHasBeenSet; }
61 template<typename SelectionNameT = Aws::String>
62 void SetSelectionName(SelectionNameT&& value) { m_selectionNameHasBeenSet = true; m_selectionName = std::forward<SelectionNameT>(value); }
63 template<typename SelectionNameT = Aws::String>
64 BackupSelectionsListMember& WithSelectionName(SelectionNameT&& value) { SetSelectionName(std::forward<SelectionNameT>(value)); return *this;}
66
68
71 inline const Aws::String& GetBackupPlanId() const { return m_backupPlanId; }
72 inline bool BackupPlanIdHasBeenSet() const { return m_backupPlanIdHasBeenSet; }
73 template<typename BackupPlanIdT = Aws::String>
74 void SetBackupPlanId(BackupPlanIdT&& value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId = std::forward<BackupPlanIdT>(value); }
75 template<typename BackupPlanIdT = Aws::String>
76 BackupSelectionsListMember& WithBackupPlanId(BackupPlanIdT&& value) { SetBackupPlanId(std::forward<BackupPlanIdT>(value)); return *this;}
78
80
86 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
87 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
88 template<typename CreationDateT = Aws::Utils::DateTime>
89 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
90 template<typename CreationDateT = Aws::Utils::DateTime>
91 BackupSelectionsListMember& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
93
95
101 inline const Aws::String& GetCreatorRequestId() const { return m_creatorRequestId; }
102 inline bool CreatorRequestIdHasBeenSet() const { return m_creatorRequestIdHasBeenSet; }
103 template<typename CreatorRequestIdT = Aws::String>
104 void SetCreatorRequestId(CreatorRequestIdT&& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = std::forward<CreatorRequestIdT>(value); }
105 template<typename CreatorRequestIdT = Aws::String>
106 BackupSelectionsListMember& WithCreatorRequestId(CreatorRequestIdT&& value) { SetCreatorRequestId(std::forward<CreatorRequestIdT>(value)); return *this;}
108
110
115 inline const Aws::String& GetIamRoleArn() const { return m_iamRoleArn; }
116 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
117 template<typename IamRoleArnT = Aws::String>
118 void SetIamRoleArn(IamRoleArnT&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::forward<IamRoleArnT>(value); }
119 template<typename IamRoleArnT = Aws::String>
120 BackupSelectionsListMember& WithIamRoleArn(IamRoleArnT&& value) { SetIamRoleArn(std::forward<IamRoleArnT>(value)); return *this;}
122 private:
123
124 Aws::String m_selectionId;
125 bool m_selectionIdHasBeenSet = false;
126
127 Aws::String m_selectionName;
128 bool m_selectionNameHasBeenSet = false;
129
130 Aws::String m_backupPlanId;
131 bool m_backupPlanIdHasBeenSet = false;
132
133 Aws::Utils::DateTime m_creationDate{};
134 bool m_creationDateHasBeenSet = false;
135
136 Aws::String m_creatorRequestId;
137 bool m_creatorRequestIdHasBeenSet = false;
138
139 Aws::String m_iamRoleArn;
140 bool m_iamRoleArnHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace Backup
145} // namespace Aws
AWS_BACKUP_API BackupSelectionsListMember()=default
BackupSelectionsListMember & WithBackupPlanId(BackupPlanIdT &&value)
BackupSelectionsListMember & WithIamRoleArn(IamRoleArnT &&value)
BackupSelectionsListMember & WithCreationDate(CreationDateT &&value)
BackupSelectionsListMember & WithSelectionId(SelectionIdT &&value)
BackupSelectionsListMember & WithCreatorRequestId(CreatorRequestIdT &&value)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BACKUP_API BackupSelectionsListMember & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BACKUP_API BackupSelectionsListMember(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationDate() const
BackupSelectionsListMember & WithSelectionName(SelectionNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue