AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Primary.h
1
6#pragma once
7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace EventBridge
22{
23namespace Model
24{
25
31 class Primary
32 {
33 public:
34 AWS_EVENTBRIDGE_API Primary();
35 AWS_EVENTBRIDGE_API Primary(Aws::Utils::Json::JsonView jsonValue);
36 AWS_EVENTBRIDGE_API Primary& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const Aws::String& GetHealthCheck() const{ return m_healthCheck; }
46 inline bool HealthCheckHasBeenSet() const { return m_healthCheckHasBeenSet; }
47 inline void SetHealthCheck(const Aws::String& value) { m_healthCheckHasBeenSet = true; m_healthCheck = value; }
48 inline void SetHealthCheck(Aws::String&& value) { m_healthCheckHasBeenSet = true; m_healthCheck = std::move(value); }
49 inline void SetHealthCheck(const char* value) { m_healthCheckHasBeenSet = true; m_healthCheck.assign(value); }
50 inline Primary& WithHealthCheck(const Aws::String& value) { SetHealthCheck(value); return *this;}
51 inline Primary& WithHealthCheck(Aws::String&& value) { SetHealthCheck(std::move(value)); return *this;}
52 inline Primary& WithHealthCheck(const char* value) { SetHealthCheck(value); return *this;}
54 private:
55
56 Aws::String m_healthCheck;
57 bool m_healthCheckHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace EventBridge
62} // namespace Aws
const Aws::String & GetHealthCheck() const
Definition Primary.h:45
void SetHealthCheck(const char *value)
Definition Primary.h:49
void SetHealthCheck(const Aws::String &value)
Definition Primary.h:47
Primary & WithHealthCheck(const Aws::String &value)
Definition Primary.h:50
AWS_EVENTBRIDGE_API Primary(Aws::Utils::Json::JsonView jsonValue)
AWS_EVENTBRIDGE_API Primary()
AWS_EVENTBRIDGE_API Primary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool HealthCheckHasBeenSet() const
Definition Primary.h:46
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
Primary & WithHealthCheck(Aws::String &&value)
Definition Primary.h:51
Primary & WithHealthCheck(const char *value)
Definition Primary.h:52
void SetHealthCheck(Aws::String &&value)
Definition Primary.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue