AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
S3MonitoringConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/emr-serverless/EMRServerless_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EMRServerless {
20namespace Model {
21
29 public:
30 AWS_EMRSERVERLESS_API S3MonitoringConfiguration() = default;
31 AWS_EMRSERVERLESS_API S3MonitoringConfiguration(Aws::Utils::Json::JsonView jsonValue);
33 AWS_EMRSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetLogUri() const { return m_logUri; }
40 inline bool LogUriHasBeenSet() const { return m_logUriHasBeenSet; }
41 template <typename LogUriT = Aws::String>
42 void SetLogUri(LogUriT&& value) {
43 m_logUriHasBeenSet = true;
44 m_logUri = std::forward<LogUriT>(value);
45 }
46 template <typename LogUriT = Aws::String>
48 SetLogUri(std::forward<LogUriT>(value));
49 return *this;
50 }
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) {
62 m_encryptionKeyArnHasBeenSet = true;
63 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
64 }
65 template <typename EncryptionKeyArnT = Aws::String>
66 S3MonitoringConfiguration& WithEncryptionKeyArn(EncryptionKeyArnT&& value) {
67 SetEncryptionKeyArn(std::forward<EncryptionKeyArnT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_logUri;
73
74 Aws::String m_encryptionKeyArn;
75 bool m_logUriHasBeenSet = false;
76 bool m_encryptionKeyArnHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace EMRServerless
81} // 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