AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Output.h
1
6#pragma once
7#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kinesisanalytics/model/KinesisStreamsOutput.h>
10#include <aws/kinesisanalytics/model/KinesisFirehoseOutput.h>
11#include <aws/kinesisanalytics/model/LambdaOutput.h>
12#include <aws/kinesisanalytics/model/DestinationSchema.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace KinesisAnalytics
26{
27namespace Model
28{
29
41 class Output
42 {
43 public:
44 AWS_KINESISANALYTICS_API Output();
45 AWS_KINESISANALYTICS_API Output(Aws::Utils::Json::JsonView jsonValue);
46 AWS_KINESISANALYTICS_API Output& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const Aws::String& GetName() const{ return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
57 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
58 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
59 inline Output& WithName(const Aws::String& value) { SetName(value); return *this;}
60 inline Output& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
61 inline Output& WithName(const char* value) { SetName(value); return *this;}
63
65
68 inline const KinesisStreamsOutput& GetKinesisStreamsOutput() const{ return m_kinesisStreamsOutput; }
69 inline bool KinesisStreamsOutputHasBeenSet() const { return m_kinesisStreamsOutputHasBeenSet; }
70 inline void SetKinesisStreamsOutput(const KinesisStreamsOutput& value) { m_kinesisStreamsOutputHasBeenSet = true; m_kinesisStreamsOutput = value; }
71 inline void SetKinesisStreamsOutput(KinesisStreamsOutput&& value) { m_kinesisStreamsOutputHasBeenSet = true; m_kinesisStreamsOutput = std::move(value); }
72 inline Output& WithKinesisStreamsOutput(const KinesisStreamsOutput& value) { SetKinesisStreamsOutput(value); return *this;}
73 inline Output& WithKinesisStreamsOutput(KinesisStreamsOutput&& value) { SetKinesisStreamsOutput(std::move(value)); return *this;}
75
77
80 inline const KinesisFirehoseOutput& GetKinesisFirehoseOutput() const{ return m_kinesisFirehoseOutput; }
81 inline bool KinesisFirehoseOutputHasBeenSet() const { return m_kinesisFirehoseOutputHasBeenSet; }
82 inline void SetKinesisFirehoseOutput(const KinesisFirehoseOutput& value) { m_kinesisFirehoseOutputHasBeenSet = true; m_kinesisFirehoseOutput = value; }
83 inline void SetKinesisFirehoseOutput(KinesisFirehoseOutput&& value) { m_kinesisFirehoseOutputHasBeenSet = true; m_kinesisFirehoseOutput = std::move(value); }
85 inline Output& WithKinesisFirehoseOutput(KinesisFirehoseOutput&& value) { SetKinesisFirehoseOutput(std::move(value)); return *this;}
87
89
92 inline const LambdaOutput& GetLambdaOutput() const{ return m_lambdaOutput; }
93 inline bool LambdaOutputHasBeenSet() const { return m_lambdaOutputHasBeenSet; }
94 inline void SetLambdaOutput(const LambdaOutput& value) { m_lambdaOutputHasBeenSet = true; m_lambdaOutput = value; }
95 inline void SetLambdaOutput(LambdaOutput&& value) { m_lambdaOutputHasBeenSet = true; m_lambdaOutput = std::move(value); }
96 inline Output& WithLambdaOutput(const LambdaOutput& value) { SetLambdaOutput(value); return *this;}
97 inline Output& WithLambdaOutput(LambdaOutput&& value) { SetLambdaOutput(std::move(value)); return *this;}
99
101
107 inline const DestinationSchema& GetDestinationSchema() const{ return m_destinationSchema; }
108 inline bool DestinationSchemaHasBeenSet() const { return m_destinationSchemaHasBeenSet; }
109 inline void SetDestinationSchema(const DestinationSchema& value) { m_destinationSchemaHasBeenSet = true; m_destinationSchema = value; }
110 inline void SetDestinationSchema(DestinationSchema&& value) { m_destinationSchemaHasBeenSet = true; m_destinationSchema = std::move(value); }
111 inline Output& WithDestinationSchema(const DestinationSchema& value) { SetDestinationSchema(value); return *this;}
112 inline Output& WithDestinationSchema(DestinationSchema&& value) { SetDestinationSchema(std::move(value)); return *this;}
114 private:
115
116 Aws::String m_name;
117 bool m_nameHasBeenSet = false;
118
119 KinesisStreamsOutput m_kinesisStreamsOutput;
120 bool m_kinesisStreamsOutputHasBeenSet = false;
121
122 KinesisFirehoseOutput m_kinesisFirehoseOutput;
123 bool m_kinesisFirehoseOutputHasBeenSet = false;
124
125 LambdaOutput m_lambdaOutput;
126 bool m_lambdaOutputHasBeenSet = false;
127
128 DestinationSchema m_destinationSchema;
129 bool m_destinationSchemaHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace KinesisAnalytics
134} // namespace Aws
void SetDestinationSchema(const DestinationSchema &value)
Definition Output.h:109
const DestinationSchema & GetDestinationSchema() const
Definition Output.h:107
Output & WithName(Aws::String &&value)
Definition Output.h:60
const LambdaOutput & GetLambdaOutput() const
Definition Output.h:92
const Aws::String & GetName() const
Definition Output.h:54
Output & WithLambdaOutput(LambdaOutput &&value)
Definition Output.h:97
AWS_KINESISANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
Output & WithName(const Aws::String &value)
Definition Output.h:59
void SetKinesisStreamsOutput(const KinesisStreamsOutput &value)
Definition Output.h:70
Output & WithDestinationSchema(const DestinationSchema &value)
Definition Output.h:111
void SetLambdaOutput(LambdaOutput &&value)
Definition Output.h:95
bool KinesisFirehoseOutputHasBeenSet() const
Definition Output.h:81
Output & WithKinesisFirehoseOutput(KinesisFirehoseOutput &&value)
Definition Output.h:85
void SetDestinationSchema(DestinationSchema &&value)
Definition Output.h:110
Output & WithDestinationSchema(DestinationSchema &&value)
Definition Output.h:112
void SetKinesisFirehoseOutput(const KinesisFirehoseOutput &value)
Definition Output.h:82
AWS_KINESISANALYTICS_API Output(Aws::Utils::Json::JsonView jsonValue)
void SetKinesisFirehoseOutput(KinesisFirehoseOutput &&value)
Definition Output.h:83
void SetName(Aws::String &&value)
Definition Output.h:57
bool KinesisStreamsOutputHasBeenSet() const
Definition Output.h:69
AWS_KINESISANALYTICS_API Output & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
Definition Output.h:56
Output & WithKinesisFirehoseOutput(const KinesisFirehoseOutput &value)
Definition Output.h:84
AWS_KINESISANALYTICS_API Output()
Output & WithName(const char *value)
Definition Output.h:61
const KinesisFirehoseOutput & GetKinesisFirehoseOutput() const
Definition Output.h:80
Output & WithLambdaOutput(const LambdaOutput &value)
Definition Output.h:96
void SetLambdaOutput(const LambdaOutput &value)
Definition Output.h:94
void SetKinesisStreamsOutput(KinesisStreamsOutput &&value)
Definition Output.h:71
Output & WithKinesisStreamsOutput(KinesisStreamsOutput &&value)
Definition Output.h:73
void SetName(const char *value)
Definition Output.h:58
const KinesisStreamsOutput & GetKinesisStreamsOutput() const
Definition Output.h:68
Output & WithKinesisStreamsOutput(const KinesisStreamsOutput &value)
Definition Output.h:72
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue