AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KinesisStreamSourceDescription.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Firehose
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const Aws::String& GetKinesisStreamARN() const{ return m_kinesisStreamARN; }
50 inline bool KinesisStreamARNHasBeenSet() const { return m_kinesisStreamARNHasBeenSet; }
51 inline void SetKinesisStreamARN(const Aws::String& value) { m_kinesisStreamARNHasBeenSet = true; m_kinesisStreamARN = value; }
52 inline void SetKinesisStreamARN(Aws::String&& value) { m_kinesisStreamARNHasBeenSet = true; m_kinesisStreamARN = std::move(value); }
53 inline void SetKinesisStreamARN(const char* value) { m_kinesisStreamARNHasBeenSet = true; m_kinesisStreamARN.assign(value); }
55 inline KinesisStreamSourceDescription& WithKinesisStreamARN(Aws::String&& value) { SetKinesisStreamARN(std::move(value)); return *this;}
56 inline KinesisStreamSourceDescription& WithKinesisStreamARN(const char* value) { SetKinesisStreamARN(value); return *this;}
58
60
66 inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
67 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
68 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
69 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
70 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
71 inline KinesisStreamSourceDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
72 inline KinesisStreamSourceDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
73 inline KinesisStreamSourceDescription& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
75
77
81 inline const Aws::Utils::DateTime& GetDeliveryStartTimestamp() const{ return m_deliveryStartTimestamp; }
82 inline bool DeliveryStartTimestampHasBeenSet() const { return m_deliveryStartTimestampHasBeenSet; }
83 inline void SetDeliveryStartTimestamp(const Aws::Utils::DateTime& value) { m_deliveryStartTimestampHasBeenSet = true; m_deliveryStartTimestamp = value; }
84 inline void SetDeliveryStartTimestamp(Aws::Utils::DateTime&& value) { m_deliveryStartTimestampHasBeenSet = true; m_deliveryStartTimestamp = std::move(value); }
88 private:
89
90 Aws::String m_kinesisStreamARN;
91 bool m_kinesisStreamARNHasBeenSet = false;
92
93 Aws::String m_roleARN;
94 bool m_roleARNHasBeenSet = false;
95
96 Aws::Utils::DateTime m_deliveryStartTimestamp;
97 bool m_deliveryStartTimestampHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Firehose
102} // namespace Aws
KinesisStreamSourceDescription & WithRoleARN(Aws::String &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FIREHOSE_API KinesisStreamSourceDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
KinesisStreamSourceDescription & WithKinesisStreamARN(const char *value)
KinesisStreamSourceDescription & WithDeliveryStartTimestamp(const Aws::Utils::DateTime &value)
KinesisStreamSourceDescription & WithKinesisStreamARN(Aws::String &&value)
KinesisStreamSourceDescription & WithKinesisStreamARN(const Aws::String &value)
AWS_FIREHOSE_API KinesisStreamSourceDescription(Aws::Utils::Json::JsonView jsonValue)
KinesisStreamSourceDescription & WithDeliveryStartTimestamp(Aws::Utils::DateTime &&value)
KinesisStreamSourceDescription & WithRoleARN(const char *value)
KinesisStreamSourceDescription & WithRoleARN(const Aws::String &value)
void SetDeliveryStartTimestamp(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue