AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KinesisFirehoseDestination.h
1
6#pragma once
7#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace PinpointEmail
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_PINPOINTEMAIL_API KinesisFirehoseDestination();
39 AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
48 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
49 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
50 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
51 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
52 inline KinesisFirehoseDestination& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
53 inline KinesisFirehoseDestination& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
54 inline KinesisFirehoseDestination& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
56
58
62 inline const Aws::String& GetDeliveryStreamArn() const{ return m_deliveryStreamArn; }
63 inline bool DeliveryStreamArnHasBeenSet() const { return m_deliveryStreamArnHasBeenSet; }
64 inline void SetDeliveryStreamArn(const Aws::String& value) { m_deliveryStreamArnHasBeenSet = true; m_deliveryStreamArn = value; }
65 inline void SetDeliveryStreamArn(Aws::String&& value) { m_deliveryStreamArnHasBeenSet = true; m_deliveryStreamArn = std::move(value); }
66 inline void SetDeliveryStreamArn(const char* value) { m_deliveryStreamArnHasBeenSet = true; m_deliveryStreamArn.assign(value); }
68 inline KinesisFirehoseDestination& WithDeliveryStreamArn(Aws::String&& value) { SetDeliveryStreamArn(std::move(value)); return *this;}
69 inline KinesisFirehoseDestination& WithDeliveryStreamArn(const char* value) { SetDeliveryStreamArn(value); return *this;}
71 private:
72
73 Aws::String m_iamRoleArn;
74 bool m_iamRoleArnHasBeenSet = false;
75
76 Aws::String m_deliveryStreamArn;
77 bool m_deliveryStreamArnHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace PinpointEmail
82} // namespace Aws
AWS_PINPOINTEMAIL_API KinesisFirehoseDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
KinesisFirehoseDestination & WithIamRoleArn(const Aws::String &value)
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
KinesisFirehoseDestination & WithDeliveryStreamArn(Aws::String &&value)
KinesisFirehoseDestination & WithDeliveryStreamArn(const char *value)
KinesisFirehoseDestination & WithIamRoleArn(const char *value)
AWS_PINPOINTEMAIL_API KinesisFirehoseDestination(Aws::Utils::Json::JsonView jsonValue)
KinesisFirehoseDestination & WithDeliveryStreamArn(const Aws::String &value)
KinesisFirehoseDestination & WithIamRoleArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue