AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateGlobalClusterResult.h
1
6#pragma once
7#include <aws/neptune/Neptune_EXPORTS.h>
8#include <aws/neptune/model/GlobalCluster.h>
9#include <aws/neptune/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 Neptune
25{
26namespace Model
27{
29 {
30 public:
31 AWS_NEPTUNE_API CreateGlobalClusterResult() = default;
34
35
37
38 inline const GlobalCluster& GetGlobalCluster() const { return m_globalCluster; }
39 template<typename GlobalClusterT = GlobalCluster>
40 void SetGlobalCluster(GlobalClusterT&& value) { m_globalClusterHasBeenSet = true; m_globalCluster = std::forward<GlobalClusterT>(value); }
41 template<typename GlobalClusterT = GlobalCluster>
42 CreateGlobalClusterResult& WithGlobalCluster(GlobalClusterT&& value) { SetGlobalCluster(std::forward<GlobalClusterT>(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 CreateGlobalClusterResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
53 private:
54
55 GlobalCluster m_globalCluster;
56 bool m_globalClusterHasBeenSet = false;
57
58 ResponseMetadata m_responseMetadata;
59 bool m_responseMetadataHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace Neptune
64} // namespace Aws
AWS_NEPTUNE_API CreateGlobalClusterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_NEPTUNE_API CreateGlobalClusterResult()=default
CreateGlobalClusterResult & WithGlobalCluster(GlobalClusterT &&value)
CreateGlobalClusterResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_NEPTUNE_API CreateGlobalClusterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Utils::Xml::XmlDocument XmlDocument