AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
InputChannel.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/cleanroomsml/model/InputChannelDataSource.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CleanRoomsML
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CLEANROOMSML_API InputChannel() = default;
37 AWS_CLEANROOMSML_API InputChannel(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLEANROOMSML_API InputChannel& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const InputChannelDataSource& GetDataSource() const { return m_dataSource; }
47 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
48 template<typename DataSourceT = InputChannelDataSource>
49 void SetDataSource(DataSourceT&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::forward<DataSourceT>(value); }
50 template<typename DataSourceT = InputChannelDataSource>
51 InputChannel& WithDataSource(DataSourceT&& value) { SetDataSource(std::forward<DataSourceT>(value)); return *this;}
53
55
61 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
62 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
63 template<typename RoleArnT = Aws::String>
64 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
65 template<typename RoleArnT = Aws::String>
66 InputChannel& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
68 private:
69
70 InputChannelDataSource m_dataSource;
71 bool m_dataSourceHasBeenSet = false;
72
73 Aws::String m_roleArn;
74 bool m_roleArnHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace CleanRoomsML
79} // namespace Aws
AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRoleArn() const
const InputChannelDataSource & GetDataSource() const
void SetDataSource(DataSourceT &&value)
AWS_CLEANROOMSML_API InputChannel(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMSML_API InputChannel()=default
InputChannel & WithRoleArn(RoleArnT &&value)
AWS_CLEANROOMSML_API InputChannel & operator=(Aws::Utils::Json::JsonView jsonValue)
InputChannel & WithDataSource(DataSourceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue