AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EndPoint.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudfront/model/KinesisStreamConfig.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace CloudFront
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_CLOUDFRONT_API EndPoint();
37 AWS_CLOUDFRONT_API EndPoint(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_CLOUDFRONT_API EndPoint& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
48 inline const Aws::String& GetStreamType() const{ return m_streamType; }
49 inline bool StreamTypeHasBeenSet() const { return m_streamTypeHasBeenSet; }
50 inline void SetStreamType(const Aws::String& value) { m_streamTypeHasBeenSet = true; m_streamType = value; }
51 inline void SetStreamType(Aws::String&& value) { m_streamTypeHasBeenSet = true; m_streamType = std::move(value); }
52 inline void SetStreamType(const char* value) { m_streamTypeHasBeenSet = true; m_streamType.assign(value); }
53 inline EndPoint& WithStreamType(const Aws::String& value) { SetStreamType(value); return *this;}
54 inline EndPoint& WithStreamType(Aws::String&& value) { SetStreamType(std::move(value)); return *this;}
55 inline EndPoint& WithStreamType(const char* value) { SetStreamType(value); return *this;}
57
59
63 inline const KinesisStreamConfig& GetKinesisStreamConfig() const{ return m_kinesisStreamConfig; }
64 inline bool KinesisStreamConfigHasBeenSet() const { return m_kinesisStreamConfigHasBeenSet; }
65 inline void SetKinesisStreamConfig(const KinesisStreamConfig& value) { m_kinesisStreamConfigHasBeenSet = true; m_kinesisStreamConfig = value; }
66 inline void SetKinesisStreamConfig(KinesisStreamConfig&& value) { m_kinesisStreamConfigHasBeenSet = true; m_kinesisStreamConfig = std::move(value); }
67 inline EndPoint& WithKinesisStreamConfig(const KinesisStreamConfig& value) { SetKinesisStreamConfig(value); return *this;}
68 inline EndPoint& WithKinesisStreamConfig(KinesisStreamConfig&& value) { SetKinesisStreamConfig(std::move(value)); return *this;}
70 private:
71
72 Aws::String m_streamType;
73 bool m_streamTypeHasBeenSet = false;
74
75 KinesisStreamConfig m_kinesisStreamConfig;
76 bool m_kinesisStreamConfigHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace CloudFront
81} // namespace Aws
void SetKinesisStreamConfig(KinesisStreamConfig &&value)
Definition EndPoint.h:66
void SetStreamType(const Aws::String &value)
Definition EndPoint.h:50
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_CLOUDFRONT_API EndPoint(const Aws::Utils::Xml::XmlNode &xmlNode)
EndPoint & WithStreamType(const char *value)
Definition EndPoint.h:55
const KinesisStreamConfig & GetKinesisStreamConfig() const
Definition EndPoint.h:63
EndPoint & WithKinesisStreamConfig(KinesisStreamConfig &&value)
Definition EndPoint.h:68
EndPoint & WithStreamType(const Aws::String &value)
Definition EndPoint.h:53
AWS_CLOUDFRONT_API EndPoint()
bool KinesisStreamConfigHasBeenSet() const
Definition EndPoint.h:64
void SetStreamType(Aws::String &&value)
Definition EndPoint.h:51
EndPoint & WithKinesisStreamConfig(const KinesisStreamConfig &value)
Definition EndPoint.h:67
EndPoint & WithStreamType(Aws::String &&value)
Definition EndPoint.h:54
AWS_CLOUDFRONT_API EndPoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetKinesisStreamConfig(const KinesisStreamConfig &value)
Definition EndPoint.h:65
void SetStreamType(const char *value)
Definition EndPoint.h:52
const Aws::String & GetStreamType() const
Definition EndPoint.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String