AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateClusterParameterGroupResult.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/model/ClusterParameterGroup.h>
9#include <aws/redshift/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace Redshift
25{
26namespace Model
27{
29 {
30 public:
31 AWS_REDSHIFT_API CreateClusterParameterGroupResult() = default;
34
35
37
38 inline const ClusterParameterGroup& GetClusterParameterGroup() const { return m_clusterParameterGroup; }
39 template<typename ClusterParameterGroupT = ClusterParameterGroup>
40 void SetClusterParameterGroup(ClusterParameterGroupT&& value) { m_clusterParameterGroupHasBeenSet = true; m_clusterParameterGroup = std::forward<ClusterParameterGroupT>(value); }
41 template<typename ClusterParameterGroupT = ClusterParameterGroup>
42 CreateClusterParameterGroupResult& WithClusterParameterGroup(ClusterParameterGroupT&& value) { SetClusterParameterGroup(std::forward<ClusterParameterGroupT>(value)); return *this;}
44
46
47 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
48 template<typename ResponseMetadataT = ResponseMetadata>
49 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
50 template<typename ResponseMetadataT = ResponseMetadata>
51 CreateClusterParameterGroupResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
53 private:
54
55 ClusterParameterGroup m_clusterParameterGroup;
56 bool m_clusterParameterGroupHasBeenSet = false;
57
58 ResponseMetadata m_responseMetadata;
59 bool m_responseMetadataHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace Redshift
64} // namespace Aws
AWS_REDSHIFT_API CreateClusterParameterGroupResult()=default
CreateClusterParameterGroupResult & WithClusterParameterGroup(ClusterParameterGroupT &&value)
AWS_REDSHIFT_API CreateClusterParameterGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateClusterParameterGroupResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_REDSHIFT_API CreateClusterParameterGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Utils::Xml::XmlDocument XmlDocument