AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLogicalResourceId(const LogicalResourceId& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = value; }
50 inline void SetLogicalResourceId(LogicalResourceId&& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = std::move(value); }
52 inline UnsupportedResource& WithLogicalResourceId(LogicalResourceId&& value) { SetLogicalResourceId(std::move(value)); return *this;}
54
56
59 inline const PhysicalResourceId& GetPhysicalResourceId() const{ return m_physicalResourceId; }
60 inline bool PhysicalResourceIdHasBeenSet() const { return m_physicalResourceIdHasBeenSet; }
61 inline void SetPhysicalResourceId(const PhysicalResourceId& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = value; }
62 inline void SetPhysicalResourceId(PhysicalResourceId&& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = std::move(value); }
64 inline UnsupportedResource& WithPhysicalResourceId(PhysicalResourceId&& value) { SetPhysicalResourceId(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
72 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
73 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
74 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
75 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
76 inline UnsupportedResource& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
77 inline UnsupportedResource& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
78 inline UnsupportedResource& WithResourceType(const char* value) { SetResourceType(value); return *this;}
80
82
85 inline const Aws::String& GetUnsupportedResourceStatus() const{ return m_unsupportedResourceStatus; }
86 inline bool UnsupportedResourceStatusHasBeenSet() const { return m_unsupportedResourceStatusHasBeenSet; }
87 inline void SetUnsupportedResourceStatus(const Aws::String& value) { m_unsupportedResourceStatusHasBeenSet = true; m_unsupportedResourceStatus = value; }
88 inline void SetUnsupportedResourceStatus(Aws::String&& value) { m_unsupportedResourceStatusHasBeenSet = true; m_unsupportedResourceStatus = std::move(value); }
89 inline void SetUnsupportedResourceStatus(const char* value) { m_unsupportedResourceStatusHasBeenSet = true; m_unsupportedResourceStatus.assign(value); }
92 inline UnsupportedResource& WithUnsupportedResourceStatus(const char* value) { SetUnsupportedResourceStatus(value); return *this;}
94 private:
95
96 LogicalResourceId m_logicalResourceId;
97 bool m_logicalResourceIdHasBeenSet = false;
98
99 PhysicalResourceId m_physicalResourceId;
100 bool m_physicalResourceIdHasBeenSet = false;
101
102 Aws::String m_resourceType;
103 bool m_resourceTypeHasBeenSet = false;
104
105 Aws::String m_unsupportedResourceStatus;
106 bool m_unsupportedResourceStatusHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace ResilienceHub
111} // namespace Aws
UnsupportedResource & WithResourceType(const Aws::String &value)
AWS_RESILIENCEHUB_API UnsupportedResource(Aws::Utils::Json::JsonView jsonValue)
UnsupportedResource & WithUnsupportedResourceStatus(const Aws::String &value)
UnsupportedResource & WithPhysicalResourceId(PhysicalResourceId &&value)
void SetPhysicalResourceId(PhysicalResourceId &&value)
const PhysicalResourceId & GetPhysicalResourceId() const
UnsupportedResource & WithUnsupportedResourceStatus(const char *value)
void SetPhysicalResourceId(const PhysicalResourceId &value)
UnsupportedResource & WithResourceType(const char *value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetUnsupportedResourceStatus() const
void SetLogicalResourceId(LogicalResourceId &&value)
void SetLogicalResourceId(const LogicalResourceId &value)
void SetUnsupportedResourceStatus(const Aws::String &value)
UnsupportedResource & WithLogicalResourceId(LogicalResourceId &&value)
UnsupportedResource & WithUnsupportedResourceStatus(Aws::String &&value)
UnsupportedResource & WithLogicalResourceId(const LogicalResourceId &value)
const LogicalResourceId & GetLogicalResourceId() const
AWS_RESILIENCEHUB_API UnsupportedResource & operator=(Aws::Utils::Json::JsonView jsonValue)
UnsupportedResource & WithPhysicalResourceId(const PhysicalResourceId &value)
UnsupportedResource & WithResourceType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue