AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetSelectionId(const Aws::String& value) { m_selectionIdHasBeenSet = true; m_selectionId = value; }
50 inline void SetSelectionId(Aws::String&& value) { m_selectionIdHasBeenSet = true; m_selectionId = std::move(value); }
51 inline void SetSelectionId(const char* value) { m_selectionIdHasBeenSet = true; m_selectionId.assign(value); }
52 inline BackupSelectionsListMember& WithSelectionId(const Aws::String& value) { SetSelectionId(value); return *this;}
53 inline BackupSelectionsListMember& WithSelectionId(Aws::String&& value) { SetSelectionId(std::move(value)); return *this;}
54 inline BackupSelectionsListMember& WithSelectionId(const char* value) { SetSelectionId(value); return *this;}
56
58
61 inline const Aws::String& GetSelectionName() const{ return m_selectionName; }
62 inline bool SelectionNameHasBeenSet() const { return m_selectionNameHasBeenSet; }
63 inline void SetSelectionName(const Aws::String& value) { m_selectionNameHasBeenSet = true; m_selectionName = value; }
64 inline void SetSelectionName(Aws::String&& value) { m_selectionNameHasBeenSet = true; m_selectionName = std::move(value); }
65 inline void SetSelectionName(const char* value) { m_selectionNameHasBeenSet = true; m_selectionName.assign(value); }
66 inline BackupSelectionsListMember& WithSelectionName(const Aws::String& value) { SetSelectionName(value); return *this;}
67 inline BackupSelectionsListMember& WithSelectionName(Aws::String&& value) { SetSelectionName(std::move(value)); return *this;}
68 inline BackupSelectionsListMember& WithSelectionName(const char* value) { SetSelectionName(value); return *this;}
70
72
75 inline const Aws::String& GetBackupPlanId() const{ return m_backupPlanId; }
76 inline bool BackupPlanIdHasBeenSet() const { return m_backupPlanIdHasBeenSet; }
77 inline void SetBackupPlanId(const Aws::String& value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId = value; }
78 inline void SetBackupPlanId(Aws::String&& value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId = std::move(value); }
79 inline void SetBackupPlanId(const char* value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId.assign(value); }
80 inline BackupSelectionsListMember& WithBackupPlanId(const Aws::String& value) { SetBackupPlanId(value); return *this;}
81 inline BackupSelectionsListMember& WithBackupPlanId(Aws::String&& value) { SetBackupPlanId(std::move(value)); return *this;}
82 inline BackupSelectionsListMember& WithBackupPlanId(const char* value) { SetBackupPlanId(value); return *this;}
84
86
92 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
93 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
94 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
95 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
97 inline BackupSelectionsListMember& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
99
101
107 inline const Aws::String& GetCreatorRequestId() const{ return m_creatorRequestId; }
108 inline bool CreatorRequestIdHasBeenSet() const { return m_creatorRequestIdHasBeenSet; }
109 inline void SetCreatorRequestId(const Aws::String& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = value; }
110 inline void SetCreatorRequestId(Aws::String&& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = std::move(value); }
111 inline void SetCreatorRequestId(const char* value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId.assign(value); }
113 inline BackupSelectionsListMember& WithCreatorRequestId(Aws::String&& value) { SetCreatorRequestId(std::move(value)); return *this;}
114 inline BackupSelectionsListMember& WithCreatorRequestId(const char* value) { SetCreatorRequestId(value); return *this;}
116
118
123 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
124 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
125 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
126 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
127 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
128 inline BackupSelectionsListMember& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
129 inline BackupSelectionsListMember& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
130 inline BackupSelectionsListMember& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
132 private:
133
134 Aws::String m_selectionId;
135 bool m_selectionIdHasBeenSet = false;
136
137 Aws::String m_selectionName;
138 bool m_selectionNameHasBeenSet = false;
139
140 Aws::String m_backupPlanId;
141 bool m_backupPlanIdHasBeenSet = false;
142
143 Aws::Utils::DateTime m_creationDate;
144 bool m_creationDateHasBeenSet = false;
145
146 Aws::String m_creatorRequestId;
147 bool m_creatorRequestIdHasBeenSet = false;
148
149 Aws::String m_iamRoleArn;
150 bool m_iamRoleArnHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace Backup
155} // namespace Aws
BackupSelectionsListMember & WithIamRoleArn(Aws::String &&value)
BackupSelectionsListMember & WithCreatorRequestId(Aws::String &&value)
BackupSelectionsListMember & WithBackupPlanId(const Aws::String &value)
BackupSelectionsListMember & WithSelectionName(const Aws::String &value)
BackupSelectionsListMember & WithSelectionId(const char *value)
BackupSelectionsListMember & WithIamRoleArn(const Aws::String &value)
BackupSelectionsListMember & WithSelectionName(Aws::String &&value)
BackupSelectionsListMember & WithIamRoleArn(const char *value)
BackupSelectionsListMember & WithCreationDate(Aws::Utils::DateTime &&value)
BackupSelectionsListMember & WithCreatorRequestId(const char *value)
BackupSelectionsListMember & WithBackupPlanId(const char *value)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
BackupSelectionsListMember & WithSelectionName(const char *value)
BackupSelectionsListMember & WithSelectionId(const Aws::String &value)
BackupSelectionsListMember & WithCreationDate(const Aws::Utils::DateTime &value)
BackupSelectionsListMember & WithCreatorRequestId(const Aws::String &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
AWS_BACKUP_API BackupSelectionsListMember & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BACKUP_API BackupSelectionsListMember(Aws::Utils::Json::JsonView jsonValue)
BackupSelectionsListMember & WithSelectionId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationDate() const
BackupSelectionsListMember & WithBackupPlanId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue