AWS SDK for C++

AWS SDK for C++ Version 1.11.768

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace CloudSearch {
20namespace Model {
21
29 public:
30 AWS_CLOUDSEARCH_API ServiceEndpoint() = default;
31 AWS_CLOUDSEARCH_API ServiceEndpoint(const Aws::Utils::Xml::XmlNode& xmlNode);
32 AWS_CLOUDSEARCH_API ServiceEndpoint& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
33
34 AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
35 AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
36
38
39 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
40 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
41 template <typename EndpointT = Aws::String>
42 void SetEndpoint(EndpointT&& value) {
43 m_endpointHasBeenSet = true;
44 m_endpoint = std::forward<EndpointT>(value);
45 }
46 template <typename EndpointT = Aws::String>
47 ServiceEndpoint& WithEndpoint(EndpointT&& value) {
48 SetEndpoint(std::forward<EndpointT>(value));
49 return *this;
50 }
52 private:
53 Aws::String m_endpoint;
54 bool m_endpointHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace CloudSearch
59} // 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