AWS SDK for C++

AWS SDK for C++ Version 1.11.820

Loading...
Searching...
No Matches
DependencyDiscoveryConfig.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
9#include <aws/resiliencehubv2/model/DependencyDiscoveryStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace resiliencehubv2 {
21namespace Model {
22
30 public:
31 AWS_RESILIENCEHUBV2_API DependencyDiscoveryConfig() = default;
32 AWS_RESILIENCEHUBV2_API DependencyDiscoveryConfig(Aws::Utils::Json::JsonView jsonValue);
34 AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline DependencyDiscoveryStatus GetStatus() const { return m_status; }
41 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
43 m_statusHasBeenSet = true;
44 m_status = value;
45 }
47 SetStatus(value);
48 return *this;
49 }
51
53
56 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
57 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
58 template <typename UpdatedAtT = Aws::Utils::DateTime>
59 void SetUpdatedAt(UpdatedAtT&& value) {
60 m_updatedAtHasBeenSet = true;
61 m_updatedAt = std::forward<UpdatedAtT>(value);
62 }
63 template <typename UpdatedAtT = Aws::Utils::DateTime>
65 SetUpdatedAt(std::forward<UpdatedAtT>(value));
66 return *this;
67 }
69 private:
71
72 Aws::Utils::DateTime m_updatedAt{};
73 bool m_statusHasBeenSet = false;
74 bool m_updatedAtHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace resiliencehubv2
79} // namespace Aws
AWS_RESILIENCEHUBV2_API DependencyDiscoveryConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
DependencyDiscoveryConfig & WithUpdatedAt(UpdatedAtT &&value)
AWS_RESILIENCEHUBV2_API DependencyDiscoveryConfig(Aws::Utils::Json::JsonView jsonValue)
DependencyDiscoveryConfig & WithStatus(DependencyDiscoveryStatus value)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RESILIENCEHUBV2_API DependencyDiscoveryConfig()=default
Aws::Utils::Json::JsonValue JsonValue