AWS SDK for C++  1.9.160
AWS SDK for C++
KinesisStreamSourceConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Firehose
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
46  inline const Aws::String& GetKinesisStreamARN() const{ return m_kinesisStreamARN; }
47 
53  inline bool KinesisStreamARNHasBeenSet() const { return m_kinesisStreamARNHasBeenSet; }
54 
60  inline void SetKinesisStreamARN(const Aws::String& value) { m_kinesisStreamARNHasBeenSet = true; m_kinesisStreamARN = value; }
61 
67  inline void SetKinesisStreamARN(Aws::String&& value) { m_kinesisStreamARNHasBeenSet = true; m_kinesisStreamARN = std::move(value); }
68 
74  inline void SetKinesisStreamARN(const char* value) { m_kinesisStreamARNHasBeenSet = true; m_kinesisStreamARN.assign(value); }
75 
81  inline KinesisStreamSourceConfiguration& WithKinesisStreamARN(const Aws::String& value) { SetKinesisStreamARN(value); return *this;}
82 
88  inline KinesisStreamSourceConfiguration& WithKinesisStreamARN(Aws::String&& value) { SetKinesisStreamARN(std::move(value)); return *this;}
89 
95  inline KinesisStreamSourceConfiguration& WithKinesisStreamARN(const char* value) { SetKinesisStreamARN(value); return *this;}
96 
97 
104  inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
105 
112  inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
113 
120  inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
121 
128  inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
129 
136  inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
137 
144  inline KinesisStreamSourceConfiguration& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
145 
152  inline KinesisStreamSourceConfiguration& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
153 
160  inline KinesisStreamSourceConfiguration& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
161 
162  private:
163 
164  Aws::String m_kinesisStreamARN;
165  bool m_kinesisStreamARNHasBeenSet;
166 
167  Aws::String m_roleARN;
168  bool m_roleARNHasBeenSet;
169  };
170 
171 } // namespace Model
172 } // namespace Firehose
173 } // namespace Aws
Aws::Firehose::Model::KinesisStreamSourceConfiguration::WithKinesisStreamARN
KinesisStreamSourceConfiguration & WithKinesisStreamARN(const char *value)
Definition: KinesisStreamSourceConfiguration.h:95
Aws::Firehose::Model::KinesisStreamSourceConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Firehose::Model::KinesisStreamSourceConfiguration::SetRoleARN
void SetRoleARN(const char *value)
Definition: KinesisStreamSourceConfiguration.h:136
Aws::Firehose::Model::KinesisStreamSourceConfiguration::SetRoleARN
void SetRoleARN(Aws::String &&value)
Definition: KinesisStreamSourceConfiguration.h:128
Aws::Firehose::Model::KinesisStreamSourceConfiguration::SetKinesisStreamARN
void SetKinesisStreamARN(const char *value)
Definition: KinesisStreamSourceConfiguration.h:74
Aws::Firehose::Model::KinesisStreamSourceConfiguration::KinesisStreamSourceConfiguration
KinesisStreamSourceConfiguration()
Aws::Firehose::Model::KinesisStreamSourceConfiguration::KinesisStreamARNHasBeenSet
bool KinesisStreamARNHasBeenSet() const
Definition: KinesisStreamSourceConfiguration.h:53
Aws::Firehose::Model::KinesisStreamSourceConfiguration::GetKinesisStreamARN
const Aws::String & GetKinesisStreamARN() const
Definition: KinesisStreamSourceConfiguration.h:46
Aws::Firehose::Model::KinesisStreamSourceConfiguration::WithRoleARN
KinesisStreamSourceConfiguration & WithRoleARN(const Aws::String &value)
Definition: KinesisStreamSourceConfiguration.h:144
Aws::Firehose::Model::KinesisStreamSourceConfiguration::SetKinesisStreamARN
void SetKinesisStreamARN(const Aws::String &value)
Definition: KinesisStreamSourceConfiguration.h:60
Aws::Firehose::Model::KinesisStreamSourceConfiguration::WithRoleARN
KinesisStreamSourceConfiguration & WithRoleARN(Aws::String &&value)
Definition: KinesisStreamSourceConfiguration.h:152
Aws::Firehose::Model::KinesisStreamSourceConfiguration::KinesisStreamSourceConfiguration
KinesisStreamSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::KinesisStreamSourceConfiguration::WithKinesisStreamARN
KinesisStreamSourceConfiguration & WithKinesisStreamARN(const Aws::String &value)
Definition: KinesisStreamSourceConfiguration.h:81
Aws::Firehose::Model::KinesisStreamSourceConfiguration::SetRoleARN
void SetRoleARN(const Aws::String &value)
Definition: KinesisStreamSourceConfiguration.h:120
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
Aws::Firehose::Model::KinesisStreamSourceConfiguration
Definition: KinesisStreamSourceConfiguration.h:33
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Firehose_EXPORTS.h
Aws::Firehose::Model::KinesisStreamSourceConfiguration::RoleARNHasBeenSet
bool RoleARNHasBeenSet() const
Definition: KinesisStreamSourceConfiguration.h:112
Aws::Firehose::Model::KinesisStreamSourceConfiguration::operator=
KinesisStreamSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Firehose::Model::KinesisStreamSourceConfiguration::WithRoleARN
KinesisStreamSourceConfiguration & WithRoleARN(const char *value)
Definition: KinesisStreamSourceConfiguration.h:160
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Firehose::Model::KinesisStreamSourceConfiguration::GetRoleARN
const Aws::String & GetRoleARN() const
Definition: KinesisStreamSourceConfiguration.h:104
Aws::Firehose::Model::KinesisStreamSourceConfiguration::WithKinesisStreamARN
KinesisStreamSourceConfiguration & WithKinesisStreamARN(Aws::String &&value)
Definition: KinesisStreamSourceConfiguration.h:88
Aws::Firehose::Model::KinesisStreamSourceConfiguration::SetKinesisStreamARN
void SetKinesisStreamARN(Aws::String &&value)
Definition: KinesisStreamSourceConfiguration.h:67