AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ParameterGroupStatus.h
1
6#pragma once
7#include <aws/dax/DAX_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 DAX
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DAX_API ParameterGroupStatus() = default;
39
40
42
45 inline const Aws::String& GetParameterGroupName() const { return m_parameterGroupName; }
46 inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; }
47 template<typename ParameterGroupNameT = Aws::String>
48 void SetParameterGroupName(ParameterGroupNameT&& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = std::forward<ParameterGroupNameT>(value); }
49 template<typename ParameterGroupNameT = Aws::String>
50 ParameterGroupStatus& WithParameterGroupName(ParameterGroupNameT&& value) { SetParameterGroupName(std::forward<ParameterGroupNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetParameterApplyStatus() const { return m_parameterApplyStatus; }
58 inline bool ParameterApplyStatusHasBeenSet() const { return m_parameterApplyStatusHasBeenSet; }
59 template<typename ParameterApplyStatusT = Aws::String>
60 void SetParameterApplyStatus(ParameterApplyStatusT&& value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus = std::forward<ParameterApplyStatusT>(value); }
61 template<typename ParameterApplyStatusT = Aws::String>
62 ParameterGroupStatus& WithParameterApplyStatus(ParameterApplyStatusT&& value) { SetParameterApplyStatus(std::forward<ParameterApplyStatusT>(value)); return *this;}
64
66
69 inline const Aws::Vector<Aws::String>& GetNodeIdsToReboot() const { return m_nodeIdsToReboot; }
70 inline bool NodeIdsToRebootHasBeenSet() const { return m_nodeIdsToRebootHasBeenSet; }
71 template<typename NodeIdsToRebootT = Aws::Vector<Aws::String>>
72 void SetNodeIdsToReboot(NodeIdsToRebootT&& value) { m_nodeIdsToRebootHasBeenSet = true; m_nodeIdsToReboot = std::forward<NodeIdsToRebootT>(value); }
73 template<typename NodeIdsToRebootT = Aws::Vector<Aws::String>>
74 ParameterGroupStatus& WithNodeIdsToReboot(NodeIdsToRebootT&& value) { SetNodeIdsToReboot(std::forward<NodeIdsToRebootT>(value)); return *this;}
75 template<typename NodeIdsToRebootT = Aws::String>
76 ParameterGroupStatus& AddNodeIdsToReboot(NodeIdsToRebootT&& value) { m_nodeIdsToRebootHasBeenSet = true; m_nodeIdsToReboot.emplace_back(std::forward<NodeIdsToRebootT>(value)); return *this; }
78 private:
79
80 Aws::String m_parameterGroupName;
81 bool m_parameterGroupNameHasBeenSet = false;
82
83 Aws::String m_parameterApplyStatus;
84 bool m_parameterApplyStatusHasBeenSet = false;
85
86 Aws::Vector<Aws::String> m_nodeIdsToReboot;
87 bool m_nodeIdsToRebootHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace DAX
92} // namespace Aws
ParameterGroupStatus & WithNodeIdsToReboot(NodeIdsToRebootT &&value)
AWS_DAX_API ParameterGroupStatus()=default
const Aws::Vector< Aws::String > & GetNodeIdsToReboot() const
const Aws::String & GetParameterGroupName() const
AWS_DAX_API Aws::Utils::Json::JsonValue Jsonize() const
void SetParameterGroupName(ParameterGroupNameT &&value)
void SetNodeIdsToReboot(NodeIdsToRebootT &&value)
AWS_DAX_API ParameterGroupStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetParameterApplyStatus(ParameterApplyStatusT &&value)
const Aws::String & GetParameterApplyStatus() const
ParameterGroupStatus & AddNodeIdsToReboot(NodeIdsToRebootT &&value)
ParameterGroupStatus & WithParameterGroupName(ParameterGroupNameT &&value)
ParameterGroupStatus & WithParameterApplyStatus(ParameterApplyStatusT &&value)
AWS_DAX_API ParameterGroupStatus(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue