AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PipeLogConfigurationParameters.h
1
6#pragma once
7#include <aws/pipes/Pipes_EXPORTS.h>
8#include <aws/pipes/model/S3LogDestinationParameters.h>
9#include <aws/pipes/model/FirehoseLogDestinationParameters.h>
10#include <aws/pipes/model/CloudwatchLogsLogDestinationParameters.h>
11#include <aws/pipes/model/LogLevel.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/pipes/model/IncludeExecutionDataOption.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Pipes
27{
28namespace Model
29{
30
54 {
55 public:
59 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
60
61
63
66 inline const S3LogDestinationParameters& GetS3LogDestination() const{ return m_s3LogDestination; }
67 inline bool S3LogDestinationHasBeenSet() const { return m_s3LogDestinationHasBeenSet; }
68 inline void SetS3LogDestination(const S3LogDestinationParameters& value) { m_s3LogDestinationHasBeenSet = true; m_s3LogDestination = value; }
69 inline void SetS3LogDestination(S3LogDestinationParameters&& value) { m_s3LogDestinationHasBeenSet = true; m_s3LogDestination = std::move(value); }
73
75
78 inline const FirehoseLogDestinationParameters& GetFirehoseLogDestination() const{ return m_firehoseLogDestination; }
79 inline bool FirehoseLogDestinationHasBeenSet() const { return m_firehoseLogDestinationHasBeenSet; }
80 inline void SetFirehoseLogDestination(const FirehoseLogDestinationParameters& value) { m_firehoseLogDestinationHasBeenSet = true; m_firehoseLogDestination = value; }
81 inline void SetFirehoseLogDestination(FirehoseLogDestinationParameters&& value) { m_firehoseLogDestinationHasBeenSet = true; m_firehoseLogDestination = std::move(value); }
85
87
90 inline const CloudwatchLogsLogDestinationParameters& GetCloudwatchLogsLogDestination() const{ return m_cloudwatchLogsLogDestination; }
91 inline bool CloudwatchLogsLogDestinationHasBeenSet() const { return m_cloudwatchLogsLogDestinationHasBeenSet; }
92 inline void SetCloudwatchLogsLogDestination(const CloudwatchLogsLogDestinationParameters& value) { m_cloudwatchLogsLogDestinationHasBeenSet = true; m_cloudwatchLogsLogDestination = value; }
93 inline void SetCloudwatchLogsLogDestination(CloudwatchLogsLogDestinationParameters&& value) { m_cloudwatchLogsLogDestinationHasBeenSet = true; m_cloudwatchLogsLogDestination = std::move(value); }
97
99
105 inline const LogLevel& GetLevel() const{ return m_level; }
106 inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
107 inline void SetLevel(const LogLevel& value) { m_levelHasBeenSet = true; m_level = value; }
108 inline void SetLevel(LogLevel&& value) { m_levelHasBeenSet = true; m_level = std::move(value); }
109 inline PipeLogConfigurationParameters& WithLevel(const LogLevel& value) { SetLevel(value); return *this;}
110 inline PipeLogConfigurationParameters& WithLevel(LogLevel&& value) { SetLevel(std::move(value)); return *this;}
112
114
123 inline const Aws::Vector<IncludeExecutionDataOption>& GetIncludeExecutionData() const{ return m_includeExecutionData; }
124 inline bool IncludeExecutionDataHasBeenSet() const { return m_includeExecutionDataHasBeenSet; }
125 inline void SetIncludeExecutionData(const Aws::Vector<IncludeExecutionDataOption>& value) { m_includeExecutionDataHasBeenSet = true; m_includeExecutionData = value; }
126 inline void SetIncludeExecutionData(Aws::Vector<IncludeExecutionDataOption>&& value) { m_includeExecutionDataHasBeenSet = true; m_includeExecutionData = std::move(value); }
129 inline PipeLogConfigurationParameters& AddIncludeExecutionData(const IncludeExecutionDataOption& value) { m_includeExecutionDataHasBeenSet = true; m_includeExecutionData.push_back(value); return *this; }
130 inline PipeLogConfigurationParameters& AddIncludeExecutionData(IncludeExecutionDataOption&& value) { m_includeExecutionDataHasBeenSet = true; m_includeExecutionData.push_back(std::move(value)); return *this; }
132 private:
133
134 S3LogDestinationParameters m_s3LogDestination;
135 bool m_s3LogDestinationHasBeenSet = false;
136
137 FirehoseLogDestinationParameters m_firehoseLogDestination;
138 bool m_firehoseLogDestinationHasBeenSet = false;
139
140 CloudwatchLogsLogDestinationParameters m_cloudwatchLogsLogDestination;
141 bool m_cloudwatchLogsLogDestinationHasBeenSet = false;
142
143 LogLevel m_level;
144 bool m_levelHasBeenSet = false;
145
146 Aws::Vector<IncludeExecutionDataOption> m_includeExecutionData;
147 bool m_includeExecutionDataHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace Pipes
152} // namespace Aws
void SetFirehoseLogDestination(FirehoseLogDestinationParameters &&value)
PipeLogConfigurationParameters & WithLevel(const LogLevel &value)
PipeLogConfigurationParameters & WithCloudwatchLogsLogDestination(const CloudwatchLogsLogDestinationParameters &value)
PipeLogConfigurationParameters & WithCloudwatchLogsLogDestination(CloudwatchLogsLogDestinationParameters &&value)
PipeLogConfigurationParameters & WithLevel(LogLevel &&value)
void SetS3LogDestination(const S3LogDestinationParameters &value)
PipeLogConfigurationParameters & WithFirehoseLogDestination(FirehoseLogDestinationParameters &&value)
AWS_PIPES_API PipeLogConfigurationParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetS3LogDestination(S3LogDestinationParameters &&value)
PipeLogConfigurationParameters & WithS3LogDestination(const S3LogDestinationParameters &value)
void SetCloudwatchLogsLogDestination(const CloudwatchLogsLogDestinationParameters &value)
PipeLogConfigurationParameters & AddIncludeExecutionData(IncludeExecutionDataOption &&value)
PipeLogConfigurationParameters & WithIncludeExecutionData(const Aws::Vector< IncludeExecutionDataOption > &value)
void SetCloudwatchLogsLogDestination(CloudwatchLogsLogDestinationParameters &&value)
void SetFirehoseLogDestination(const FirehoseLogDestinationParameters &value)
const CloudwatchLogsLogDestinationParameters & GetCloudwatchLogsLogDestination() const
void SetIncludeExecutionData(const Aws::Vector< IncludeExecutionDataOption > &value)
void SetIncludeExecutionData(Aws::Vector< IncludeExecutionDataOption > &&value)
PipeLogConfigurationParameters & WithS3LogDestination(S3LogDestinationParameters &&value)
const FirehoseLogDestinationParameters & GetFirehoseLogDestination() const
PipeLogConfigurationParameters & AddIncludeExecutionData(const IncludeExecutionDataOption &value)
PipeLogConfigurationParameters & WithFirehoseLogDestination(const FirehoseLogDestinationParameters &value)
const Aws::Vector< IncludeExecutionDataOption > & GetIncludeExecutionData() const
const S3LogDestinationParameters & GetS3LogDestination() const
AWS_PIPES_API PipeLogConfigurationParameters(Aws::Utils::Json::JsonView jsonValue)
PipeLogConfigurationParameters & WithIncludeExecutionData(Aws::Vector< IncludeExecutionDataOption > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue