AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
DomainEndpointOptions.h
1
6#pragma once
7#include <aws/cloudsearch/CloudSearch_EXPORTS.h>
8#include <aws/cloudsearch/model/TLSSecurityPolicy.h>
9#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace CloudSearch {
20namespace Model {
21
28 public:
29 AWS_CLOUDSEARCH_API DomainEndpointOptions() = default;
30 AWS_CLOUDSEARCH_API DomainEndpointOptions(const Aws::Utils::Xml::XmlNode& xmlNode);
31 AWS_CLOUDSEARCH_API DomainEndpointOptions& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
32
33 AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
34 AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
35
37
40 inline bool GetEnforceHTTPS() const { return m_enforceHTTPS; }
41 inline bool EnforceHTTPSHasBeenSet() const { return m_enforceHTTPSHasBeenSet; }
42 inline void SetEnforceHTTPS(bool value) {
43 m_enforceHTTPSHasBeenSet = true;
44 m_enforceHTTPS = value;
45 }
47 SetEnforceHTTPS(value);
48 return *this;
49 }
51
53
56 inline TLSSecurityPolicy GetTLSSecurityPolicy() const { return m_tLSSecurityPolicy; }
57 inline bool TLSSecurityPolicyHasBeenSet() const { return m_tLSSecurityPolicyHasBeenSet; }
59 m_tLSSecurityPolicyHasBeenSet = true;
60 m_tLSSecurityPolicy = value;
61 }
64 return *this;
65 }
67 private:
68 bool m_enforceHTTPS{false};
69
71 bool m_enforceHTTPSHasBeenSet = false;
72 bool m_tLSSecurityPolicyHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace CloudSearch
77} // namespace Aws
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_CLOUDSEARCH_API DomainEndpointOptions()=default
DomainEndpointOptions & WithTLSSecurityPolicy(TLSSecurityPolicy value)
AWS_CLOUDSEARCH_API DomainEndpointOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DomainEndpointOptions & WithEnforceHTTPS(bool value)
AWS_CLOUDSEARCH_API DomainEndpointOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream