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/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 Transfer
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_TRANSFER_API LoggingConfiguration();
38 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline const Aws::String& GetLoggingRole() const{ return m_loggingRole; }
49 inline bool LoggingRoleHasBeenSet() const { return m_loggingRoleHasBeenSet; }
50 inline void SetLoggingRole(const Aws::String& value) { m_loggingRoleHasBeenSet = true; m_loggingRole = value; }
51 inline void SetLoggingRole(Aws::String&& value) { m_loggingRoleHasBeenSet = true; m_loggingRole = std::move(value); }
52 inline void SetLoggingRole(const char* value) { m_loggingRoleHasBeenSet = true; m_loggingRole.assign(value); }
53 inline LoggingConfiguration& WithLoggingRole(const Aws::String& value) { SetLoggingRole(value); return *this;}
54 inline LoggingConfiguration& WithLoggingRole(Aws::String&& value) { SetLoggingRole(std::move(value)); return *this;}
55 inline LoggingConfiguration& WithLoggingRole(const char* value) { SetLoggingRole(value); return *this;}
57
59
63 inline const Aws::String& GetLogGroupName() const{ return m_logGroupName; }
64 inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; }
65 inline void SetLogGroupName(const Aws::String& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = value; }
66 inline void SetLogGroupName(Aws::String&& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = std::move(value); }
67 inline void SetLogGroupName(const char* value) { m_logGroupNameHasBeenSet = true; m_logGroupName.assign(value); }
68 inline LoggingConfiguration& WithLogGroupName(const Aws::String& value) { SetLogGroupName(value); return *this;}
69 inline LoggingConfiguration& WithLogGroupName(Aws::String&& value) { SetLogGroupName(std::move(value)); return *this;}
70 inline LoggingConfiguration& WithLogGroupName(const char* value) { SetLogGroupName(value); return *this;}
72 private:
73
74 Aws::String m_loggingRole;
75 bool m_loggingRoleHasBeenSet = false;
76
77 Aws::String m_logGroupName;
78 bool m_logGroupNameHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Transfer
83} // namespace Aws
void SetLogGroupName(const Aws::String &value)
AWS_TRANSFER_API LoggingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
LoggingConfiguration & WithLogGroupName(const char *value)
LoggingConfiguration & WithLoggingRole(Aws::String &&value)
LoggingConfiguration & WithLoggingRole(const char *value)
AWS_TRANSFER_API LoggingConfiguration(Aws::Utils::Json::JsonView jsonValue)
LoggingConfiguration & WithLogGroupName(const Aws::String &value)
LoggingConfiguration & WithLogGroupName(Aws::String &&value)
void SetLoggingRole(const Aws::String &value)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
LoggingConfiguration & WithLoggingRole(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue