AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
ResetClusterParameterGroupResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/redshift/Redshift_EXPORTS.h>
10#include <aws/redshift/model/ResponseMetadata.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Xml {
20class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace Redshift {
24namespace Model {
31 public:
32 AWS_REDSHIFT_API ResetClusterParameterGroupResult() = default;
35
37
40 inline const Aws::String& GetParameterGroupName() const { return m_parameterGroupName; }
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>
48 SetParameterGroupName(std::forward<ParameterGroupNameT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::String& GetParameterGroupStatus() const { return m_parameterGroupStatus; }
60 template <typename ParameterGroupStatusT = Aws::String>
61 void SetParameterGroupStatus(ParameterGroupStatusT&& value) {
62 m_parameterGroupStatusHasBeenSet = true;
63 m_parameterGroupStatus = std::forward<ParameterGroupStatusT>(value);
64 }
65 template <typename ParameterGroupStatusT = Aws::String>
67 SetParameterGroupStatus(std::forward<ParameterGroupStatusT>(value));
68 return *this;
69 }
71
73
74 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
75 template <typename ResponseMetadataT = ResponseMetadata>
76 void SetResponseMetadata(ResponseMetadataT&& value) {
77 m_responseMetadataHasBeenSet = true;
78 m_responseMetadata = std::forward<ResponseMetadataT>(value);
79 }
80 template <typename ResponseMetadataT = ResponseMetadata>
82 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
83 return *this;
84 }
86 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
87
88 private:
89 Aws::String m_parameterGroupName;
90
91 Aws::String m_parameterGroupStatus;
92
93 ResponseMetadata m_responseMetadata;
94 Aws::Http::HttpResponseCode m_HttpResponseCode;
95 bool m_parameterGroupNameHasBeenSet = false;
96 bool m_parameterGroupStatusHasBeenSet = false;
97 bool m_responseMetadataHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Redshift
102} // 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