AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnableHttpEndpointResult.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 EnableHttpEndpointResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
45 inline EnableHttpEndpointResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
46 inline EnableHttpEndpointResult& 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; }
56 inline EnableHttpEndpointResult& WithHttpEndpointEnabled(bool value) { SetHttpEndpointEnabled(value); return *this;}
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 EnableHttpEndpointResult& 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
void SetResponseMetadata(const ResponseMetadata &value)
EnableHttpEndpointResult & WithResponseMetadata(ResponseMetadata &&value)
const ResponseMetadata & GetResponseMetadata() const
EnableHttpEndpointResult & WithHttpEndpointEnabled(bool value)
AWS_RDS_API EnableHttpEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
EnableHttpEndpointResult & WithResponseMetadata(const ResponseMetadata &value)
EnableHttpEndpointResult & WithResourceArn(const Aws::String &value)
EnableHttpEndpointResult & WithResourceArn(Aws::String &&value)
AWS_RDS_API EnableHttpEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetResponseMetadata(ResponseMetadata &&value)
EnableHttpEndpointResult & WithResourceArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument