AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
OutputConfig.h
1
6#pragma once
7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/bedrock-agentcore/model/CloudWatchOutputConfig.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockAgentCore {
20namespace Model {
21
28 public:
29 AWS_BEDROCKAGENTCORE_API OutputConfig() = default;
30 AWS_BEDROCKAGENTCORE_API OutputConfig(Aws::Utils::Json::JsonView jsonValue);
31 AWS_BEDROCKAGENTCORE_API OutputConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const CloudWatchOutputConfig& GetCloudWatchConfig() const { return m_cloudWatchConfig; }
39 inline bool CloudWatchConfigHasBeenSet() const { return m_cloudWatchConfigHasBeenSet; }
40 template <typename CloudWatchConfigT = CloudWatchOutputConfig>
41 void SetCloudWatchConfig(CloudWatchConfigT&& value) {
42 m_cloudWatchConfigHasBeenSet = true;
43 m_cloudWatchConfig = std::forward<CloudWatchConfigT>(value);
44 }
45 template <typename CloudWatchConfigT = CloudWatchOutputConfig>
46 OutputConfig& WithCloudWatchConfig(CloudWatchConfigT&& value) {
47 SetCloudWatchConfig(std::forward<CloudWatchConfigT>(value));
48 return *this;
49 }
51 private:
52 CloudWatchOutputConfig m_cloudWatchConfig;
53 bool m_cloudWatchConfigHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace BedrockAgentCore
58} // namespace Aws
AWS_BEDROCKAGENTCORE_API OutputConfig()=default
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTCORE_API OutputConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const CloudWatchOutputConfig & GetCloudWatchConfig() const
void SetCloudWatchConfig(CloudWatchConfigT &&value)
AWS_BEDROCKAGENTCORE_API OutputConfig(Aws::Utils::Json::JsonView jsonValue)
OutputConfig & WithCloudWatchConfig(CloudWatchConfigT &&value)
Aws::Utils::Json::JsonValue JsonValue