AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourcePendingMaintenanceActions.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/dms/model/PendingMaintenanceAction.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 DatabaseMigrationService
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_DATABASEMIGRATIONSERVICE_API ResourcePendingMaintenanceActions();
38 AWS_DATABASEMIGRATIONSERVICE_API ResourcePendingMaintenanceActions(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATABASEMIGRATIONSERVICE_API ResourcePendingMaintenanceActions& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
51 inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; }
52 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
53 inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
54 inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
55 inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); }
58 inline ResourcePendingMaintenanceActions& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;}
60
62
65 inline const Aws::Vector<PendingMaintenanceAction>& GetPendingMaintenanceActionDetails() const{ return m_pendingMaintenanceActionDetails; }
66 inline bool PendingMaintenanceActionDetailsHasBeenSet() const { return m_pendingMaintenanceActionDetailsHasBeenSet; }
67 inline void SetPendingMaintenanceActionDetails(const Aws::Vector<PendingMaintenanceAction>& value) { m_pendingMaintenanceActionDetailsHasBeenSet = true; m_pendingMaintenanceActionDetails = value; }
68 inline void SetPendingMaintenanceActionDetails(Aws::Vector<PendingMaintenanceAction>&& value) { m_pendingMaintenanceActionDetailsHasBeenSet = true; m_pendingMaintenanceActionDetails = std::move(value); }
71 inline ResourcePendingMaintenanceActions& AddPendingMaintenanceActionDetails(const PendingMaintenanceAction& value) { m_pendingMaintenanceActionDetailsHasBeenSet = true; m_pendingMaintenanceActionDetails.push_back(value); return *this; }
72 inline ResourcePendingMaintenanceActions& AddPendingMaintenanceActionDetails(PendingMaintenanceAction&& value) { m_pendingMaintenanceActionDetailsHasBeenSet = true; m_pendingMaintenanceActionDetails.push_back(std::move(value)); return *this; }
74 private:
75
76 Aws::String m_resourceIdentifier;
77 bool m_resourceIdentifierHasBeenSet = false;
78
79 Aws::Vector<PendingMaintenanceAction> m_pendingMaintenanceActionDetails;
80 bool m_pendingMaintenanceActionDetailsHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace DatabaseMigrationService
85} // namespace Aws
ResourcePendingMaintenanceActions & WithResourceIdentifier(Aws::String &&value)
ResourcePendingMaintenanceActions & AddPendingMaintenanceActionDetails(const PendingMaintenanceAction &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< PendingMaintenanceAction > & GetPendingMaintenanceActionDetails() const
AWS_DATABASEMIGRATIONSERVICE_API ResourcePendingMaintenanceActions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPendingMaintenanceActionDetails(Aws::Vector< PendingMaintenanceAction > &&value)
ResourcePendingMaintenanceActions & AddPendingMaintenanceActionDetails(PendingMaintenanceAction &&value)
AWS_DATABASEMIGRATIONSERVICE_API ResourcePendingMaintenanceActions(Aws::Utils::Json::JsonView jsonValue)
void SetPendingMaintenanceActionDetails(const Aws::Vector< PendingMaintenanceAction > &value)
ResourcePendingMaintenanceActions & WithPendingMaintenanceActionDetails(Aws::Vector< PendingMaintenanceAction > &&value)
ResourcePendingMaintenanceActions & WithResourceIdentifier(const Aws::String &value)
ResourcePendingMaintenanceActions & WithPendingMaintenanceActionDetails(const Aws::Vector< PendingMaintenanceAction > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue