AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
CloudWatchLogsConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/xray/XRay_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace XRay {
20namespace Model {
21
29 public:
30 AWS_XRAY_API CloudWatchLogsConfiguration() = default;
34
36
52 inline const Aws::String& GetSpansLogGroupKmsKeyId() const { return m_spansLogGroupKmsKeyId; }
53 inline bool SpansLogGroupKmsKeyIdHasBeenSet() const { return m_spansLogGroupKmsKeyIdHasBeenSet; }
54 template <typename SpansLogGroupKmsKeyIdT = Aws::String>
55 void SetSpansLogGroupKmsKeyId(SpansLogGroupKmsKeyIdT&& value) {
56 m_spansLogGroupKmsKeyIdHasBeenSet = true;
57 m_spansLogGroupKmsKeyId = std::forward<SpansLogGroupKmsKeyIdT>(value);
58 }
59 template <typename SpansLogGroupKmsKeyIdT = Aws::String>
60 CloudWatchLogsConfiguration& WithSpansLogGroupKmsKeyId(SpansLogGroupKmsKeyIdT&& value) {
61 SetSpansLogGroupKmsKeyId(std::forward<SpansLogGroupKmsKeyIdT>(value));
62 return *this;
63 }
65 private:
66 Aws::String m_spansLogGroupKmsKeyId;
67 bool m_spansLogGroupKmsKeyIdHasBeenSet = false;
68};
69
70} // namespace Model
71} // namespace XRay
72} // namespace Aws
AWS_XRAY_API CloudWatchLogsConfiguration()=default
CloudWatchLogsConfiguration & WithSpansLogGroupKmsKeyId(SpansLogGroupKmsKeyIdT &&value)
AWS_XRAY_API CloudWatchLogsConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_XRAY_API CloudWatchLogsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSpansLogGroupKmsKeyId(SpansLogGroupKmsKeyIdT &&value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue