AWS SDK for C++  1.9.103
AWS SDK for C++
RealtimeEndpointInfo.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 MachineLearning
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
47  inline int GetPeakRequestsPerSecond() const{ return m_peakRequestsPerSecond; }
48 
53  inline bool PeakRequestsPerSecondHasBeenSet() const { return m_peakRequestsPerSecondHasBeenSet; }
54 
59  inline void SetPeakRequestsPerSecond(int value) { m_peakRequestsPerSecondHasBeenSet = true; m_peakRequestsPerSecond = value; }
60 
65  inline RealtimeEndpointInfo& WithPeakRequestsPerSecond(int value) { SetPeakRequestsPerSecond(value); return *this;}
66 
67 
72  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
73 
78  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
79 
84  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
85 
90  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
91 
96  inline RealtimeEndpointInfo& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
97 
102  inline RealtimeEndpointInfo& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
103 
104 
110  inline const Aws::String& GetEndpointUrl() const{ return m_endpointUrl; }
111 
117  inline bool EndpointUrlHasBeenSet() const { return m_endpointUrlHasBeenSet; }
118 
124  inline void SetEndpointUrl(const Aws::String& value) { m_endpointUrlHasBeenSet = true; m_endpointUrl = value; }
125 
131  inline void SetEndpointUrl(Aws::String&& value) { m_endpointUrlHasBeenSet = true; m_endpointUrl = std::move(value); }
132 
138  inline void SetEndpointUrl(const char* value) { m_endpointUrlHasBeenSet = true; m_endpointUrl.assign(value); }
139 
145  inline RealtimeEndpointInfo& WithEndpointUrl(const Aws::String& value) { SetEndpointUrl(value); return *this;}
146 
152  inline RealtimeEndpointInfo& WithEndpointUrl(Aws::String&& value) { SetEndpointUrl(std::move(value)); return *this;}
153 
159  inline RealtimeEndpointInfo& WithEndpointUrl(const char* value) { SetEndpointUrl(value); return *this;}
160 
161 
170  inline const RealtimeEndpointStatus& GetEndpointStatus() const{ return m_endpointStatus; }
171 
180  inline bool EndpointStatusHasBeenSet() const { return m_endpointStatusHasBeenSet; }
181 
190  inline void SetEndpointStatus(const RealtimeEndpointStatus& value) { m_endpointStatusHasBeenSet = true; m_endpointStatus = value; }
191 
200  inline void SetEndpointStatus(RealtimeEndpointStatus&& value) { m_endpointStatusHasBeenSet = true; m_endpointStatus = std::move(value); }
201 
210  inline RealtimeEndpointInfo& WithEndpointStatus(const RealtimeEndpointStatus& value) { SetEndpointStatus(value); return *this;}
211 
220  inline RealtimeEndpointInfo& WithEndpointStatus(RealtimeEndpointStatus&& value) { SetEndpointStatus(std::move(value)); return *this;}
221 
222  private:
223 
224  int m_peakRequestsPerSecond;
225  bool m_peakRequestsPerSecondHasBeenSet;
226 
227  Aws::Utils::DateTime m_createdAt;
228  bool m_createdAtHasBeenSet;
229 
230  Aws::String m_endpointUrl;
231  bool m_endpointUrlHasBeenSet;
232 
233  RealtimeEndpointStatus m_endpointStatus;
234  bool m_endpointStatusHasBeenSet;
235  };
236 
237 } // namespace Model
238 } // namespace MachineLearning
239 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::MachineLearning::Model::RealtimeEndpointInfo::SetEndpointUrl
void SetEndpointUrl(Aws::String &&value)
Definition: RealtimeEndpointInfo.h:131
RealtimeEndpointStatus.h
Aws::MachineLearning::Model::RealtimeEndpointInfo::EndpointStatusHasBeenSet
bool EndpointStatusHasBeenSet() const
Definition: RealtimeEndpointInfo.h:180
Aws::MachineLearning::Model::RealtimeEndpointInfo::RealtimeEndpointInfo
RealtimeEndpointInfo()
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::RealtimeEndpointInfo::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: RealtimeEndpointInfo.h:90
DateTime.h
Aws::MachineLearning::Model::RealtimeEndpointInfo::RealtimeEndpointInfo
RealtimeEndpointInfo(Aws::Utils::Json::JsonView jsonValue)
Aws::MachineLearning::Model::RealtimeEndpointInfo::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: RealtimeEndpointInfo.h:72
Aws::MachineLearning::Model::RealtimeEndpointInfo::WithEndpointUrl
RealtimeEndpointInfo & WithEndpointUrl(const char *value)
Definition: RealtimeEndpointInfo.h:159
Aws::MachineLearning::Model::RealtimeEndpointInfo::WithEndpointStatus
RealtimeEndpointInfo & WithEndpointStatus(const RealtimeEndpointStatus &value)
Definition: RealtimeEndpointInfo.h:210
Aws::MachineLearning::Model::RealtimeEndpointInfo::WithCreatedAt
RealtimeEndpointInfo & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: RealtimeEndpointInfo.h:102
Aws::MachineLearning::Model::RealtimeEndpointStatus
RealtimeEndpointStatus
Definition: RealtimeEndpointStatus.h:17
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
Aws::MachineLearning::Model::RealtimeEndpointInfo::SetEndpointUrl
void SetEndpointUrl(const Aws::String &value)
Definition: RealtimeEndpointInfo.h:124
Aws::MachineLearning::Model::RealtimeEndpointInfo::SetEndpointStatus
void SetEndpointStatus(const RealtimeEndpointStatus &value)
Definition: RealtimeEndpointInfo.h:190
Aws::MachineLearning::Model::RealtimeEndpointInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MachineLearning::Model::RealtimeEndpointInfo::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: RealtimeEndpointInfo.h:84
Aws::MachineLearning::Model::RealtimeEndpointInfo::SetEndpointStatus
void SetEndpointStatus(RealtimeEndpointStatus &&value)
Definition: RealtimeEndpointInfo.h:200
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MachineLearning::Model::RealtimeEndpointInfo::WithEndpointUrl
RealtimeEndpointInfo & WithEndpointUrl(Aws::String &&value)
Definition: RealtimeEndpointInfo.h:152
Aws::MachineLearning::Model::RealtimeEndpointInfo::PeakRequestsPerSecondHasBeenSet
bool PeakRequestsPerSecondHasBeenSet() const
Definition: RealtimeEndpointInfo.h:53
Aws::MachineLearning::Model::RealtimeEndpointInfo::WithPeakRequestsPerSecond
RealtimeEndpointInfo & WithPeakRequestsPerSecond(int value)
Definition: RealtimeEndpointInfo.h:65
Aws::MachineLearning::Model::RealtimeEndpointInfo::operator=
RealtimeEndpointInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MachineLearning::Model::RealtimeEndpointInfo::SetEndpointUrl
void SetEndpointUrl(const char *value)
Definition: RealtimeEndpointInfo.h:138
Aws::MachineLearning::Model::RealtimeEndpointInfo::WithEndpointUrl
RealtimeEndpointInfo & WithEndpointUrl(const Aws::String &value)
Definition: RealtimeEndpointInfo.h:145
Aws
Definition: AccessManagementClient.h:15
Aws::MachineLearning::Model::RealtimeEndpointInfo::SetPeakRequestsPerSecond
void SetPeakRequestsPerSecond(int value)
Definition: RealtimeEndpointInfo.h:59
Aws::MachineLearning::Model::RealtimeEndpointInfo::GetEndpointStatus
const RealtimeEndpointStatus & GetEndpointStatus() const
Definition: RealtimeEndpointInfo.h:170
Aws::MachineLearning::Model::RealtimeEndpointInfo::WithCreatedAt
RealtimeEndpointInfo & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: RealtimeEndpointInfo.h:96
Aws::MachineLearning::Model::RealtimeEndpointInfo::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: RealtimeEndpointInfo.h:78
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MachineLearning::Model::RealtimeEndpointInfo
Definition: RealtimeEndpointInfo.h:35
Aws::MachineLearning::Model::RealtimeEndpointInfo::EndpointUrlHasBeenSet
bool EndpointUrlHasBeenSet() const
Definition: RealtimeEndpointInfo.h:117
Aws::MachineLearning::Model::RealtimeEndpointInfo::GetEndpointUrl
const Aws::String & GetEndpointUrl() const
Definition: RealtimeEndpointInfo.h:110
Aws::MachineLearning::Model::RealtimeEndpointInfo::GetPeakRequestsPerSecond
int GetPeakRequestsPerSecond() const
Definition: RealtimeEndpointInfo.h:47
Aws::MachineLearning::Model::RealtimeEndpointInfo::WithEndpointStatus
RealtimeEndpointInfo & WithEndpointStatus(RealtimeEndpointStatus &&value)
Definition: RealtimeEndpointInfo.h:220