AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
ResetClusterParameterGroupResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/redshift/Redshift_EXPORTS.h>
9#include <aws/redshift/model/ResponseMetadata.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Xml {
19class XmlDocument;
20} // namespace Xml
21} // namespace Utils
22namespace Redshift {
23namespace Model {
30 public:
31 AWS_REDSHIFT_API ResetClusterParameterGroupResult() = default;
34
36
39 inline const Aws::String& GetParameterGroupName() const { return m_parameterGroupName; }
40 template <typename ParameterGroupNameT = Aws::String>
41 void SetParameterGroupName(ParameterGroupNameT&& value) {
42 m_parameterGroupNameHasBeenSet = true;
43 m_parameterGroupName = std::forward<ParameterGroupNameT>(value);
44 }
45 template <typename ParameterGroupNameT = Aws::String>
47 SetParameterGroupName(std::forward<ParameterGroupNameT>(value));
48 return *this;
49 }
51
53
58 inline const Aws::String& GetParameterGroupStatus() const { return m_parameterGroupStatus; }
59 template <typename ParameterGroupStatusT = Aws::String>
60 void SetParameterGroupStatus(ParameterGroupStatusT&& value) {
61 m_parameterGroupStatusHasBeenSet = true;
62 m_parameterGroupStatus = std::forward<ParameterGroupStatusT>(value);
63 }
64 template <typename ParameterGroupStatusT = Aws::String>
66 SetParameterGroupStatus(std::forward<ParameterGroupStatusT>(value));
67 return *this;
68 }
70
72
73 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
74 template <typename ResponseMetadataT = ResponseMetadata>
75 void SetResponseMetadata(ResponseMetadataT&& value) {
76 m_responseMetadataHasBeenSet = true;
77 m_responseMetadata = std::forward<ResponseMetadataT>(value);
78 }
79 template <typename ResponseMetadataT = ResponseMetadata>
81 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_parameterGroupName;
87
88 Aws::String m_parameterGroupStatus;
89
90 ResponseMetadata m_responseMetadata;
91 bool m_parameterGroupNameHasBeenSet = false;
92 bool m_parameterGroupStatusHasBeenSet = false;
93 bool m_responseMetadataHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace Redshift
98} // namespace Aws
AWS_REDSHIFT_API ResetClusterParameterGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ResetClusterParameterGroupResult & WithParameterGroupName(ParameterGroupNameT &&value)
AWS_REDSHIFT_API ResetClusterParameterGroupResult()=default
ResetClusterParameterGroupResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_REDSHIFT_API ResetClusterParameterGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ResetClusterParameterGroupResult & WithParameterGroupStatus(ParameterGroupStatusT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument