AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ServiceEndpoint.h
1
6#pragma once
7#include <aws/cloudsearch/CloudSearch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace CloudSearch
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CLOUDSEARCH_API ServiceEndpoint() = default;
36 AWS_CLOUDSEARCH_API ServiceEndpoint(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_CLOUDSEARCH_API ServiceEndpoint& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
45 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
46 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
47 template<typename EndpointT = Aws::String>
48 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet = true; m_endpoint = std::forward<EndpointT>(value); }
49 template<typename EndpointT = Aws::String>
50 ServiceEndpoint& WithEndpoint(EndpointT&& value) { SetEndpoint(std::forward<EndpointT>(value)); return *this;}
52 private:
53
54 Aws::String m_endpoint;
55 bool m_endpointHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace CloudSearch
60} // namespace Aws
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_CLOUDSEARCH_API ServiceEndpoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDSEARCH_API ServiceEndpoint()=default
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetEndpoint() const
ServiceEndpoint & WithEndpoint(EndpointT &&value)
AWS_CLOUDSEARCH_API ServiceEndpoint(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream