AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
S3MonitoringConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticmapreduce/EMR_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EMR {
20namespace Model {
21
32 public:
33 AWS_EMR_API S3MonitoringConfiguration() = default;
37
39
42 inline const Aws::String& GetLogUri() const { return m_logUri; }
43 inline bool LogUriHasBeenSet() const { return m_logUriHasBeenSet; }
44 template <typename LogUriT = Aws::String>
45 void SetLogUri(LogUriT&& value) {
46 m_logUriHasBeenSet = true;
47 m_logUri = std::forward<LogUriT>(value);
48 }
49 template <typename LogUriT = Aws::String>
51 SetLogUri(std::forward<LogUriT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetEncryptionKeyArn() const { return m_encryptionKeyArn; }
62 inline bool EncryptionKeyArnHasBeenSet() const { return m_encryptionKeyArnHasBeenSet; }
63 template <typename EncryptionKeyArnT = Aws::String>
64 void SetEncryptionKeyArn(EncryptionKeyArnT&& value) {
65 m_encryptionKeyArnHasBeenSet = true;
66 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
67 }
68 template <typename EncryptionKeyArnT = Aws::String>
69 S3MonitoringConfiguration& WithEncryptionKeyArn(EncryptionKeyArnT&& value) {
70 SetEncryptionKeyArn(std::forward<EncryptionKeyArnT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_logUri;
76
77 Aws::String m_encryptionKeyArn;
78 bool m_logUriHasBeenSet = false;
79 bool m_encryptionKeyArnHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace EMR
84} // namespace Aws
void SetEncryptionKeyArn(EncryptionKeyArnT &&value)
AWS_EMR_API S3MonitoringConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
S3MonitoringConfiguration & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
AWS_EMR_API S3MonitoringConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMR_API S3MonitoringConfiguration()=default
S3MonitoringConfiguration & WithLogUri(LogUriT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue