AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
EndPoint.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/KinesisStreamConfig.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 CloudFront {
20namespace Model {
21
29class EndPoint {
30 public:
31 AWS_CLOUDFRONT_API EndPoint() = default;
32 AWS_CLOUDFRONT_API EndPoint(const Aws::Utils::Xml::XmlNode& xmlNode);
33 AWS_CLOUDFRONT_API EndPoint& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
34
35 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
36
38
42 inline const Aws::String& GetStreamType() const { return m_streamType; }
43 inline bool StreamTypeHasBeenSet() const { return m_streamTypeHasBeenSet; }
44 template <typename StreamTypeT = Aws::String>
45 void SetStreamType(StreamTypeT&& value) {
46 m_streamTypeHasBeenSet = true;
47 m_streamType = std::forward<StreamTypeT>(value);
48 }
49 template <typename StreamTypeT = Aws::String>
50 EndPoint& WithStreamType(StreamTypeT&& value) {
51 SetStreamType(std::forward<StreamTypeT>(value));
52 return *this;
53 }
55
57
61 inline const KinesisStreamConfig& GetKinesisStreamConfig() const { return m_kinesisStreamConfig; }
62 inline bool KinesisStreamConfigHasBeenSet() const { return m_kinesisStreamConfigHasBeenSet; }
63 template <typename KinesisStreamConfigT = KinesisStreamConfig>
64 void SetKinesisStreamConfig(KinesisStreamConfigT&& value) {
65 m_kinesisStreamConfigHasBeenSet = true;
66 m_kinesisStreamConfig = std::forward<KinesisStreamConfigT>(value);
67 }
68 template <typename KinesisStreamConfigT = KinesisStreamConfig>
69 EndPoint& WithKinesisStreamConfig(KinesisStreamConfigT&& value) {
70 SetKinesisStreamConfig(std::forward<KinesisStreamConfigT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_streamType;
76
77 KinesisStreamConfig m_kinesisStreamConfig;
78 bool m_streamTypeHasBeenSet = false;
79 bool m_kinesisStreamConfigHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace CloudFront
84} // namespace Aws
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_CLOUDFRONT_API EndPoint(const Aws::Utils::Xml::XmlNode &xmlNode)
const KinesisStreamConfig & GetKinesisStreamConfig() const
Definition EndPoint.h:61
void SetStreamType(StreamTypeT &&value)
Definition EndPoint.h:45
EndPoint & WithKinesisStreamConfig(KinesisStreamConfigT &&value)
Definition EndPoint.h:69
AWS_CLOUDFRONT_API EndPoint()=default
bool KinesisStreamConfigHasBeenSet() const
Definition EndPoint.h:62
EndPoint & WithStreamType(StreamTypeT &&value)
Definition EndPoint.h:50
AWS_CLOUDFRONT_API EndPoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetKinesisStreamConfig(KinesisStreamConfigT &&value)
Definition EndPoint.h:64
const Aws::String & GetStreamType() const
Definition EndPoint.h:42
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String