AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EventStreamDestinationDetails.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/customer-profiles/model/EventStreamDestinationStatus.h>
10#include <aws/core/utils/DateTime.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 CustomerProfiles
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CUSTOMERPROFILES_API EventStreamDestinationDetails();
38 AWS_CUSTOMERPROFILES_API EventStreamDestinationDetails(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetUri() const{ return m_uri; }
49 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
50 inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; }
51 inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); }
52 inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); }
53 inline EventStreamDestinationDetails& WithUri(const Aws::String& value) { SetUri(value); return *this;}
54 inline EventStreamDestinationDetails& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;}
55 inline EventStreamDestinationDetails& WithUri(const char* value) { SetUri(value); return *this;}
57
59
62 inline const EventStreamDestinationStatus& GetStatus() const{ return m_status; }
63 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
64 inline void SetStatus(const EventStreamDestinationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
65 inline void SetStatus(EventStreamDestinationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
67 inline EventStreamDestinationDetails& WithStatus(EventStreamDestinationStatus&& value) { SetStatus(std::move(value)); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetUnhealthySince() const{ return m_unhealthySince; }
75 inline bool UnhealthySinceHasBeenSet() const { return m_unhealthySinceHasBeenSet; }
76 inline void SetUnhealthySince(const Aws::Utils::DateTime& value) { m_unhealthySinceHasBeenSet = true; m_unhealthySince = value; }
77 inline void SetUnhealthySince(Aws::Utils::DateTime&& value) { m_unhealthySinceHasBeenSet = true; m_unhealthySince = std::move(value); }
81
83
87 inline const Aws::String& GetMessage() const{ return m_message; }
88 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
89 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
90 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
91 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
92 inline EventStreamDestinationDetails& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
93 inline EventStreamDestinationDetails& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
94 inline EventStreamDestinationDetails& WithMessage(const char* value) { SetMessage(value); return *this;}
96 private:
97
98 Aws::String m_uri;
99 bool m_uriHasBeenSet = false;
100
102 bool m_statusHasBeenSet = false;
103
104 Aws::Utils::DateTime m_unhealthySince;
105 bool m_unhealthySinceHasBeenSet = false;
106
107 Aws::String m_message;
108 bool m_messageHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace CustomerProfiles
113} // namespace Aws
EventStreamDestinationDetails & WithStatus(const EventStreamDestinationStatus &value)
EventStreamDestinationDetails & WithUnhealthySince(Aws::Utils::DateTime &&value)
EventStreamDestinationDetails & WithMessage(Aws::String &&value)
EventStreamDestinationDetails & WithUri(Aws::String &&value)
EventStreamDestinationDetails & WithUnhealthySince(const Aws::Utils::DateTime &value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
EventStreamDestinationDetails & WithUri(const char *value)
EventStreamDestinationDetails & WithMessage(const Aws::String &value)
EventStreamDestinationDetails & WithStatus(EventStreamDestinationStatus &&value)
EventStreamDestinationDetails & WithMessage(const char *value)
AWS_CUSTOMERPROFILES_API EventStreamDestinationDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API EventStreamDestinationDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
EventStreamDestinationDetails & WithUri(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue