AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LogPublishingOptions.h
1
6#pragma once
7#include <aws/osis/OSIS_EXPORTS.h>
8#include <aws/osis/model/CloudWatchLogDestination.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace OSIS
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_OSIS_API LogPublishingOptions();
40
41
43
46 inline bool GetIsLoggingEnabled() const{ return m_isLoggingEnabled; }
47 inline bool IsLoggingEnabledHasBeenSet() const { return m_isLoggingEnabledHasBeenSet; }
48 inline void SetIsLoggingEnabled(bool value) { m_isLoggingEnabledHasBeenSet = true; m_isLoggingEnabled = value; }
49 inline LogPublishingOptions& WithIsLoggingEnabled(bool value) { SetIsLoggingEnabled(value); return *this;}
51
53
58 inline const CloudWatchLogDestination& GetCloudWatchLogDestination() const{ return m_cloudWatchLogDestination; }
59 inline bool CloudWatchLogDestinationHasBeenSet() const { return m_cloudWatchLogDestinationHasBeenSet; }
60 inline void SetCloudWatchLogDestination(const CloudWatchLogDestination& value) { m_cloudWatchLogDestinationHasBeenSet = true; m_cloudWatchLogDestination = value; }
61 inline void SetCloudWatchLogDestination(CloudWatchLogDestination&& value) { m_cloudWatchLogDestinationHasBeenSet = true; m_cloudWatchLogDestination = std::move(value); }
65 private:
66
67 bool m_isLoggingEnabled;
68 bool m_isLoggingEnabledHasBeenSet = false;
69
70 CloudWatchLogDestination m_cloudWatchLogDestination;
71 bool m_cloudWatchLogDestinationHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace OSIS
76} // namespace Aws
LogPublishingOptions & WithIsLoggingEnabled(bool value)
void SetCloudWatchLogDestination(const CloudWatchLogDestination &value)
LogPublishingOptions & WithCloudWatchLogDestination(const CloudWatchLogDestination &value)
LogPublishingOptions & WithCloudWatchLogDestination(CloudWatchLogDestination &&value)
AWS_OSIS_API LogPublishingOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCloudWatchLogDestination(CloudWatchLogDestination &&value)
AWS_OSIS_API LogPublishingOptions(Aws::Utils::Json::JsonView jsonValue)
const CloudWatchLogDestination & GetCloudWatchLogDestination() const
AWS_OSIS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue