AWS SDK for C++

AWS SDK for C++ Version 1.11.899

Loading...
Searching...
No Matches
DependencyInsight.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
9#include <aws/resiliencehubv2/model/InsightsCategory.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 DependencyInsight() = default;
32 AWS_RESILIENCEHUBV2_API DependencyInsight(Aws::Utils::Json::JsonView jsonValue);
33 AWS_RESILIENCEHUBV2_API DependencyInsight& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
46 inline InsightsCategory GetCategory() const { return m_category; }
47 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
48 inline void SetCategory(InsightsCategory value) {
49 m_categoryHasBeenSet = true;
50 m_category = value;
51 }
53 SetCategory(value);
54 return *this;
55 }
57
59
63 inline const Aws::String& GetDescription() const { return m_description; }
64 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
65 template <typename DescriptionT = Aws::String>
66 void SetDescription(DescriptionT&& value) {
67 m_descriptionHasBeenSet = true;
68 m_description = std::forward<DescriptionT>(value);
69 }
70 template <typename DescriptionT = Aws::String>
71 DependencyInsight& WithDescription(DescriptionT&& value) {
72 SetDescription(std::forward<DescriptionT>(value));
73 return *this;
74 }
76 private:
78
79 Aws::String m_description;
80 bool m_categoryHasBeenSet = false;
81 bool m_descriptionHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace resiliencehubv2
86} // namespace Aws
AWS_RESILIENCEHUBV2_API DependencyInsight(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
DependencyInsight & WithDescription(DescriptionT &&value)
AWS_RESILIENCEHUBV2_API DependencyInsight & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUBV2_API DependencyInsight()=default
DependencyInsight & WithCategory(InsightsCategory value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue