AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WriteEventStream.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_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 Pinpoint
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_PINPOINT_API WriteEventStream();
37 AWS_PINPOINT_API WriteEventStream(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
54 inline const Aws::String& GetDestinationStreamArn() const{ return m_destinationStreamArn; }
55 inline bool DestinationStreamArnHasBeenSet() const { return m_destinationStreamArnHasBeenSet; }
56 inline void SetDestinationStreamArn(const Aws::String& value) { m_destinationStreamArnHasBeenSet = true; m_destinationStreamArn = value; }
57 inline void SetDestinationStreamArn(Aws::String&& value) { m_destinationStreamArnHasBeenSet = true; m_destinationStreamArn = std::move(value); }
58 inline void SetDestinationStreamArn(const char* value) { m_destinationStreamArnHasBeenSet = true; m_destinationStreamArn.assign(value); }
60 inline WriteEventStream& WithDestinationStreamArn(Aws::String&& value) { SetDestinationStreamArn(std::move(value)); return *this;}
61 inline WriteEventStream& WithDestinationStreamArn(const char* value) { SetDestinationStreamArn(value); return *this;}
63
65
69 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
70 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
71 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
72 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
73 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
74 inline WriteEventStream& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
75 inline WriteEventStream& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
76 inline WriteEventStream& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
78 private:
79
80 Aws::String m_destinationStreamArn;
81 bool m_destinationStreamArnHasBeenSet = false;
82
83 Aws::String m_roleArn;
84 bool m_roleArnHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Pinpoint
89} // namespace Aws
void SetDestinationStreamArn(Aws::String &&value)
WriteEventStream & WithRoleArn(const Aws::String &value)
void SetRoleArn(const Aws::String &value)
const Aws::String & GetDestinationStreamArn() const
WriteEventStream & WithDestinationStreamArn(Aws::String &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDestinationStreamArn(const Aws::String &value)
WriteEventStream & WithRoleArn(Aws::String &&value)
WriteEventStream & WithRoleArn(const char *value)
void SetDestinationStreamArn(const char *value)
AWS_PINPOINT_API WriteEventStream(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API WriteEventStream & operator=(Aws::Utils::Json::JsonView jsonValue)
WriteEventStream & WithDestinationStreamArn(const Aws::String &value)
WriteEventStream & WithDestinationStreamArn(const char *value)
const Aws::String & GetRoleArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue