AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename DestinationStreamArnT = Aws::String>
57 void SetDestinationStreamArn(DestinationStreamArnT&& value) { m_destinationStreamArnHasBeenSet = true; m_destinationStreamArn = std::forward<DestinationStreamArnT>(value); }
58 template<typename DestinationStreamArnT = Aws::String>
59 WriteEventStream& WithDestinationStreamArn(DestinationStreamArnT&& value) { SetDestinationStreamArn(std::forward<DestinationStreamArnT>(value)); return *this;}
61
63
67 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
68 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
69 template<typename RoleArnT = Aws::String>
70 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
71 template<typename RoleArnT = Aws::String>
72 WriteEventStream& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
74 private:
75
76 Aws::String m_destinationStreamArn;
77 bool m_destinationStreamArnHasBeenSet = false;
78
79 Aws::String m_roleArn;
80 bool m_roleArnHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace Pinpoint
85} // namespace Aws
WriteEventStream & WithRoleArn(RoleArnT &&value)
const Aws::String & GetDestinationStreamArn() const
AWS_PINPOINT_API WriteEventStream()=default
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
WriteEventStream & WithDestinationStreamArn(DestinationStreamArnT &&value)
AWS_PINPOINT_API WriteEventStream(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API WriteEventStream & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDestinationStreamArn(DestinationStreamArnT &&value)
const Aws::String & GetRoleArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue