AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MonitoringOutputConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/MonitoringOutput.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SAGEMAKER_API MonitoringOutputConfig();
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<MonitoringOutput>& GetMonitoringOutputs() const{ return m_monitoringOutputs; }
48 inline bool MonitoringOutputsHasBeenSet() const { return m_monitoringOutputsHasBeenSet; }
49 inline void SetMonitoringOutputs(const Aws::Vector<MonitoringOutput>& value) { m_monitoringOutputsHasBeenSet = true; m_monitoringOutputs = value; }
50 inline void SetMonitoringOutputs(Aws::Vector<MonitoringOutput>&& value) { m_monitoringOutputsHasBeenSet = true; m_monitoringOutputs = std::move(value); }
53 inline MonitoringOutputConfig& AddMonitoringOutputs(const MonitoringOutput& value) { m_monitoringOutputsHasBeenSet = true; m_monitoringOutputs.push_back(value); return *this; }
54 inline MonitoringOutputConfig& AddMonitoringOutputs(MonitoringOutput&& value) { m_monitoringOutputsHasBeenSet = true; m_monitoringOutputs.push_back(std::move(value)); return *this; }
56
58
62 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
63 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
64 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
65 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
66 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
67 inline MonitoringOutputConfig& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
68 inline MonitoringOutputConfig& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
69 inline MonitoringOutputConfig& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
71 private:
72
73 Aws::Vector<MonitoringOutput> m_monitoringOutputs;
74 bool m_monitoringOutputsHasBeenSet = false;
75
76 Aws::String m_kmsKeyId;
77 bool m_kmsKeyIdHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace SageMaker
82} // namespace Aws
void SetMonitoringOutputs(Aws::Vector< MonitoringOutput > &&value)
const Aws::Vector< MonitoringOutput > & GetMonitoringOutputs() const
MonitoringOutputConfig & WithKmsKeyId(const char *value)
MonitoringOutputConfig & AddMonitoringOutputs(MonitoringOutput &&value)
MonitoringOutputConfig & WithMonitoringOutputs(Aws::Vector< MonitoringOutput > &&value)
MonitoringOutputConfig & WithKmsKeyId(Aws::String &&value)
AWS_SAGEMAKER_API MonitoringOutputConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
MonitoringOutputConfig & WithMonitoringOutputs(const Aws::Vector< MonitoringOutput > &value)
MonitoringOutputConfig & WithKmsKeyId(const Aws::String &value)
void SetMonitoringOutputs(const Aws::Vector< MonitoringOutput > &value)
AWS_SAGEMAKER_API MonitoringOutputConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
MonitoringOutputConfig & AddMonitoringOutputs(const MonitoringOutput &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue