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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kinesisanalyticsv2/model/KinesisStreamsOutput.h>
10#include <aws/kinesisanalyticsv2/model/KinesisFirehoseOutput.h>
11#include <aws/kinesisanalyticsv2/model/LambdaOutput.h>
12#include <aws/kinesisanalyticsv2/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 KinesisAnalyticsV2
26{
27namespace Model
28{
29
39 class Output
40 {
41 public:
42 AWS_KINESISANALYTICSV2_API Output();
43 AWS_KINESISANALYTICSV2_API Output(Aws::Utils::Json::JsonView jsonValue);
44 AWS_KINESISANALYTICSV2_API Output& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetName() const{ return m_name; }
53 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
54 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
56 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
57 inline Output& WithName(const Aws::String& value) { SetName(value); return *this;}
58 inline Output& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
59 inline Output& WithName(const char* value) { SetName(value); return *this;}
61
63
66 inline const KinesisStreamsOutput& GetKinesisStreamsOutput() const{ return m_kinesisStreamsOutput; }
67 inline bool KinesisStreamsOutputHasBeenSet() const { return m_kinesisStreamsOutputHasBeenSet; }
68 inline void SetKinesisStreamsOutput(const KinesisStreamsOutput& value) { m_kinesisStreamsOutputHasBeenSet = true; m_kinesisStreamsOutput = value; }
69 inline void SetKinesisStreamsOutput(KinesisStreamsOutput&& value) { m_kinesisStreamsOutputHasBeenSet = true; m_kinesisStreamsOutput = std::move(value); }
70 inline Output& WithKinesisStreamsOutput(const KinesisStreamsOutput& value) { SetKinesisStreamsOutput(value); return *this;}
71 inline Output& WithKinesisStreamsOutput(KinesisStreamsOutput&& value) { SetKinesisStreamsOutput(std::move(value)); return *this;}
73
75
78 inline const KinesisFirehoseOutput& GetKinesisFirehoseOutput() const{ return m_kinesisFirehoseOutput; }
79 inline bool KinesisFirehoseOutputHasBeenSet() const { return m_kinesisFirehoseOutputHasBeenSet; }
80 inline void SetKinesisFirehoseOutput(const KinesisFirehoseOutput& value) { m_kinesisFirehoseOutputHasBeenSet = true; m_kinesisFirehoseOutput = value; }
81 inline void SetKinesisFirehoseOutput(KinesisFirehoseOutput&& value) { m_kinesisFirehoseOutputHasBeenSet = true; m_kinesisFirehoseOutput = std::move(value); }
83 inline Output& WithKinesisFirehoseOutput(KinesisFirehoseOutput&& value) { SetKinesisFirehoseOutput(std::move(value)); return *this;}
85
87
90 inline const LambdaOutput& GetLambdaOutput() const{ return m_lambdaOutput; }
91 inline bool LambdaOutputHasBeenSet() const { return m_lambdaOutputHasBeenSet; }
92 inline void SetLambdaOutput(const LambdaOutput& value) { m_lambdaOutputHasBeenSet = true; m_lambdaOutput = value; }
93 inline void SetLambdaOutput(LambdaOutput&& value) { m_lambdaOutputHasBeenSet = true; m_lambdaOutput = std::move(value); }
94 inline Output& WithLambdaOutput(const LambdaOutput& value) { SetLambdaOutput(value); return *this;}
95 inline Output& WithLambdaOutput(LambdaOutput&& value) { SetLambdaOutput(std::move(value)); return *this;}
97
99
102 inline const DestinationSchema& GetDestinationSchema() const{ return m_destinationSchema; }
103 inline bool DestinationSchemaHasBeenSet() const { return m_destinationSchemaHasBeenSet; }
104 inline void SetDestinationSchema(const DestinationSchema& value) { m_destinationSchemaHasBeenSet = true; m_destinationSchema = value; }
105 inline void SetDestinationSchema(DestinationSchema&& value) { m_destinationSchemaHasBeenSet = true; m_destinationSchema = std::move(value); }
106 inline Output& WithDestinationSchema(const DestinationSchema& value) { SetDestinationSchema(value); return *this;}
107 inline Output& WithDestinationSchema(DestinationSchema&& value) { SetDestinationSchema(std::move(value)); return *this;}
109 private:
110
111 Aws::String m_name;
112 bool m_nameHasBeenSet = false;
113
114 KinesisStreamsOutput m_kinesisStreamsOutput;
115 bool m_kinesisStreamsOutputHasBeenSet = false;
116
117 KinesisFirehoseOutput m_kinesisFirehoseOutput;
118 bool m_kinesisFirehoseOutputHasBeenSet = false;
119
120 LambdaOutput m_lambdaOutput;
121 bool m_lambdaOutputHasBeenSet = false;
122
123 DestinationSchema m_destinationSchema;
124 bool m_destinationSchemaHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace KinesisAnalyticsV2
129} // namespace Aws
Output & WithName(Aws::String &&value)
Definition Output.h:58
void SetKinesisStreamsOutput(const KinesisStreamsOutput &value)
Definition Output.h:68
void SetName(const Aws::String &value)
Definition Output.h:54
void SetKinesisFirehoseOutput(const KinesisFirehoseOutput &value)
Definition Output.h:80
Output & WithKinesisStreamsOutput(KinesisStreamsOutput &&value)
Definition Output.h:71
void SetDestinationSchema(DestinationSchema &&value)
Definition Output.h:105
Output & WithName(const Aws::String &value)
Definition Output.h:57
Output & WithKinesisFirehoseOutput(KinesisFirehoseOutput &&value)
Definition Output.h:83
void SetName(const char *value)
Definition Output.h:56
AWS_KINESISANALYTICSV2_API Output()
void SetKinesisStreamsOutput(KinesisStreamsOutput &&value)
Definition Output.h:69
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
Output & WithKinesisStreamsOutput(const KinesisStreamsOutput &value)
Definition Output.h:70
Output & WithName(const char *value)
Definition Output.h:59
Output & WithDestinationSchema(DestinationSchema &&value)
Definition Output.h:107
AWS_KINESISANALYTICSV2_API Output & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKinesisFirehoseOutput(KinesisFirehoseOutput &&value)
Definition Output.h:81
void SetLambdaOutput(LambdaOutput &&value)
Definition Output.h:93
const Aws::String & GetName() const
Definition Output.h:52
void SetLambdaOutput(const LambdaOutput &value)
Definition Output.h:92
Output & WithLambdaOutput(LambdaOutput &&value)
Definition Output.h:95
const KinesisStreamsOutput & GetKinesisStreamsOutput() const
Definition Output.h:66
const DestinationSchema & GetDestinationSchema() const
Definition Output.h:102
Output & WithLambdaOutput(const LambdaOutput &value)
Definition Output.h:94
const LambdaOutput & GetLambdaOutput() const
Definition Output.h:90
bool KinesisStreamsOutputHasBeenSet() const
Definition Output.h:67
void SetDestinationSchema(const DestinationSchema &value)
Definition Output.h:104
const KinesisFirehoseOutput & GetKinesisFirehoseOutput() const
Definition Output.h:78
void SetName(Aws::String &&value)
Definition Output.h:55
Output & WithKinesisFirehoseOutput(const KinesisFirehoseOutput &value)
Definition Output.h:82
bool KinesisFirehoseOutputHasBeenSet() const
Definition Output.h:79
Output & WithDestinationSchema(const DestinationSchema &value)
Definition Output.h:106
AWS_KINESISANALYTICSV2_API Output(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue