AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
RealtimeEndpointInfo.h
1
6#pragma once
7#include <aws/machinelearning/MachineLearning_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/machinelearning/model/RealtimeEndpointStatus.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 MachineLearning
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_MACHINELEARNING_API RealtimeEndpointInfo() = default;
38 AWS_MACHINELEARNING_API RealtimeEndpointInfo(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MACHINELEARNING_API RealtimeEndpointInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline int GetPeakRequestsPerSecond() const { return m_peakRequestsPerSecond; }
49 inline bool PeakRequestsPerSecondHasBeenSet() const { return m_peakRequestsPerSecondHasBeenSet; }
50 inline void SetPeakRequestsPerSecond(int value) { m_peakRequestsPerSecondHasBeenSet = true; m_peakRequestsPerSecond = value; }
53
55
59 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
60 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
61 template<typename CreatedAtT = Aws::Utils::DateTime>
62 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
63 template<typename CreatedAtT = Aws::Utils::DateTime>
64 RealtimeEndpointInfo& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
66
68
73 inline const Aws::String& GetEndpointUrl() const { return m_endpointUrl; }
74 inline bool EndpointUrlHasBeenSet() const { return m_endpointUrlHasBeenSet; }
75 template<typename EndpointUrlT = Aws::String>
76 void SetEndpointUrl(EndpointUrlT&& value) { m_endpointUrlHasBeenSet = true; m_endpointUrl = std::forward<EndpointUrlT>(value); }
77 template<typename EndpointUrlT = Aws::String>
78 RealtimeEndpointInfo& WithEndpointUrl(EndpointUrlT&& value) { SetEndpointUrl(std::forward<EndpointUrlT>(value)); return *this;}
80
82
90 inline RealtimeEndpointStatus GetEndpointStatus() const { return m_endpointStatus; }
91 inline bool EndpointStatusHasBeenSet() const { return m_endpointStatusHasBeenSet; }
92 inline void SetEndpointStatus(RealtimeEndpointStatus value) { m_endpointStatusHasBeenSet = true; m_endpointStatus = value; }
95 private:
96
97 int m_peakRequestsPerSecond{0};
98 bool m_peakRequestsPerSecondHasBeenSet = false;
99
100 Aws::Utils::DateTime m_createdAt{};
101 bool m_createdAtHasBeenSet = false;
102
103 Aws::String m_endpointUrl;
104 bool m_endpointUrlHasBeenSet = false;
105
107 bool m_endpointStatusHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace MachineLearning
112} // namespace Aws
RealtimeEndpointInfo & WithEndpointStatus(RealtimeEndpointStatus value)
const Aws::Utils::DateTime & GetCreatedAt() const
RealtimeEndpointInfo & WithEndpointUrl(EndpointUrlT &&value)
void SetEndpointStatus(RealtimeEndpointStatus value)
RealtimeEndpointInfo & WithPeakRequestsPerSecond(int value)
RealtimeEndpointInfo & WithCreatedAt(CreatedAtT &&value)
AWS_MACHINELEARNING_API RealtimeEndpointInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MACHINELEARNING_API RealtimeEndpointInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MACHINELEARNING_API RealtimeEndpointInfo()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue