AWS SDK for C++  1.8.128
AWS SDK for C++
KinesisFirehoseDestination.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 Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace SES
22 {
23 namespace Model
24 {
25 
38  {
39  public:
43 
44  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45  void OutputToStream(Aws::OStream& oStream, const char* location) const;
46 
47 
52  inline const Aws::String& GetIAMRoleARN() const{ return m_iAMRoleARN; }
53 
58  inline bool IAMRoleARNHasBeenSet() const { return m_iAMRoleARNHasBeenSet; }
59 
64  inline void SetIAMRoleARN(const Aws::String& value) { m_iAMRoleARNHasBeenSet = true; m_iAMRoleARN = value; }
65 
70  inline void SetIAMRoleARN(Aws::String&& value) { m_iAMRoleARNHasBeenSet = true; m_iAMRoleARN = std::move(value); }
71 
76  inline void SetIAMRoleARN(const char* value) { m_iAMRoleARNHasBeenSet = true; m_iAMRoleARN.assign(value); }
77 
82  inline KinesisFirehoseDestination& WithIAMRoleARN(const Aws::String& value) { SetIAMRoleARN(value); return *this;}
83 
88  inline KinesisFirehoseDestination& WithIAMRoleARN(Aws::String&& value) { SetIAMRoleARN(std::move(value)); return *this;}
89 
94  inline KinesisFirehoseDestination& WithIAMRoleARN(const char* value) { SetIAMRoleARN(value); return *this;}
95 
96 
101  inline const Aws::String& GetDeliveryStreamARN() const{ return m_deliveryStreamARN; }
102 
107  inline bool DeliveryStreamARNHasBeenSet() const { return m_deliveryStreamARNHasBeenSet; }
108 
113  inline void SetDeliveryStreamARN(const Aws::String& value) { m_deliveryStreamARNHasBeenSet = true; m_deliveryStreamARN = value; }
114 
119  inline void SetDeliveryStreamARN(Aws::String&& value) { m_deliveryStreamARNHasBeenSet = true; m_deliveryStreamARN = std::move(value); }
120 
125  inline void SetDeliveryStreamARN(const char* value) { m_deliveryStreamARNHasBeenSet = true; m_deliveryStreamARN.assign(value); }
126 
131  inline KinesisFirehoseDestination& WithDeliveryStreamARN(const Aws::String& value) { SetDeliveryStreamARN(value); return *this;}
132 
137  inline KinesisFirehoseDestination& WithDeliveryStreamARN(Aws::String&& value) { SetDeliveryStreamARN(std::move(value)); return *this;}
138 
143  inline KinesisFirehoseDestination& WithDeliveryStreamARN(const char* value) { SetDeliveryStreamARN(value); return *this;}
144 
145  private:
146 
147  Aws::String m_iAMRoleARN;
148  bool m_iAMRoleARNHasBeenSet;
149 
150  Aws::String m_deliveryStreamARN;
151  bool m_deliveryStreamARNHasBeenSet;
152  };
153 
154 } // namespace Model
155 } // namespace SES
156 } // namespace Aws
Aws::SES::Model::KinesisFirehoseDestination::WithIAMRoleARN
KinesisFirehoseDestination & WithIAMRoleARN(const Aws::String &value)
Definition: KinesisFirehoseDestination.h:82
Aws::SES::Model::KinesisFirehoseDestination::SetDeliveryStreamARN
void SetDeliveryStreamARN(const Aws::String &value)
Definition: KinesisFirehoseDestination.h:113
Aws::SES::Model::KinesisFirehoseDestination::KinesisFirehoseDestination
KinesisFirehoseDestination()
Aws::SES::Model::KinesisFirehoseDestination::operator=
KinesisFirehoseDestination & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSStreamFwd.h
Aws::SES::Model::KinesisFirehoseDestination::WithDeliveryStreamARN
KinesisFirehoseDestination & WithDeliveryStreamARN(const Aws::String &value)
Definition: KinesisFirehoseDestination.h:131
Aws::SES::Model::KinesisFirehoseDestination::DeliveryStreamARNHasBeenSet
bool DeliveryStreamARNHasBeenSet() const
Definition: KinesisFirehoseDestination.h:107
Aws::SES::Model::KinesisFirehoseDestination::SetIAMRoleARN
void SetIAMRoleARN(const char *value)
Definition: KinesisFirehoseDestination.h:76
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::KinesisFirehoseDestination
Definition: KinesisFirehoseDestination.h:38
Aws::SES::Model::KinesisFirehoseDestination::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::SES::Model::KinesisFirehoseDestination::WithIAMRoleARN
KinesisFirehoseDestination & WithIAMRoleARN(const char *value)
Definition: KinesisFirehoseDestination.h:94
AWSString.h
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::KinesisFirehoseDestination::SetIAMRoleARN
void SetIAMRoleARN(Aws::String &&value)
Definition: KinesisFirehoseDestination.h:70
Aws::SES::Model::KinesisFirehoseDestination::KinesisFirehoseDestination
KinesisFirehoseDestination(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::KinesisFirehoseDestination::SetDeliveryStreamARN
void SetDeliveryStreamARN(const char *value)
Definition: KinesisFirehoseDestination.h:125
Aws::SES::Model::KinesisFirehoseDestination::WithDeliveryStreamARN
KinesisFirehoseDestination & WithDeliveryStreamARN(Aws::String &&value)
Definition: KinesisFirehoseDestination.h:137
Aws::SES::Model::KinesisFirehoseDestination::SetIAMRoleARN
void SetIAMRoleARN(const Aws::String &value)
Definition: KinesisFirehoseDestination.h:64
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::KinesisFirehoseDestination::WithIAMRoleARN
KinesisFirehoseDestination & WithIAMRoleARN(Aws::String &&value)
Definition: KinesisFirehoseDestination.h:88
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:171
Aws::SES::Model::KinesisFirehoseDestination::GetIAMRoleARN
const Aws::String & GetIAMRoleARN() const
Definition: KinesisFirehoseDestination.h:52
Aws::SES::Model::KinesisFirehoseDestination::IAMRoleARNHasBeenSet
bool IAMRoleARNHasBeenSet() const
Definition: KinesisFirehoseDestination.h:58
Aws::SES::Model::KinesisFirehoseDestination::GetDeliveryStreamARN
const Aws::String & GetDeliveryStreamARN() const
Definition: KinesisFirehoseDestination.h:101
Aws::SES::Model::KinesisFirehoseDestination::WithDeliveryStreamARN
KinesisFirehoseDestination & WithDeliveryStreamARN(const char *value)
Definition: KinesisFirehoseDestination.h:143
Aws::SES::Model::KinesisFirehoseDestination::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::SES::Model::KinesisFirehoseDestination::SetDeliveryStreamARN
void SetDeliveryStreamARN(Aws::String &&value)
Definition: KinesisFirehoseDestination.h:119