AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UnsupportedResource.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/resiliencehub/model/LogicalResourceId.h>
9#include <aws/resiliencehub/model/PhysicalResourceId.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ResilienceHub
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_RESILIENCEHUB_API UnsupportedResource() = default;
38 AWS_RESILIENCEHUB_API UnsupportedResource(Aws::Utils::Json::JsonView jsonValue);
39 AWS_RESILIENCEHUB_API UnsupportedResource& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const LogicalResourceId& GetLogicalResourceId() const { return m_logicalResourceId; }
48 inline bool LogicalResourceIdHasBeenSet() const { return m_logicalResourceIdHasBeenSet; }
49 template<typename LogicalResourceIdT = LogicalResourceId>
50 void SetLogicalResourceId(LogicalResourceIdT&& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = std::forward<LogicalResourceIdT>(value); }
51 template<typename LogicalResourceIdT = LogicalResourceId>
52 UnsupportedResource& WithLogicalResourceId(LogicalResourceIdT&& value) { SetLogicalResourceId(std::forward<LogicalResourceIdT>(value)); return *this;}
54
56
59 inline const PhysicalResourceId& GetPhysicalResourceId() const { return m_physicalResourceId; }
60 inline bool PhysicalResourceIdHasBeenSet() const { return m_physicalResourceIdHasBeenSet; }
61 template<typename PhysicalResourceIdT = PhysicalResourceId>
62 void SetPhysicalResourceId(PhysicalResourceIdT&& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = std::forward<PhysicalResourceIdT>(value); }
63 template<typename PhysicalResourceIdT = PhysicalResourceId>
64 UnsupportedResource& WithPhysicalResourceId(PhysicalResourceIdT&& value) { SetPhysicalResourceId(std::forward<PhysicalResourceIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetResourceType() const { return m_resourceType; }
72 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
73 template<typename ResourceTypeT = Aws::String>
74 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::forward<ResourceTypeT>(value); }
75 template<typename ResourceTypeT = Aws::String>
76 UnsupportedResource& WithResourceType(ResourceTypeT&& value) { SetResourceType(std::forward<ResourceTypeT>(value)); return *this;}
78
80
83 inline const Aws::String& GetUnsupportedResourceStatus() const { return m_unsupportedResourceStatus; }
84 inline bool UnsupportedResourceStatusHasBeenSet() const { return m_unsupportedResourceStatusHasBeenSet; }
85 template<typename UnsupportedResourceStatusT = Aws::String>
86 void SetUnsupportedResourceStatus(UnsupportedResourceStatusT&& value) { m_unsupportedResourceStatusHasBeenSet = true; m_unsupportedResourceStatus = std::forward<UnsupportedResourceStatusT>(value); }
87 template<typename UnsupportedResourceStatusT = Aws::String>
88 UnsupportedResource& WithUnsupportedResourceStatus(UnsupportedResourceStatusT&& value) { SetUnsupportedResourceStatus(std::forward<UnsupportedResourceStatusT>(value)); return *this;}
90 private:
91
92 LogicalResourceId m_logicalResourceId;
93 bool m_logicalResourceIdHasBeenSet = false;
94
95 PhysicalResourceId m_physicalResourceId;
96 bool m_physicalResourceIdHasBeenSet = false;
97
98 Aws::String m_resourceType;
99 bool m_resourceTypeHasBeenSet = false;
100
101 Aws::String m_unsupportedResourceStatus;
102 bool m_unsupportedResourceStatusHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace ResilienceHub
107} // namespace Aws
void SetLogicalResourceId(LogicalResourceIdT &&value)
UnsupportedResource & WithResourceType(ResourceTypeT &&value)
AWS_RESILIENCEHUB_API UnsupportedResource(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUB_API UnsupportedResource()=default
UnsupportedResource & WithUnsupportedResourceStatus(UnsupportedResourceStatusT &&value)
UnsupportedResource & WithLogicalResourceId(LogicalResourceIdT &&value)
UnsupportedResource & WithPhysicalResourceId(PhysicalResourceIdT &&value)
const PhysicalResourceId & GetPhysicalResourceId() const
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetUnsupportedResourceStatus() const
void SetUnsupportedResourceStatus(UnsupportedResourceStatusT &&value)
void SetPhysicalResourceId(PhysicalResourceIdT &&value)
const LogicalResourceId & GetLogicalResourceId() const
AWS_RESILIENCEHUB_API UnsupportedResource & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue