AWS SDK for C++

AWS SDK for C++ Version 1.11.891

Loading...
Searching...
No Matches
ChannelStreamIdentifier.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kinesis/Kinesis_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Kinesis {
21namespace Model {
22
30 public:
31 AWS_KINESIS_API ChannelStreamIdentifier() = default;
34 AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetStreamARN() const { return m_streamARN; }
41 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
42 template <typename StreamARNT = Aws::String>
43 void SetStreamARN(StreamARNT&& value) {
44 m_streamARNHasBeenSet = true;
45 m_streamARN = std::forward<StreamARNT>(value);
46 }
47 template <typename StreamARNT = Aws::String>
49 SetStreamARN(std::forward<StreamARNT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Utils::DateTime& GetStreamCreationTimestamp() const { return m_streamCreationTimestamp; }
59 inline bool StreamCreationTimestampHasBeenSet() const { return m_streamCreationTimestampHasBeenSet; }
60 template <typename StreamCreationTimestampT = Aws::Utils::DateTime>
61 void SetStreamCreationTimestamp(StreamCreationTimestampT&& value) {
62 m_streamCreationTimestampHasBeenSet = true;
63 m_streamCreationTimestamp = std::forward<StreamCreationTimestampT>(value);
64 }
65 template <typename StreamCreationTimestampT = Aws::Utils::DateTime>
66 ChannelStreamIdentifier& WithStreamCreationTimestamp(StreamCreationTimestampT&& value) {
67 SetStreamCreationTimestamp(std::forward<StreamCreationTimestampT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_streamARN;
73
74 Aws::Utils::DateTime m_streamCreationTimestamp{};
75 bool m_streamARNHasBeenSet = false;
76 bool m_streamCreationTimestampHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Kinesis
81} // namespace Aws
void SetStreamCreationTimestamp(StreamCreationTimestampT &&value)
AWS_KINESIS_API ChannelStreamIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetStreamCreationTimestamp() const
AWS_KINESIS_API ChannelStreamIdentifier(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESIS_API ChannelStreamIdentifier()=default
ChannelStreamIdentifier & WithStreamARN(StreamARNT &&value)
ChannelStreamIdentifier & WithStreamCreationTimestamp(StreamCreationTimestampT &&value)
AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue