AWS SDK for C++

AWS SDK for C++ Version 1.11.853

Loading...
Searching...
No Matches
DependencyDiscoveryConfig.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
10#include <aws/resiliencehubv2/model/DependencyDiscoveryStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace resiliencehubv2 {
22namespace Model {
23
31 public:
32 AWS_RESILIENCEHUBV2_API DependencyDiscoveryConfig() = default;
33 AWS_RESILIENCEHUBV2_API DependencyDiscoveryConfig(Aws::Utils::Json::JsonView jsonValue);
35 AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline DependencyDiscoveryStatus GetStatus() const { return m_status; }
42 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
44 m_statusHasBeenSet = true;
45 m_status = value;
46 }
48 SetStatus(value);
49 return *this;
50 }
52
54
57 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
58 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
59 template <typename UpdatedAtT = Aws::Utils::DateTime>
60 void SetUpdatedAt(UpdatedAtT&& value) {
61 m_updatedAtHasBeenSet = true;
62 m_updatedAt = std::forward<UpdatedAtT>(value);
63 }
64 template <typename UpdatedAtT = Aws::Utils::DateTime>
66 SetUpdatedAt(std::forward<UpdatedAtT>(value));
67 return *this;
68 }
70
72
75 inline int GetEligibleResourceCount() const { return m_eligibleResourceCount; }
76 inline bool EligibleResourceCountHasBeenSet() const { return m_eligibleResourceCountHasBeenSet; }
77 inline void SetEligibleResourceCount(int value) {
78 m_eligibleResourceCountHasBeenSet = true;
79 m_eligibleResourceCount = value;
80 }
83 return *this;
84 }
86
88
92 inline const Aws::String& GetMessage() const { return m_message; }
93 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
94 template <typename MessageT = Aws::String>
95 void SetMessage(MessageT&& value) {
96 m_messageHasBeenSet = true;
97 m_message = std::forward<MessageT>(value);
98 }
99 template <typename MessageT = Aws::String>
101 SetMessage(std::forward<MessageT>(value));
102 return *this;
103 }
105 private:
107
108 Aws::Utils::DateTime m_updatedAt{};
109
110 int m_eligibleResourceCount{0};
111
112 Aws::String m_message;
113 bool m_statusHasBeenSet = false;
114 bool m_updatedAtHasBeenSet = false;
115 bool m_eligibleResourceCountHasBeenSet = false;
116 bool m_messageHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace resiliencehubv2
121} // namespace Aws
DependencyDiscoveryConfig & WithMessage(MessageT &&value)
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)
DependencyDiscoveryConfig & WithEligibleResourceCount(int value)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RESILIENCEHUBV2_API DependencyDiscoveryConfig()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue