AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LoggingConfiguration.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/states/model/LogLevel.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/states/model/LogDestination.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SFN
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SFN_API LoggingConfiguration();
41
42
44
47 inline const LogLevel& GetLevel() const{ return m_level; }
48 inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
49 inline void SetLevel(const LogLevel& value) { m_levelHasBeenSet = true; m_level = value; }
50 inline void SetLevel(LogLevel&& value) { m_levelHasBeenSet = true; m_level = std::move(value); }
51 inline LoggingConfiguration& WithLevel(const LogLevel& value) { SetLevel(value); return *this;}
52 inline LoggingConfiguration& WithLevel(LogLevel&& value) { SetLevel(std::move(value)); return *this;}
54
56
60 inline bool GetIncludeExecutionData() const{ return m_includeExecutionData; }
61 inline bool IncludeExecutionDataHasBeenSet() const { return m_includeExecutionDataHasBeenSet; }
62 inline void SetIncludeExecutionData(bool value) { m_includeExecutionDataHasBeenSet = true; m_includeExecutionData = value; }
63 inline LoggingConfiguration& WithIncludeExecutionData(bool value) { SetIncludeExecutionData(value); return *this;}
65
67
72 inline const Aws::Vector<LogDestination>& GetDestinations() const{ return m_destinations; }
73 inline bool DestinationsHasBeenSet() const { return m_destinationsHasBeenSet; }
74 inline void SetDestinations(const Aws::Vector<LogDestination>& value) { m_destinationsHasBeenSet = true; m_destinations = value; }
75 inline void SetDestinations(Aws::Vector<LogDestination>&& value) { m_destinationsHasBeenSet = true; m_destinations = std::move(value); }
77 inline LoggingConfiguration& WithDestinations(Aws::Vector<LogDestination>&& value) { SetDestinations(std::move(value)); return *this;}
78 inline LoggingConfiguration& AddDestinations(const LogDestination& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(value); return *this; }
79 inline LoggingConfiguration& AddDestinations(LogDestination&& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(std::move(value)); return *this; }
81 private:
82
83 LogLevel m_level;
84 bool m_levelHasBeenSet = false;
85
86 bool m_includeExecutionData;
87 bool m_includeExecutionDataHasBeenSet = false;
88
89 Aws::Vector<LogDestination> m_destinations;
90 bool m_destinationsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SFN
95} // namespace Aws
LoggingConfiguration & AddDestinations(LogDestination &&value)
LoggingConfiguration & WithIncludeExecutionData(bool value)
AWS_SFN_API LoggingConfiguration(Aws::Utils::Json::JsonView jsonValue)
LoggingConfiguration & WithLevel(const LogLevel &value)
LoggingConfiguration & AddDestinations(const LogDestination &value)
void SetDestinations(const Aws::Vector< LogDestination > &value)
const Aws::Vector< LogDestination > & GetDestinations() const
LoggingConfiguration & WithDestinations(const Aws::Vector< LogDestination > &value)
LoggingConfiguration & WithLevel(LogLevel &&value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SFN_API LoggingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDestinations(Aws::Vector< LogDestination > &&value)
LoggingConfiguration & WithDestinations(Aws::Vector< LogDestination > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue