AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
CreateRedshiftIdcApplicationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/redshift/Redshift_EXPORTS.h>
9#include <aws/redshift/model/RedshiftIdcApplication.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 {
26 public:
27 AWS_REDSHIFT_API CreateRedshiftIdcApplicationResult() = default;
30
32
33 inline const RedshiftIdcApplication& GetRedshiftIdcApplication() const { return m_redshiftIdcApplication; }
34 template <typename RedshiftIdcApplicationT = RedshiftIdcApplication>
35 void SetRedshiftIdcApplication(RedshiftIdcApplicationT&& value) {
36 m_redshiftIdcApplicationHasBeenSet = true;
37 m_redshiftIdcApplication = std::forward<RedshiftIdcApplicationT>(value);
38 }
39 template <typename RedshiftIdcApplicationT = RedshiftIdcApplication>
41 SetRedshiftIdcApplication(std::forward<RedshiftIdcApplicationT>(value));
42 return *this;
43 }
45
47
48 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
49 template <typename ResponseMetadataT = ResponseMetadata>
50 void SetResponseMetadata(ResponseMetadataT&& value) {
51 m_responseMetadataHasBeenSet = true;
52 m_responseMetadata = std::forward<ResponseMetadataT>(value);
53 }
54 template <typename ResponseMetadataT = ResponseMetadata>
56 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
57 return *this;
58 }
60 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
61
62 private:
63 RedshiftIdcApplication m_redshiftIdcApplication;
64
65 ResponseMetadata m_responseMetadata;
66 Aws::Http::HttpResponseCode m_HttpResponseCode;
67 bool m_redshiftIdcApplicationHasBeenSet = false;
68 bool m_responseMetadataHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace Redshift
73} // namespace Aws
AWS_REDSHIFT_API CreateRedshiftIdcApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateRedshiftIdcApplicationResult & WithRedshiftIdcApplication(RedshiftIdcApplicationT &&value)
AWS_REDSHIFT_API CreateRedshiftIdcApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateRedshiftIdcApplicationResult & WithResponseMetadata(ResponseMetadataT &&value)
Aws::Utils::Xml::XmlDocument XmlDocument