AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
FindingResource.h
1
6#pragma once
7#include <aws/continuum/Continuum_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Continuum {
20namespace Model {
21
29 public:
30 AWS_CONTINUUM_API FindingResource() = default;
31 AWS_CONTINUUM_API FindingResource(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONTINUUM_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const Aws::String& GetUid() const { return m_uid; }
38 inline bool UidHasBeenSet() const { return m_uidHasBeenSet; }
39 template <typename UidT = Aws::String>
40 void SetUid(UidT&& value) {
41 m_uidHasBeenSet = true;
42 m_uid = std::forward<UidT>(value);
43 }
44 template <typename UidT = Aws::String>
45 FindingResource& WithUid(UidT&& value) {
46 SetUid(std::forward<UidT>(value));
47 return *this;
48 }
50
52
53 inline const Aws::String& GetName() const { return m_name; }
54 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 template <typename NameT = Aws::String>
56 void SetName(NameT&& value) {
57 m_nameHasBeenSet = true;
58 m_name = std::forward<NameT>(value);
59 }
60 template <typename NameT = Aws::String>
61 FindingResource& WithName(NameT&& value) {
62 SetName(std::forward<NameT>(value));
63 return *this;
64 }
66
68
69 inline const Aws::String& GetType() const { return m_type; }
70 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
71 template <typename TypeT = Aws::String>
72 void SetType(TypeT&& value) {
73 m_typeHasBeenSet = true;
74 m_type = std::forward<TypeT>(value);
75 }
76 template <typename TypeT = Aws::String>
77 FindingResource& WithType(TypeT&& value) {
78 SetType(std::forward<TypeT>(value));
79 return *this;
80 }
82
84
85 inline const Aws::String& GetRegion() const { return m_region; }
86 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
87 template <typename RegionT = Aws::String>
88 void SetRegion(RegionT&& value) {
89 m_regionHasBeenSet = true;
90 m_region = std::forward<RegionT>(value);
91 }
92 template <typename RegionT = Aws::String>
93 FindingResource& WithRegion(RegionT&& value) {
94 SetRegion(std::forward<RegionT>(value));
95 return *this;
96 }
98 private:
99 Aws::String m_uid;
100
101 Aws::String m_name;
102
103 Aws::String m_type;
104
105 Aws::String m_region;
106 bool m_uidHasBeenSet = false;
107 bool m_nameHasBeenSet = false;
108 bool m_typeHasBeenSet = false;
109 bool m_regionHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace Continuum
114} // namespace Aws
AWS_CONTINUUM_API FindingResource(Aws::Utils::Json::JsonView jsonValue)
FindingResource & WithRegion(RegionT &&value)
AWS_CONTINUUM_API FindingResource()=default
const Aws::String & GetType() const
AWS_CONTINUUM_API FindingResource & operator=(Aws::Utils::Json::JsonView jsonValue)
FindingResource & WithType(TypeT &&value)
FindingResource & WithName(NameT &&value)
FindingResource & WithUid(UidT &&value)
const Aws::String & GetName() const
const Aws::String & GetUid() const
AWS_CONTINUUM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRegion() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue