AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisableHttpEndpointResult.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/rds/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 RDS
25{
26namespace Model
27{
29 {
30 public:
34
35
37
40 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
41 inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; }
42 inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); }
43 inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); }
44 inline DisableHttpEndpointResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
45 inline DisableHttpEndpointResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
46 inline DisableHttpEndpointResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
48
50
54 inline bool GetHttpEndpointEnabled() const{ return m_httpEndpointEnabled; }
55 inline void SetHttpEndpointEnabled(bool value) { m_httpEndpointEnabled = value; }
58
60
61 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
62 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
63 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
65 inline DisableHttpEndpointResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_resourceArn;
70
71 bool m_httpEndpointEnabled;
72
73 ResponseMetadata m_responseMetadata;
74 };
75
76} // namespace Model
77} // namespace RDS
78} // namespace Aws
DisableHttpEndpointResult & WithResourceArn(const Aws::String &value)
AWS_RDS_API DisableHttpEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DisableHttpEndpointResult & WithResponseMetadata(ResponseMetadata &&value)
DisableHttpEndpointResult & WithResourceArn(const char *value)
const ResponseMetadata & GetResponseMetadata() const
DisableHttpEndpointResult & WithResourceArn(Aws::String &&value)
DisableHttpEndpointResult & WithResponseMetadata(const ResponseMetadata &value)
DisableHttpEndpointResult & WithHttpEndpointEnabled(bool value)
AWS_RDS_API DisableHttpEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetResponseMetadata(const ResponseMetadata &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument