Download include/aws/logs/model/AddKeys.h from Shenghong/dai_env: direct link, hf CLI and curl.
- Browser
- Download file 2.48 kB
-
https://huggingface.co/Shenghong/dai_env/resolve/main/include/aws/logs/model/AddKeys.h
- Command line
-
hf download hf://Shenghong/dai_env/include/aws/logs/model/AddKeys.h
-
curl -L -o AddKeys.h https://huggingface.co/Shenghong/dai_env/resolve/main/include/aws/logs/model/AddKeys.h
2.48 kB
| /** | |
| * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
| * SPDX-License-Identifier: Apache-2.0. | |
| */ | |
| namespace Aws | |
| { | |
| namespace Utils | |
| { | |
| namespace Json | |
| { | |
| class JsonValue; | |
| class JsonView; | |
| } // namespace Json | |
| } // namespace Utils | |
| namespace CloudWatchLogs | |
| { | |
| namespace Model | |
| { | |
| /** | |
| * <p>This processor adds new key-value pairs to the log event. </p> <p>For more | |
| * information about this processor including examples, see <a | |
| * href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation.html#CloudWatch-Logs-Transformation-addKeys"> | |
| * addKeys</a> in the <i>CloudWatch Logs User Guide</i>.</p><p><h3>See Also:</h3> | |
| * <a href="http://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/AddKeys">AWS API | |
| * Reference</a></p> | |
| */ | |
| class AddKeys | |
| { | |
| public: | |
| AWS_CLOUDWATCHLOGS_API AddKeys(); | |
| AWS_CLOUDWATCHLOGS_API AddKeys(Aws::Utils::Json::JsonView jsonValue); | |
| AWS_CLOUDWATCHLOGS_API AddKeys& operator=(Aws::Utils::Json::JsonView jsonValue); | |
| AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const; | |
| ///@{ | |
| /** | |
| * <p>An array of objects, where each object contains the information about one key | |
| * to add to the log event. </p> | |
| */ | |
| inline const Aws::Vector<AddKeyEntry>& GetEntries() const{ return m_entries; } | |
| inline bool EntriesHasBeenSet() const { return m_entriesHasBeenSet; } | |
| inline void SetEntries(const Aws::Vector<AddKeyEntry>& value) { m_entriesHasBeenSet = true; m_entries = value; } | |
| inline void SetEntries(Aws::Vector<AddKeyEntry>&& value) { m_entriesHasBeenSet = true; m_entries = std::move(value); } | |
| inline AddKeys& WithEntries(const Aws::Vector<AddKeyEntry>& value) { SetEntries(value); return *this;} | |
| inline AddKeys& WithEntries(Aws::Vector<AddKeyEntry>&& value) { SetEntries(std::move(value)); return *this;} | |
| inline AddKeys& AddEntries(const AddKeyEntry& value) { m_entriesHasBeenSet = true; m_entries.push_back(value); return *this; } | |
| inline AddKeys& AddEntries(AddKeyEntry&& value) { m_entriesHasBeenSet = true; m_entries.push_back(std::move(value)); return *this; } | |
| ///@} | |
| private: | |
| Aws::Vector<AddKeyEntry> m_entries; | |
| bool m_entriesHasBeenSet = false; | |
| }; | |
| } // namespace Model | |
| } // namespace CloudWatchLogs | |
| } // namespace Aws | |