AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
48 inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
49 inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
50 inline ServiceEndpoint& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
51 inline ServiceEndpoint& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
52 inline ServiceEndpoint& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
54 private:
55
56 Aws::String m_endpoint;
57 bool m_endpointHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace CloudSearch
62} // namespace Aws
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ServiceEndpoint & WithEndpoint(const Aws::String &value)
ServiceEndpoint & WithEndpoint(const char *value)
AWS_CLOUDSEARCH_API ServiceEndpoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetEndpoint(const Aws::String &value)
const Aws::String & GetEndpoint() const
AWS_CLOUDSEARCH_API ServiceEndpoint(const Aws::Utils::Xml::XmlNode &xmlNode)
ServiceEndpoint & WithEndpoint(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream