7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/resiliencehub/model/LogicalResourceId.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/resiliencehub/model/PhysicalResourceId.h>
13#include <aws/resiliencehub/model/ResourceSourceType.h>
14#include <aws/resiliencehub/model/AppComponent.h>
27namespace ResilienceHub
94 inline void SetExcluded(
bool value) { m_excludedHasBeenSet =
true; m_excluded = value; }
118 inline void SetParentResourceName(
const char* value) { m_parentResourceNameHasBeenSet =
true; m_parentResourceName.assign(value); }
144 inline void SetResourceName(
const char* value) { m_resourceNameHasBeenSet =
true; m_resourceName.assign(value); }
158 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
178 bool m_additionalInfoHasBeenSet =
false;
181 bool m_appComponentsHasBeenSet =
false;
184 bool m_excludedHasBeenSet =
false;
187 bool m_logicalResourceIdHasBeenSet =
false;
190 bool m_parentResourceNameHasBeenSet =
false;
193 bool m_physicalResourceIdHasBeenSet =
false;
196 bool m_resourceNameHasBeenSet =
false;
199 bool m_resourceTypeHasBeenSet =
false;
202 bool m_sourceTypeHasBeenSet =
false;
bool ParentResourceNameHasBeenSet() const
PhysicalResource & WithPhysicalResourceId(const PhysicalResourceId &value)
AWS_RESILIENCEHUB_API PhysicalResource()
void SetParentResourceName(const char *value)
PhysicalResource & AddAdditionalInfo(const char *key, Aws::Vector< Aws::String > &&value)
void SetLogicalResourceId(const LogicalResourceId &value)
PhysicalResource & AddAdditionalInfo(const Aws::String &key, const Aws::Vector< Aws::String > &value)
const Aws::String & GetResourceType() const
PhysicalResource & AddAppComponents(AppComponent &&value)
void SetPhysicalResourceId(const PhysicalResourceId &value)
PhysicalResource & WithParentResourceName(const char *value)
void SetParentResourceName(Aws::String &&value)
const Aws::Vector< AppComponent > & GetAppComponents() const
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAdditionalInfo(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
PhysicalResource & WithAppComponents(const Aws::Vector< AppComponent > &value)
AWS_RESILIENCEHUB_API PhysicalResource(Aws::Utils::Json::JsonView jsonValue)
void SetAppComponents(Aws::Vector< AppComponent > &&value)
PhysicalResource & WithResourceName(Aws::String &&value)
void SetResourceName(Aws::String &&value)
PhysicalResource & WithSourceType(const ResourceSourceType &value)
PhysicalResource & WithLogicalResourceId(LogicalResourceId &&value)
bool ResourceNameHasBeenSet() const
void SetResourceType(Aws::String &&value)
bool ResourceTypeHasBeenSet() const
void SetResourceType(const char *value)
bool AppComponentsHasBeenSet() const
AWS_RESILIENCEHUB_API PhysicalResource & operator=(Aws::Utils::Json::JsonView jsonValue)
PhysicalResource & AddAdditionalInfo(Aws::String &&key, const Aws::Vector< Aws::String > &value)
void SetPhysicalResourceId(PhysicalResourceId &&value)
PhysicalResource & AddAppComponents(const AppComponent &value)
void SetParentResourceName(const Aws::String &value)
PhysicalResource & WithParentResourceName(const Aws::String &value)
PhysicalResource & WithResourceName(const Aws::String &value)
PhysicalResource & WithAdditionalInfo(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
PhysicalResource & WithParentResourceName(Aws::String &&value)
void SetExcluded(bool value)
PhysicalResource & AddAdditionalInfo(Aws::String &&key, Aws::Vector< Aws::String > &&value)
const LogicalResourceId & GetLogicalResourceId() const
PhysicalResource & AddAdditionalInfo(const char *key, const Aws::Vector< Aws::String > &value)
bool PhysicalResourceIdHasBeenSet() const
bool AdditionalInfoHasBeenSet() const
PhysicalResource & WithResourceType(const char *value)
const Aws::String & GetParentResourceName() const
PhysicalResource & WithLogicalResourceId(const LogicalResourceId &value)
void SetSourceType(ResourceSourceType &&value)
bool ExcludedHasBeenSet() const
void SetAdditionalInfo(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
PhysicalResource & WithAppComponents(Aws::Vector< AppComponent > &&value)
PhysicalResource & WithExcluded(bool value)
void SetAppComponents(const Aws::Vector< AppComponent > &value)
PhysicalResource & WithResourceType(Aws::String &&value)
const PhysicalResourceId & GetPhysicalResourceId() const
PhysicalResource & WithSourceType(ResourceSourceType &&value)
bool LogicalResourceIdHasBeenSet() const
void SetResourceName(const char *value)
PhysicalResource & AddAdditionalInfo(const Aws::String &key, Aws::Vector< Aws::String > &&value)
const ResourceSourceType & GetSourceType() const
PhysicalResource & WithResourceName(const char *value)
void SetResourceName(const Aws::String &value)
PhysicalResource & WithResourceType(const Aws::String &value)
void SetLogicalResourceId(LogicalResourceId &&value)
const Aws::String & GetResourceName() const
void SetResourceType(const Aws::String &value)
bool SourceTypeHasBeenSet() const
void SetSourceType(const ResourceSourceType &value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetAdditionalInfo() const
PhysicalResource & WithAdditionalInfo(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
PhysicalResource & WithPhysicalResourceId(PhysicalResourceId &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue