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/simspaceweaver/SimSpaceWeaver_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/simspaceweaver/model/LogDestination.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SimSpaceWeaver
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SIMSPACEWEAVER_API LoggingConfiguration();
36 AWS_SIMSPACEWEAVER_API LoggingConfiguration(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SIMSPACEWEAVER_API LoggingConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<LogDestination>& GetDestinations() const{ return m_destinations; }
46 inline bool DestinationsHasBeenSet() const { return m_destinationsHasBeenSet; }
47 inline void SetDestinations(const Aws::Vector<LogDestination>& value) { m_destinationsHasBeenSet = true; m_destinations = value; }
48 inline void SetDestinations(Aws::Vector<LogDestination>&& value) { m_destinationsHasBeenSet = true; m_destinations = std::move(value); }
50 inline LoggingConfiguration& WithDestinations(Aws::Vector<LogDestination>&& value) { SetDestinations(std::move(value)); return *this;}
51 inline LoggingConfiguration& AddDestinations(const LogDestination& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(value); return *this; }
52 inline LoggingConfiguration& AddDestinations(LogDestination&& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(std::move(value)); return *this; }
54 private:
55
56 Aws::Vector<LogDestination> m_destinations;
57 bool m_destinationsHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace SimSpaceWeaver
62} // namespace Aws
LoggingConfiguration & WithDestinations(const Aws::Vector< LogDestination > &value)
LoggingConfiguration & AddDestinations(LogDestination &&value)
AWS_SIMSPACEWEAVER_API LoggingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SIMSPACEWEAVER_API LoggingConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetDestinations(Aws::Vector< LogDestination > &&value)
LoggingConfiguration & AddDestinations(const LogDestination &value)
const Aws::Vector< LogDestination > & GetDestinations() const
void SetDestinations(const Aws::Vector< LogDestination > &value)
AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const
LoggingConfiguration & WithDestinations(Aws::Vector< LogDestination > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue