AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
S3MonitoringConfiguration.h
1
6#pragma once
7#include <aws/emr-serverless/EMRServerless_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 EMRServerless
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_EMRSERVERLESS_API S3MonitoringConfiguration() = default;
36 AWS_EMRSERVERLESS_API S3MonitoringConfiguration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_EMRSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetLogUri() const { return m_logUri; }
46 inline bool LogUriHasBeenSet() const { return m_logUriHasBeenSet; }
47 template<typename LogUriT = Aws::String>
48 void SetLogUri(LogUriT&& value) { m_logUriHasBeenSet = true; m_logUri = std::forward<LogUriT>(value); }
49 template<typename LogUriT = Aws::String>
50 S3MonitoringConfiguration& WithLogUri(LogUriT&& value) { SetLogUri(std::forward<LogUriT>(value)); return *this;}
52
54
58 inline const Aws::String& GetEncryptionKeyArn() const { return m_encryptionKeyArn; }
59 inline bool EncryptionKeyArnHasBeenSet() const { return m_encryptionKeyArnHasBeenSet; }
60 template<typename EncryptionKeyArnT = Aws::String>
61 void SetEncryptionKeyArn(EncryptionKeyArnT&& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value); }
62 template<typename EncryptionKeyArnT = Aws::String>
63 S3MonitoringConfiguration& WithEncryptionKeyArn(EncryptionKeyArnT&& value) { SetEncryptionKeyArn(std::forward<EncryptionKeyArnT>(value)); return *this;}
65 private:
66
67 Aws::String m_logUri;
68 bool m_logUriHasBeenSet = false;
69
70 Aws::String m_encryptionKeyArn;
71 bool m_encryptionKeyArnHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace EMRServerless
76} // namespace Aws
S3MonitoringConfiguration & WithLogUri(LogUriT &&value)
AWS_EMRSERVERLESS_API S3MonitoringConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_EMRSERVERLESS_API S3MonitoringConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EMRSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
S3MonitoringConfiguration & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
AWS_EMRSERVERLESS_API S3MonitoringConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue