AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ParameterGroupStatus.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dax/DAX_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DAX {
21namespace Model {
22
29 public:
30 AWS_DAX_API ParameterGroupStatus() = default;
34
36
39 inline const Aws::String& GetParameterGroupName() const { return m_parameterGroupName; }
40 inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; }
41 template <typename ParameterGroupNameT = Aws::String>
42 void SetParameterGroupName(ParameterGroupNameT&& value) {
43 m_parameterGroupNameHasBeenSet = true;
44 m_parameterGroupName = std::forward<ParameterGroupNameT>(value);
45 }
46 template <typename ParameterGroupNameT = Aws::String>
47 ParameterGroupStatus& WithParameterGroupName(ParameterGroupNameT&& value) {
48 SetParameterGroupName(std::forward<ParameterGroupNameT>(value));
49 return *this;
50 }
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) {
61 m_parameterApplyStatusHasBeenSet = true;
62 m_parameterApplyStatus = std::forward<ParameterApplyStatusT>(value);
63 }
64 template <typename ParameterApplyStatusT = Aws::String>
65 ParameterGroupStatus& WithParameterApplyStatus(ParameterApplyStatusT&& value) {
66 SetParameterApplyStatus(std::forward<ParameterApplyStatusT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::Vector<Aws::String>& GetNodeIdsToReboot() const { return m_nodeIdsToReboot; }
76 inline bool NodeIdsToRebootHasBeenSet() const { return m_nodeIdsToRebootHasBeenSet; }
77 template <typename NodeIdsToRebootT = Aws::Vector<Aws::String>>
78 void SetNodeIdsToReboot(NodeIdsToRebootT&& value) {
79 m_nodeIdsToRebootHasBeenSet = true;
80 m_nodeIdsToReboot = std::forward<NodeIdsToRebootT>(value);
81 }
82 template <typename NodeIdsToRebootT = Aws::Vector<Aws::String>>
83 ParameterGroupStatus& WithNodeIdsToReboot(NodeIdsToRebootT&& value) {
84 SetNodeIdsToReboot(std::forward<NodeIdsToRebootT>(value));
85 return *this;
86 }
87 template <typename NodeIdsToRebootT = Aws::String>
88 ParameterGroupStatus& AddNodeIdsToReboot(NodeIdsToRebootT&& value) {
89 m_nodeIdsToRebootHasBeenSet = true;
90 m_nodeIdsToReboot.emplace_back(std::forward<NodeIdsToRebootT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_parameterGroupName;
96
97 Aws::String m_parameterApplyStatus;
98
99 Aws::Vector<Aws::String> m_nodeIdsToReboot;
100 bool m_parameterGroupNameHasBeenSet = false;
101 bool m_parameterApplyStatusHasBeenSet = false;
102 bool m_nodeIdsToRebootHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace DAX
107} // 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