AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PipeLogConfiguration.h
1
6#pragma once
7#include <aws/pipes/Pipes_EXPORTS.h>
8#include <aws/pipes/model/S3LogDestination.h>
9#include <aws/pipes/model/FirehoseLogDestination.h>
10#include <aws/pipes/model/CloudwatchLogsLogDestination.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
38 {
39 public:
40 AWS_PIPES_API PipeLogConfiguration();
43 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const S3LogDestination& GetS3LogDestination() const{ return m_s3LogDestination; }
51 inline bool S3LogDestinationHasBeenSet() const { return m_s3LogDestinationHasBeenSet; }
52 inline void SetS3LogDestination(const S3LogDestination& value) { m_s3LogDestinationHasBeenSet = true; m_s3LogDestination = value; }
53 inline void SetS3LogDestination(S3LogDestination&& value) { m_s3LogDestinationHasBeenSet = true; m_s3LogDestination = std::move(value); }
55 inline PipeLogConfiguration& WithS3LogDestination(S3LogDestination&& value) { SetS3LogDestination(std::move(value)); return *this;}
57
59
62 inline const FirehoseLogDestination& GetFirehoseLogDestination() const{ return m_firehoseLogDestination; }
63 inline bool FirehoseLogDestinationHasBeenSet() const { return m_firehoseLogDestinationHasBeenSet; }
64 inline void SetFirehoseLogDestination(const FirehoseLogDestination& value) { m_firehoseLogDestinationHasBeenSet = true; m_firehoseLogDestination = value; }
65 inline void SetFirehoseLogDestination(FirehoseLogDestination&& value) { m_firehoseLogDestinationHasBeenSet = true; m_firehoseLogDestination = std::move(value); }
69
71
74 inline const CloudwatchLogsLogDestination& GetCloudwatchLogsLogDestination() const{ return m_cloudwatchLogsLogDestination; }
75 inline bool CloudwatchLogsLogDestinationHasBeenSet() const { return m_cloudwatchLogsLogDestinationHasBeenSet; }
76 inline void SetCloudwatchLogsLogDestination(const CloudwatchLogsLogDestination& value) { m_cloudwatchLogsLogDestinationHasBeenSet = true; m_cloudwatchLogsLogDestination = value; }
77 inline void SetCloudwatchLogsLogDestination(CloudwatchLogsLogDestination&& value) { m_cloudwatchLogsLogDestinationHasBeenSet = true; m_cloudwatchLogsLogDestination = std::move(value); }
81
83
87 inline const LogLevel& GetLevel() const{ return m_level; }
88 inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
89 inline void SetLevel(const LogLevel& value) { m_levelHasBeenSet = true; m_level = value; }
90 inline void SetLevel(LogLevel&& value) { m_levelHasBeenSet = true; m_level = std::move(value); }
91 inline PipeLogConfiguration& WithLevel(const LogLevel& value) { SetLevel(value); return *this;}
92 inline PipeLogConfiguration& WithLevel(LogLevel&& value) { SetLevel(std::move(value)); return *this;}
94
96
104 inline const Aws::Vector<IncludeExecutionDataOption>& GetIncludeExecutionData() const{ return m_includeExecutionData; }
105 inline bool IncludeExecutionDataHasBeenSet() const { return m_includeExecutionDataHasBeenSet; }
106 inline void SetIncludeExecutionData(const Aws::Vector<IncludeExecutionDataOption>& value) { m_includeExecutionDataHasBeenSet = true; m_includeExecutionData = value; }
107 inline void SetIncludeExecutionData(Aws::Vector<IncludeExecutionDataOption>&& value) { m_includeExecutionDataHasBeenSet = true; m_includeExecutionData = std::move(value); }
110 inline PipeLogConfiguration& AddIncludeExecutionData(const IncludeExecutionDataOption& value) { m_includeExecutionDataHasBeenSet = true; m_includeExecutionData.push_back(value); return *this; }
111 inline PipeLogConfiguration& AddIncludeExecutionData(IncludeExecutionDataOption&& value) { m_includeExecutionDataHasBeenSet = true; m_includeExecutionData.push_back(std::move(value)); return *this; }
113 private:
114
115 S3LogDestination m_s3LogDestination;
116 bool m_s3LogDestinationHasBeenSet = false;
117
118 FirehoseLogDestination m_firehoseLogDestination;
119 bool m_firehoseLogDestinationHasBeenSet = false;
120
121 CloudwatchLogsLogDestination m_cloudwatchLogsLogDestination;
122 bool m_cloudwatchLogsLogDestinationHasBeenSet = false;
123
124 LogLevel m_level;
125 bool m_levelHasBeenSet = false;
126
127 Aws::Vector<IncludeExecutionDataOption> m_includeExecutionData;
128 bool m_includeExecutionDataHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace Pipes
133} // namespace Aws
AWS_PIPES_API PipeLogConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
PipeLogConfiguration & AddIncludeExecutionData(const IncludeExecutionDataOption &value)
const Aws::Vector< IncludeExecutionDataOption > & GetIncludeExecutionData() const
void SetFirehoseLogDestination(FirehoseLogDestination &&value)
PipeLogConfiguration & WithLevel(LogLevel &&value)
const S3LogDestination & GetS3LogDestination() const
const CloudwatchLogsLogDestination & GetCloudwatchLogsLogDestination() const
PipeLogConfiguration & WithLevel(const LogLevel &value)
void SetFirehoseLogDestination(const FirehoseLogDestination &value)
PipeLogConfiguration & WithS3LogDestination(const S3LogDestination &value)
AWS_PIPES_API PipeLogConfiguration(Aws::Utils::Json::JsonView jsonValue)
PipeLogConfiguration & WithIncludeExecutionData(const Aws::Vector< IncludeExecutionDataOption > &value)
void SetCloudwatchLogsLogDestination(CloudwatchLogsLogDestination &&value)
void SetIncludeExecutionData(const Aws::Vector< IncludeExecutionDataOption > &value)
PipeLogConfiguration & WithCloudwatchLogsLogDestination(CloudwatchLogsLogDestination &&value)
PipeLogConfiguration & WithCloudwatchLogsLogDestination(const CloudwatchLogsLogDestination &value)
const FirehoseLogDestination & GetFirehoseLogDestination() const
PipeLogConfiguration & WithFirehoseLogDestination(const FirehoseLogDestination &value)
PipeLogConfiguration & WithS3LogDestination(S3LogDestination &&value)
void SetS3LogDestination(const S3LogDestination &value)
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetS3LogDestination(S3LogDestination &&value)
void SetCloudwatchLogsLogDestination(const CloudwatchLogsLogDestination &value)
PipeLogConfiguration & WithIncludeExecutionData(Aws::Vector< IncludeExecutionDataOption > &&value)
void SetIncludeExecutionData(Aws::Vector< IncludeExecutionDataOption > &&value)
PipeLogConfiguration & WithFirehoseLogDestination(FirehoseLogDestination &&value)
PipeLogConfiguration & AddIncludeExecutionData(IncludeExecutionDataOption &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue