AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DestinationSummary.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 DestinationSummary() = default;
38 AWS_CUSTOMERPROFILES_API DestinationSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CUSTOMERPROFILES_API DestinationSummary& operator=(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 template<typename UriT = Aws::String>
51 void SetUri(UriT&& value) { m_uriHasBeenSet = true; m_uri = std::forward<UriT>(value); }
52 template<typename UriT = Aws::String>
53 DestinationSummary& WithUri(UriT&& value) { SetUri(std::forward<UriT>(value)); return *this;}
55
57
60 inline EventStreamDestinationStatus GetStatus() const { return m_status; }
61 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
62 inline void SetStatus(EventStreamDestinationStatus value) { m_statusHasBeenSet = true; m_status = value; }
65
67
70 inline const Aws::Utils::DateTime& GetUnhealthySince() const { return m_unhealthySince; }
71 inline bool UnhealthySinceHasBeenSet() const { return m_unhealthySinceHasBeenSet; }
72 template<typename UnhealthySinceT = Aws::Utils::DateTime>
73 void SetUnhealthySince(UnhealthySinceT&& value) { m_unhealthySinceHasBeenSet = true; m_unhealthySince = std::forward<UnhealthySinceT>(value); }
74 template<typename UnhealthySinceT = Aws::Utils::DateTime>
75 DestinationSummary& WithUnhealthySince(UnhealthySinceT&& value) { SetUnhealthySince(std::forward<UnhealthySinceT>(value)); return *this;}
77 private:
78
79 Aws::String m_uri;
80 bool m_uriHasBeenSet = false;
81
83 bool m_statusHasBeenSet = false;
84
85 Aws::Utils::DateTime m_unhealthySince{};
86 bool m_unhealthySinceHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace CustomerProfiles
91} // namespace Aws
void SetStatus(EventStreamDestinationStatus value)
AWS_CUSTOMERPROFILES_API DestinationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
EventStreamDestinationStatus GetStatus() const
AWS_CUSTOMERPROFILES_API DestinationSummary(Aws::Utils::Json::JsonView jsonValue)
DestinationSummary & WithStatus(EventStreamDestinationStatus value)
AWS_CUSTOMERPROFILES_API DestinationSummary()=default
const Aws::Utils::DateTime & GetUnhealthySince() const
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
DestinationSummary & WithUnhealthySince(UnhealthySinceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue