AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
62 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
63 inline RealtimeEndpointInfo& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
64 inline RealtimeEndpointInfo& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
66
68
73 inline const Aws::String& GetEndpointUrl() const{ return m_endpointUrl; }
74 inline bool EndpointUrlHasBeenSet() const { return m_endpointUrlHasBeenSet; }
75 inline void SetEndpointUrl(const Aws::String& value) { m_endpointUrlHasBeenSet = true; m_endpointUrl = value; }
76 inline void SetEndpointUrl(Aws::String&& value) { m_endpointUrlHasBeenSet = true; m_endpointUrl = std::move(value); }
77 inline void SetEndpointUrl(const char* value) { m_endpointUrlHasBeenSet = true; m_endpointUrl.assign(value); }
78 inline RealtimeEndpointInfo& WithEndpointUrl(const Aws::String& value) { SetEndpointUrl(value); return *this;}
79 inline RealtimeEndpointInfo& WithEndpointUrl(Aws::String&& value) { SetEndpointUrl(std::move(value)); return *this;}
80 inline RealtimeEndpointInfo& WithEndpointUrl(const char* value) { SetEndpointUrl(value); return *this;}
82
84
92 inline const RealtimeEndpointStatus& GetEndpointStatus() const{ return m_endpointStatus; }
93 inline bool EndpointStatusHasBeenSet() const { return m_endpointStatusHasBeenSet; }
94 inline void SetEndpointStatus(const RealtimeEndpointStatus& value) { m_endpointStatusHasBeenSet = true; m_endpointStatus = value; }
95 inline void SetEndpointStatus(RealtimeEndpointStatus&& value) { m_endpointStatusHasBeenSet = true; m_endpointStatus = std::move(value); }
97 inline RealtimeEndpointInfo& WithEndpointStatus(RealtimeEndpointStatus&& value) { SetEndpointStatus(std::move(value)); return *this;}
99 private:
100
101 int m_peakRequestsPerSecond;
102 bool m_peakRequestsPerSecondHasBeenSet = false;
103
104 Aws::Utils::DateTime m_createdAt;
105 bool m_createdAtHasBeenSet = false;
106
107 Aws::String m_endpointUrl;
108 bool m_endpointUrlHasBeenSet = false;
109
110 RealtimeEndpointStatus m_endpointStatus;
111 bool m_endpointStatusHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace MachineLearning
116} // namespace Aws
RealtimeEndpointInfo & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetEndpointStatus(RealtimeEndpointStatus &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetEndpointStatus(const RealtimeEndpointStatus &value)
RealtimeEndpointInfo & WithPeakRequestsPerSecond(int value)
RealtimeEndpointInfo & WithEndpointUrl(const char *value)
RealtimeEndpointInfo & WithEndpointStatus(RealtimeEndpointStatus &&value)
AWS_MACHINELEARNING_API RealtimeEndpointInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
RealtimeEndpointInfo & WithEndpointUrl(const Aws::String &value)
AWS_MACHINELEARNING_API RealtimeEndpointInfo(Aws::Utils::Json::JsonView jsonValue)
const RealtimeEndpointStatus & GetEndpointStatus() const
RealtimeEndpointInfo & WithEndpointStatus(const RealtimeEndpointStatus &value)
RealtimeEndpointInfo & WithEndpointUrl(Aws::String &&value)
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
RealtimeEndpointInfo & WithCreatedAt(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue