AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourcePendingMaintenanceAction.h
1
6#pragma once
7#include <aws/docdb-elastic/DocDBElastic_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/docdb-elastic/model/PendingMaintenanceActionDetails.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 DocDBElastic
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_DOCDBELASTIC_API ResourcePendingMaintenanceAction();
40 AWS_DOCDBELASTIC_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<PendingMaintenanceActionDetails>& GetPendingMaintenanceActionDetails() const{ return m_pendingMaintenanceActionDetails; }
48 inline bool PendingMaintenanceActionDetailsHasBeenSet() const { return m_pendingMaintenanceActionDetailsHasBeenSet; }
49 inline void SetPendingMaintenanceActionDetails(const Aws::Vector<PendingMaintenanceActionDetails>& value) { m_pendingMaintenanceActionDetailsHasBeenSet = true; m_pendingMaintenanceActionDetails = value; }
50 inline void SetPendingMaintenanceActionDetails(Aws::Vector<PendingMaintenanceActionDetails>&& value) { m_pendingMaintenanceActionDetailsHasBeenSet = true; m_pendingMaintenanceActionDetails = std::move(value); }
53 inline ResourcePendingMaintenanceAction& AddPendingMaintenanceActionDetails(const PendingMaintenanceActionDetails& value) { m_pendingMaintenanceActionDetailsHasBeenSet = true; m_pendingMaintenanceActionDetails.push_back(value); return *this; }
54 inline ResourcePendingMaintenanceAction& AddPendingMaintenanceActionDetails(PendingMaintenanceActionDetails&& value) { m_pendingMaintenanceActionDetailsHasBeenSet = true; m_pendingMaintenanceActionDetails.push_back(std::move(value)); return *this; }
56
58
62 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
63 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
64 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
65 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
66 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
67 inline ResourcePendingMaintenanceAction& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
68 inline ResourcePendingMaintenanceAction& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
69 inline ResourcePendingMaintenanceAction& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
71 private:
72
73 Aws::Vector<PendingMaintenanceActionDetails> m_pendingMaintenanceActionDetails;
74 bool m_pendingMaintenanceActionDetailsHasBeenSet = false;
75
76 Aws::String m_resourceArn;
77 bool m_resourceArnHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace DocDBElastic
82} // namespace Aws
ResourcePendingMaintenanceAction & WithResourceArn(const char *value)
ResourcePendingMaintenanceAction & WithPendingMaintenanceActionDetails(const Aws::Vector< PendingMaintenanceActionDetails > &value)
AWS_DOCDBELASTIC_API ResourcePendingMaintenanceAction(Aws::Utils::Json::JsonView jsonValue)
ResourcePendingMaintenanceAction & WithPendingMaintenanceActionDetails(Aws::Vector< PendingMaintenanceActionDetails > &&value)
ResourcePendingMaintenanceAction & AddPendingMaintenanceActionDetails(const PendingMaintenanceActionDetails &value)
ResourcePendingMaintenanceAction & AddPendingMaintenanceActionDetails(PendingMaintenanceActionDetails &&value)
const Aws::Vector< PendingMaintenanceActionDetails > & GetPendingMaintenanceActionDetails() const
ResourcePendingMaintenanceAction & WithResourceArn(const Aws::String &value)
void SetPendingMaintenanceActionDetails(const Aws::Vector< PendingMaintenanceActionDetails > &value)
AWS_DOCDBELASTIC_API ResourcePendingMaintenanceAction & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourcePendingMaintenanceAction & WithResourceArn(Aws::String &&value)
void SetPendingMaintenanceActionDetails(Aws::Vector< PendingMaintenanceActionDetails > &&value)
AWS_DOCDBELASTIC_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue