AWS SDK for C++

AWS SDK for C++ Version 1.11.835

Loading...
Searching...
No Matches
MetricsEndpoint.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
30 public:
31 AWS_SAGEMAKER_API MetricsEndpoint() = default;
32 AWS_SAGEMAKER_API MetricsEndpoint(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
44 inline const Aws::String& GetMetricsEndpointPath() const { return m_metricsEndpointPath; }
45 inline bool MetricsEndpointPathHasBeenSet() const { return m_metricsEndpointPathHasBeenSet; }
46 template <typename MetricsEndpointPathT = Aws::String>
47 void SetMetricsEndpointPath(MetricsEndpointPathT&& value) {
48 m_metricsEndpointPathHasBeenSet = true;
49 m_metricsEndpointPath = std::forward<MetricsEndpointPathT>(value);
50 }
51 template <typename MetricsEndpointPathT = Aws::String>
52 MetricsEndpoint& WithMetricsEndpointPath(MetricsEndpointPathT&& value) {
53 SetMetricsEndpointPath(std::forward<MetricsEndpointPathT>(value));
54 return *this;
55 }
57
59
65 inline int GetMetricPublishFrequencyInSeconds() const { return m_metricPublishFrequencyInSeconds; }
66 inline bool MetricPublishFrequencyInSecondsHasBeenSet() const { return m_metricPublishFrequencyInSecondsHasBeenSet; }
67 inline void SetMetricPublishFrequencyInSeconds(int value) {
68 m_metricPublishFrequencyInSecondsHasBeenSet = true;
69 m_metricPublishFrequencyInSeconds = value;
70 }
73 return *this;
74 }
76 private:
77 Aws::String m_metricsEndpointPath;
78
79 int m_metricPublishFrequencyInSeconds{0};
80 bool m_metricsEndpointPathHasBeenSet = false;
81 bool m_metricPublishFrequencyInSecondsHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace SageMaker
86} // namespace Aws
AWS_SAGEMAKER_API MetricsEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API MetricsEndpoint(Aws::Utils::Json::JsonView jsonValue)
MetricsEndpoint & WithMetricPublishFrequencyInSeconds(int value)
MetricsEndpoint & WithMetricsEndpointPath(MetricsEndpointPathT &&value)
void SetMetricsEndpointPath(MetricsEndpointPathT &&value)
AWS_SAGEMAKER_API MetricsEndpoint()=default
const Aws::String & GetMetricsEndpointPath() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue