AWS SDK for C++

AWS SDK for C++ Version 1.11.820

Loading...
Searching...
No Matches
EdgePropertySummary.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/TopologyType.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 EdgePropertySummary() = default;
32 AWS_RESILIENCEHUBV2_API EdgePropertySummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_RESILIENCEHUBV2_API EdgePropertySummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline TopologyType GetTopologyType() const { return m_topologyType; }
41 inline bool TopologyTypeHasBeenSet() const { return m_topologyTypeHasBeenSet; }
42 inline void SetTopologyType(TopologyType value) {
43 m_topologyTypeHasBeenSet = true;
44 m_topologyType = value;
45 }
47 SetTopologyType(value);
48 return *this;
49 }
51
53
57 inline const Aws::String& GetLabel() const { return m_label; }
58 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
59 template <typename LabelT = Aws::String>
60 void SetLabel(LabelT&& value) {
61 m_labelHasBeenSet = true;
62 m_label = std::forward<LabelT>(value);
63 }
64 template <typename LabelT = Aws::String>
65 EdgePropertySummary& WithLabel(LabelT&& value) {
66 SetLabel(std::forward<LabelT>(value));
67 return *this;
68 }
70 private:
71 TopologyType m_topologyType{TopologyType::NOT_SET};
72
73 Aws::String m_label;
74 bool m_topologyTypeHasBeenSet = false;
75 bool m_labelHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace resiliencehubv2
80} // namespace Aws
EdgePropertySummary & WithTopologyType(TopologyType value)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
EdgePropertySummary & WithLabel(LabelT &&value)
AWS_RESILIENCEHUBV2_API EdgePropertySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUBV2_API EdgePropertySummary(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUBV2_API EdgePropertySummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue