AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LogConfig.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/model/FieldLogLevel.h>
9#include <aws/core/utils/memory/stl/AWSString.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 AppSync
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_APPSYNC_API LogConfig();
36 AWS_APPSYNC_API LogConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPSYNC_API LogConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
54 inline const FieldLogLevel& GetFieldLogLevel() const{ return m_fieldLogLevel; }
55 inline bool FieldLogLevelHasBeenSet() const { return m_fieldLogLevelHasBeenSet; }
56 inline void SetFieldLogLevel(const FieldLogLevel& value) { m_fieldLogLevelHasBeenSet = true; m_fieldLogLevel = value; }
57 inline void SetFieldLogLevel(FieldLogLevel&& value) { m_fieldLogLevelHasBeenSet = true; m_fieldLogLevel = std::move(value); }
58 inline LogConfig& WithFieldLogLevel(const FieldLogLevel& value) { SetFieldLogLevel(value); return *this;}
59 inline LogConfig& WithFieldLogLevel(FieldLogLevel&& value) { SetFieldLogLevel(std::move(value)); return *this;}
61
63
67 inline const Aws::String& GetCloudWatchLogsRoleArn() const{ return m_cloudWatchLogsRoleArn; }
68 inline bool CloudWatchLogsRoleArnHasBeenSet() const { return m_cloudWatchLogsRoleArnHasBeenSet; }
69 inline void SetCloudWatchLogsRoleArn(const Aws::String& value) { m_cloudWatchLogsRoleArnHasBeenSet = true; m_cloudWatchLogsRoleArn = value; }
70 inline void SetCloudWatchLogsRoleArn(Aws::String&& value) { m_cloudWatchLogsRoleArnHasBeenSet = true; m_cloudWatchLogsRoleArn = std::move(value); }
71 inline void SetCloudWatchLogsRoleArn(const char* value) { m_cloudWatchLogsRoleArnHasBeenSet = true; m_cloudWatchLogsRoleArn.assign(value); }
72 inline LogConfig& WithCloudWatchLogsRoleArn(const Aws::String& value) { SetCloudWatchLogsRoleArn(value); return *this;}
73 inline LogConfig& WithCloudWatchLogsRoleArn(Aws::String&& value) { SetCloudWatchLogsRoleArn(std::move(value)); return *this;}
74 inline LogConfig& WithCloudWatchLogsRoleArn(const char* value) { SetCloudWatchLogsRoleArn(value); return *this;}
76
78
82 inline bool GetExcludeVerboseContent() const{ return m_excludeVerboseContent; }
83 inline bool ExcludeVerboseContentHasBeenSet() const { return m_excludeVerboseContentHasBeenSet; }
84 inline void SetExcludeVerboseContent(bool value) { m_excludeVerboseContentHasBeenSet = true; m_excludeVerboseContent = value; }
85 inline LogConfig& WithExcludeVerboseContent(bool value) { SetExcludeVerboseContent(value); return *this;}
87 private:
88
89 FieldLogLevel m_fieldLogLevel;
90 bool m_fieldLogLevelHasBeenSet = false;
91
92 Aws::String m_cloudWatchLogsRoleArn;
93 bool m_cloudWatchLogsRoleArnHasBeenSet = false;
94
95 bool m_excludeVerboseContent;
96 bool m_excludeVerboseContentHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace AppSync
101} // namespace Aws
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExcludeVerboseContent(bool value)
Definition LogConfig.h:84
void SetCloudWatchLogsRoleArn(Aws::String &&value)
Definition LogConfig.h:70
bool FieldLogLevelHasBeenSet() const
Definition LogConfig.h:55
LogConfig & WithFieldLogLevel(FieldLogLevel &&value)
Definition LogConfig.h:59
void SetCloudWatchLogsRoleArn(const char *value)
Definition LogConfig.h:71
bool GetExcludeVerboseContent() const
Definition LogConfig.h:82
LogConfig & WithExcludeVerboseContent(bool value)
Definition LogConfig.h:85
const Aws::String & GetCloudWatchLogsRoleArn() const
Definition LogConfig.h:67
LogConfig & WithCloudWatchLogsRoleArn(Aws::String &&value)
Definition LogConfig.h:73
LogConfig & WithFieldLogLevel(const FieldLogLevel &value)
Definition LogConfig.h:58
LogConfig & WithCloudWatchLogsRoleArn(const Aws::String &value)
Definition LogConfig.h:72
bool CloudWatchLogsRoleArnHasBeenSet() const
Definition LogConfig.h:68
bool ExcludeVerboseContentHasBeenSet() const
Definition LogConfig.h:83
AWS_APPSYNC_API LogConfig(Aws::Utils::Json::JsonView jsonValue)
LogConfig & WithCloudWatchLogsRoleArn(const char *value)
Definition LogConfig.h:74
void SetFieldLogLevel(FieldLogLevel &&value)
Definition LogConfig.h:57
void SetCloudWatchLogsRoleArn(const Aws::String &value)
Definition LogConfig.h:69
const FieldLogLevel & GetFieldLogLevel() const
Definition LogConfig.h:54
void SetFieldLogLevel(const FieldLogLevel &value)
Definition LogConfig.h:56
AWS_APPSYNC_API LogConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue