AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 DestinationSummary& WithUri(const Aws::String& value) { SetUri(value); return *this;}
54 inline DestinationSummary& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;}
55 inline DestinationSummary& 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); }
66 inline DestinationSummary& WithStatus(const EventStreamDestinationStatus& value) { SetStatus(value); return *this;}
67 inline DestinationSummary& 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); }
78 inline DestinationSummary& WithUnhealthySince(const Aws::Utils::DateTime& value) { SetUnhealthySince(value); return *this;}
79 inline DestinationSummary& WithUnhealthySince(Aws::Utils::DateTime&& value) { SetUnhealthySince(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_uri;
84 bool m_uriHasBeenSet = false;
85
87 bool m_statusHasBeenSet = false;
88
89 Aws::Utils::DateTime m_unhealthySince;
90 bool m_unhealthySinceHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace CustomerProfiles
95} // namespace Aws
void SetStatus(const EventStreamDestinationStatus &value)
DestinationSummary & WithUnhealthySince(Aws::Utils::DateTime &&value)
AWS_CUSTOMERPROFILES_API DestinationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API DestinationSummary(Aws::Utils::Json::JsonView jsonValue)
DestinationSummary & WithUnhealthySince(const Aws::Utils::DateTime &value)
void SetUnhealthySince(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetUnhealthySince() const
const EventStreamDestinationStatus & GetStatus() const
DestinationSummary & WithUri(Aws::String &&value)
DestinationSummary & WithUri(const char *value)
DestinationSummary & WithStatus(EventStreamDestinationStatus &&value)
DestinationSummary & WithUri(const Aws::String &value)
DestinationSummary & WithStatus(const EventStreamDestinationStatus &value)
void SetStatus(EventStreamDestinationStatus &&value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUnhealthySince(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue