AWS SDK for C++  1.9.160
AWS SDK for C++
MonitoringOutputConfig.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SageMaker
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
46  inline const Aws::Vector<MonitoringOutput>& GetMonitoringOutputs() const{ return m_monitoringOutputs; }
47 
52  inline bool MonitoringOutputsHasBeenSet() const { return m_monitoringOutputsHasBeenSet; }
53 
58  inline void SetMonitoringOutputs(const Aws::Vector<MonitoringOutput>& value) { m_monitoringOutputsHasBeenSet = true; m_monitoringOutputs = value; }
59 
64  inline void SetMonitoringOutputs(Aws::Vector<MonitoringOutput>&& value) { m_monitoringOutputsHasBeenSet = true; m_monitoringOutputs = std::move(value); }
65 
70  inline MonitoringOutputConfig& WithMonitoringOutputs(const Aws::Vector<MonitoringOutput>& value) { SetMonitoringOutputs(value); return *this;}
71 
76  inline MonitoringOutputConfig& WithMonitoringOutputs(Aws::Vector<MonitoringOutput>&& value) { SetMonitoringOutputs(std::move(value)); return *this;}
77 
82  inline MonitoringOutputConfig& AddMonitoringOutputs(const MonitoringOutput& value) { m_monitoringOutputsHasBeenSet = true; m_monitoringOutputs.push_back(value); return *this; }
83 
88  inline MonitoringOutputConfig& AddMonitoringOutputs(MonitoringOutput&& value) { m_monitoringOutputsHasBeenSet = true; m_monitoringOutputs.push_back(std::move(value)); return *this; }
89 
90 
96  inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
97 
103  inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
104 
110  inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
111 
117  inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
118 
124  inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
125 
131  inline MonitoringOutputConfig& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
132 
138  inline MonitoringOutputConfig& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
139 
145  inline MonitoringOutputConfig& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
146 
147  private:
148 
149  Aws::Vector<MonitoringOutput> m_monitoringOutputs;
150  bool m_monitoringOutputsHasBeenSet;
151 
152  Aws::String m_kmsKeyId;
153  bool m_kmsKeyIdHasBeenSet;
154  };
155 
156 } // namespace Model
157 } // namespace SageMaker
158 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::MonitoringOutputConfig::WithMonitoringOutputs
MonitoringOutputConfig & WithMonitoringOutputs(Aws::Vector< MonitoringOutput > &&value)
Definition: MonitoringOutputConfig.h:76
Aws::SageMaker::Model::MonitoringOutputConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
SageMaker_EXPORTS.h
Aws::SageMaker::Model::MonitoringOutputConfig::SetMonitoringOutputs
void SetMonitoringOutputs(Aws::Vector< MonitoringOutput > &&value)
Definition: MonitoringOutputConfig.h:64
Aws::SageMaker::Model::MonitoringOutputConfig::MonitoringOutputConfig
MonitoringOutputConfig()
Aws::SageMaker::Model::MonitoringOutput
Definition: MonitoringOutput.h:32
Aws::SageMaker::Model::MonitoringOutputConfig::MonitoringOutputConfig
MonitoringOutputConfig(Aws::Utils::Json::JsonView jsonValue)
MonitoringOutput.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::MonitoringOutputConfig::MonitoringOutputsHasBeenSet
bool MonitoringOutputsHasBeenSet() const
Definition: MonitoringOutputConfig.h:52
Aws::SageMaker::Model::MonitoringOutputConfig::GetMonitoringOutputs
const Aws::Vector< MonitoringOutput > & GetMonitoringOutputs() const
Definition: MonitoringOutputConfig.h:46
AWSVector.h
Aws::SageMaker::Model::MonitoringOutputConfig::GetKmsKeyId
const Aws::String & GetKmsKeyId() const
Definition: MonitoringOutputConfig.h:96
Aws::SageMaker::Model::MonitoringOutputConfig::WithKmsKeyId
MonitoringOutputConfig & WithKmsKeyId(Aws::String &&value)
Definition: MonitoringOutputConfig.h:138
Aws::SageMaker::Model::MonitoringOutputConfig::AddMonitoringOutputs
MonitoringOutputConfig & AddMonitoringOutputs(MonitoringOutput &&value)
Definition: MonitoringOutputConfig.h:88
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::MonitoringOutputConfig::WithKmsKeyId
MonitoringOutputConfig & WithKmsKeyId(const char *value)
Definition: MonitoringOutputConfig.h:145
Aws::SageMaker::Model::MonitoringOutputConfig::SetMonitoringOutputs
void SetMonitoringOutputs(const Aws::Vector< MonitoringOutput > &value)
Definition: MonitoringOutputConfig.h:58
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SageMaker::Model::MonitoringOutputConfig::AddMonitoringOutputs
MonitoringOutputConfig & AddMonitoringOutputs(const MonitoringOutput &value)
Definition: MonitoringOutputConfig.h:82
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::MonitoringOutputConfig::SetKmsKeyId
void SetKmsKeyId(const char *value)
Definition: MonitoringOutputConfig.h:124
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::MonitoringOutputConfig
Definition: MonitoringOutputConfig.h:34
Aws::SageMaker::Model::MonitoringOutputConfig::operator=
MonitoringOutputConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::MonitoringOutputConfig::SetKmsKeyId
void SetKmsKeyId(Aws::String &&value)
Definition: MonitoringOutputConfig.h:117
Aws::SageMaker::Model::MonitoringOutputConfig::WithKmsKeyId
MonitoringOutputConfig & WithKmsKeyId(const Aws::String &value)
Definition: MonitoringOutputConfig.h:131
Aws::SageMaker::Model::MonitoringOutputConfig::WithMonitoringOutputs
MonitoringOutputConfig & WithMonitoringOutputs(const Aws::Vector< MonitoringOutput > &value)
Definition: MonitoringOutputConfig.h:70
Aws::SageMaker::Model::MonitoringOutputConfig::KmsKeyIdHasBeenSet
bool KmsKeyIdHasBeenSet() const
Definition: MonitoringOutputConfig.h:103
Aws::SageMaker::Model::MonitoringOutputConfig::SetKmsKeyId
void SetKmsKeyId(const Aws::String &value)
Definition: MonitoringOutputConfig.h:110