AWS SDK for C++  1.9.158
AWS SDK for C++
KinesisStreamSourceDescription.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Firehose
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
48  inline const Aws::String& GetKinesisStreamARN() const{ return m_kinesisStreamARN; }
49 
56  inline bool KinesisStreamARNHasBeenSet() const { return m_kinesisStreamARNHasBeenSet; }
57 
64  inline void SetKinesisStreamARN(const Aws::String& value) { m_kinesisStreamARNHasBeenSet = true; m_kinesisStreamARN = value; }
65 
72  inline void SetKinesisStreamARN(Aws::String&& value) { m_kinesisStreamARNHasBeenSet = true; m_kinesisStreamARN = std::move(value); }
73 
80  inline void SetKinesisStreamARN(const char* value) { m_kinesisStreamARNHasBeenSet = true; m_kinesisStreamARN.assign(value); }
81 
88  inline KinesisStreamSourceDescription& WithKinesisStreamARN(const Aws::String& value) { SetKinesisStreamARN(value); return *this;}
89 
96  inline KinesisStreamSourceDescription& WithKinesisStreamARN(Aws::String&& value) { SetKinesisStreamARN(std::move(value)); return *this;}
97 
104  inline KinesisStreamSourceDescription& WithKinesisStreamARN(const char* value) { SetKinesisStreamARN(value); return *this;}
105 
106 
113  inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
114 
121  inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
122 
129  inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
130 
137  inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
138 
145  inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
146 
153  inline KinesisStreamSourceDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
154 
161  inline KinesisStreamSourceDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
162 
169  inline KinesisStreamSourceDescription& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
170 
171 
176  inline const Aws::Utils::DateTime& GetDeliveryStartTimestamp() const{ return m_deliveryStartTimestamp; }
177 
182  inline bool DeliveryStartTimestampHasBeenSet() const { return m_deliveryStartTimestampHasBeenSet; }
183 
188  inline void SetDeliveryStartTimestamp(const Aws::Utils::DateTime& value) { m_deliveryStartTimestampHasBeenSet = true; m_deliveryStartTimestamp = value; }
189 
194  inline void SetDeliveryStartTimestamp(Aws::Utils::DateTime&& value) { m_deliveryStartTimestampHasBeenSet = true; m_deliveryStartTimestamp = std::move(value); }
195 
200  inline KinesisStreamSourceDescription& WithDeliveryStartTimestamp(const Aws::Utils::DateTime& value) { SetDeliveryStartTimestamp(value); return *this;}
201 
206  inline KinesisStreamSourceDescription& WithDeliveryStartTimestamp(Aws::Utils::DateTime&& value) { SetDeliveryStartTimestamp(std::move(value)); return *this;}
207 
208  private:
209 
210  Aws::String m_kinesisStreamARN;
211  bool m_kinesisStreamARNHasBeenSet;
212 
213  Aws::String m_roleARN;
214  bool m_roleARNHasBeenSet;
215 
216  Aws::Utils::DateTime m_deliveryStartTimestamp;
217  bool m_deliveryStartTimestampHasBeenSet;
218  };
219 
220 } // namespace Model
221 } // namespace Firehose
222 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Firehose::Model::KinesisStreamSourceDescription
Definition: KinesisStreamSourceDescription.h:34
Aws::Firehose::Model::KinesisStreamSourceDescription::GetDeliveryStartTimestamp
const Aws::Utils::DateTime & GetDeliveryStartTimestamp() const
Definition: KinesisStreamSourceDescription.h:176
Aws::Firehose::Model::KinesisStreamSourceDescription::WithKinesisStreamARN
KinesisStreamSourceDescription & WithKinesisStreamARN(const char *value)
Definition: KinesisStreamSourceDescription.h:104
Aws::Firehose::Model::KinesisStreamSourceDescription::WithDeliveryStartTimestamp
KinesisStreamSourceDescription & WithDeliveryStartTimestamp(const Aws::Utils::DateTime &value)
Definition: KinesisStreamSourceDescription.h:200
DateTime.h
Aws::Firehose::Model::KinesisStreamSourceDescription::operator=
KinesisStreamSourceDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::KinesisStreamSourceDescription::SetDeliveryStartTimestamp
void SetDeliveryStartTimestamp(const Aws::Utils::DateTime &value)
Definition: KinesisStreamSourceDescription.h:188
Aws::Firehose::Model::KinesisStreamSourceDescription::SetKinesisStreamARN
void SetKinesisStreamARN(const Aws::String &value)
Definition: KinesisStreamSourceDescription.h:64
Aws::Firehose::Model::KinesisStreamSourceDescription::RoleARNHasBeenSet
bool RoleARNHasBeenSet() const
Definition: KinesisStreamSourceDescription.h:121
Aws::Firehose::Model::KinesisStreamSourceDescription::SetKinesisStreamARN
void SetKinesisStreamARN(const char *value)
Definition: KinesisStreamSourceDescription.h:80
Aws::Firehose::Model::KinesisStreamSourceDescription::WithKinesisStreamARN
KinesisStreamSourceDescription & WithKinesisStreamARN(Aws::String &&value)
Definition: KinesisStreamSourceDescription.h:96
Aws::Firehose::Model::KinesisStreamSourceDescription::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Firehose::Model::KinesisStreamSourceDescription::WithRoleARN
KinesisStreamSourceDescription & WithRoleARN(Aws::String &&value)
Definition: KinesisStreamSourceDescription.h:161
Aws::Firehose::Model::KinesisStreamSourceDescription::SetRoleARN
void SetRoleARN(const char *value)
Definition: KinesisStreamSourceDescription.h:145
Aws::Firehose::Model::KinesisStreamSourceDescription::KinesisStreamSourceDescription
KinesisStreamSourceDescription()
Aws::Firehose::Model::KinesisStreamSourceDescription::GetRoleARN
const Aws::String & GetRoleARN() const
Definition: KinesisStreamSourceDescription.h:113
Aws::Firehose::Model::KinesisStreamSourceDescription::WithRoleARN
KinesisStreamSourceDescription & WithRoleARN(const Aws::String &value)
Definition: KinesisStreamSourceDescription.h:153
Aws::Firehose::Model::KinesisStreamSourceDescription::SetKinesisStreamARN
void SetKinesisStreamARN(Aws::String &&value)
Definition: KinesisStreamSourceDescription.h:72
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
Aws::Firehose::Model::KinesisStreamSourceDescription::WithDeliveryStartTimestamp
KinesisStreamSourceDescription & WithDeliveryStartTimestamp(Aws::Utils::DateTime &&value)
Definition: KinesisStreamSourceDescription.h:206
Aws::Firehose::Model::KinesisStreamSourceDescription::KinesisStreamARNHasBeenSet
bool KinesisStreamARNHasBeenSet() const
Definition: KinesisStreamSourceDescription.h:56
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Firehose::Model::KinesisStreamSourceDescription::SetDeliveryStartTimestamp
void SetDeliveryStartTimestamp(Aws::Utils::DateTime &&value)
Definition: KinesisStreamSourceDescription.h:194
Firehose_EXPORTS.h
Aws::Firehose::Model::KinesisStreamSourceDescription::KinesisStreamSourceDescription
KinesisStreamSourceDescription(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::KinesisStreamSourceDescription::DeliveryStartTimestampHasBeenSet
bool DeliveryStartTimestampHasBeenSet() const
Definition: KinesisStreamSourceDescription.h:182
Aws::Firehose::Model::KinesisStreamSourceDescription::WithRoleARN
KinesisStreamSourceDescription & WithRoleARN(const char *value)
Definition: KinesisStreamSourceDescription.h:169
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Firehose::Model::KinesisStreamSourceDescription::WithKinesisStreamARN
KinesisStreamSourceDescription & WithKinesisStreamARN(const Aws::String &value)
Definition: KinesisStreamSourceDescription.h:88
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Firehose::Model::KinesisStreamSourceDescription::SetRoleARN
void SetRoleARN(Aws::String &&value)
Definition: KinesisStreamSourceDescription.h:137
Aws::Firehose::Model::KinesisStreamSourceDescription::GetKinesisStreamARN
const Aws::String & GetKinesisStreamARN() const
Definition: KinesisStreamSourceDescription.h:48
Aws::Firehose::Model::KinesisStreamSourceDescription::SetRoleARN
void SetRoleARN(const Aws::String &value)
Definition: KinesisStreamSourceDescription.h:129