AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
45 inline const Aws::String& GetParameterGroupName() const{ return m_parameterGroupName; }
46 inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; }
47 inline void SetParameterGroupName(const Aws::String& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = value; }
48 inline void SetParameterGroupName(Aws::String&& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = std::move(value); }
49 inline void SetParameterGroupName(const char* value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName.assign(value); }
51 inline ParameterGroupStatus& WithParameterGroupName(Aws::String&& value) { SetParameterGroupName(std::move(value)); return *this;}
52 inline ParameterGroupStatus& WithParameterGroupName(const char* value) { SetParameterGroupName(value); return *this;}
54
56
59 inline const Aws::String& GetParameterApplyStatus() const{ return m_parameterApplyStatus; }
60 inline bool ParameterApplyStatusHasBeenSet() const { return m_parameterApplyStatusHasBeenSet; }
61 inline void SetParameterApplyStatus(const Aws::String& value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus = value; }
62 inline void SetParameterApplyStatus(Aws::String&& value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus = std::move(value); }
63 inline void SetParameterApplyStatus(const char* value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus.assign(value); }
65 inline ParameterGroupStatus& WithParameterApplyStatus(Aws::String&& value) { SetParameterApplyStatus(std::move(value)); return *this;}
66 inline ParameterGroupStatus& WithParameterApplyStatus(const char* value) { SetParameterApplyStatus(value); return *this;}
68
70
73 inline const Aws::Vector<Aws::String>& GetNodeIdsToReboot() const{ return m_nodeIdsToReboot; }
74 inline bool NodeIdsToRebootHasBeenSet() const { return m_nodeIdsToRebootHasBeenSet; }
75 inline void SetNodeIdsToReboot(const Aws::Vector<Aws::String>& value) { m_nodeIdsToRebootHasBeenSet = true; m_nodeIdsToReboot = value; }
76 inline void SetNodeIdsToReboot(Aws::Vector<Aws::String>&& value) { m_nodeIdsToRebootHasBeenSet = true; m_nodeIdsToReboot = std::move(value); }
78 inline ParameterGroupStatus& WithNodeIdsToReboot(Aws::Vector<Aws::String>&& value) { SetNodeIdsToReboot(std::move(value)); return *this;}
79 inline ParameterGroupStatus& AddNodeIdsToReboot(const Aws::String& value) { m_nodeIdsToRebootHasBeenSet = true; m_nodeIdsToReboot.push_back(value); return *this; }
80 inline ParameterGroupStatus& AddNodeIdsToReboot(Aws::String&& value) { m_nodeIdsToRebootHasBeenSet = true; m_nodeIdsToReboot.push_back(std::move(value)); return *this; }
81 inline ParameterGroupStatus& AddNodeIdsToReboot(const char* value) { m_nodeIdsToRebootHasBeenSet = true; m_nodeIdsToReboot.push_back(value); return *this; }
83 private:
84
85 Aws::String m_parameterGroupName;
86 bool m_parameterGroupNameHasBeenSet = false;
87
88 Aws::String m_parameterApplyStatus;
89 bool m_parameterApplyStatusHasBeenSet = false;
90
91 Aws::Vector<Aws::String> m_nodeIdsToReboot;
92 bool m_nodeIdsToRebootHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace DAX
97} // namespace Aws
ParameterGroupStatus & WithParameterApplyStatus(Aws::String &&value)
ParameterGroupStatus & WithParameterGroupName(const char *value)
ParameterGroupStatus & AddNodeIdsToReboot(Aws::String &&value)
void SetParameterGroupName(const Aws::String &value)
const Aws::Vector< Aws::String > & GetNodeIdsToReboot() const
ParameterGroupStatus & WithParameterGroupName(Aws::String &&value)
void SetParameterApplyStatus(const Aws::String &value)
const Aws::String & GetParameterGroupName() const
void SetNodeIdsToReboot(const Aws::Vector< Aws::String > &value)
ParameterGroupStatus & WithNodeIdsToReboot(Aws::Vector< Aws::String > &&value)
AWS_DAX_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DAX_API ParameterGroupStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetParameterApplyStatus(const char *value)
ParameterGroupStatus & WithParameterApplyStatus(const Aws::String &value)
ParameterGroupStatus & WithParameterApplyStatus(const char *value)
void SetNodeIdsToReboot(Aws::Vector< Aws::String > &&value)
const Aws::String & GetParameterApplyStatus() const
void SetParameterApplyStatus(Aws::String &&value)
void SetParameterGroupName(Aws::String &&value)
ParameterGroupStatus & WithNodeIdsToReboot(const Aws::Vector< Aws::String > &value)
ParameterGroupStatus & AddNodeIdsToReboot(const Aws::String &value)
AWS_DAX_API ParameterGroupStatus(Aws::Utils::Json::JsonView jsonValue)
ParameterGroupStatus & AddNodeIdsToReboot(const char *value)
ParameterGroupStatus & WithParameterGroupName(const Aws::String &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