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 <aws/core/utils/memory/stl/AWSVector.h>
24namespace ResilienceHub
76 inline void SetResourceName(
const char* value) { m_resourceNameHasBeenSet =
true; m_resourceName.assign(value); }
90 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
114 bool m_logicalResourceIdHasBeenSet =
false;
117 bool m_physicalResourceIdHasBeenSet =
false;
120 bool m_resourceNameHasBeenSet =
false;
123 bool m_resourceTypeHasBeenSet =
false;
126 bool m_sourceAppComponentIdsHasBeenSet =
false;
GroupingResource & WithResourceName(const Aws::String &value)
const Aws::String & GetResourceType() const
void SetResourceType(const Aws::String &value)
GroupingResource & WithResourceType(const Aws::String &value)
const LogicalResourceId & GetLogicalResourceId() const
GroupingResource & WithLogicalResourceId(LogicalResourceId &&value)
GroupingResource & WithPhysicalResourceId(PhysicalResourceId &&value)
bool ResourceTypeHasBeenSet() const
AWS_RESILIENCEHUB_API GroupingResource & operator=(Aws::Utils::Json::JsonView jsonValue)
GroupingResource & WithResourceName(const char *value)
void SetLogicalResourceId(LogicalResourceId &&value)
GroupingResource & WithResourceType(Aws::String &&value)
GroupingResource & AddSourceAppComponentIds(Aws::String &&value)
bool SourceAppComponentIdsHasBeenSet() const
void SetPhysicalResourceId(const PhysicalResourceId &value)
GroupingResource & WithResourceName(Aws::String &&value)
GroupingResource & AddSourceAppComponentIds(const Aws::String &value)
void SetSourceAppComponentIds(Aws::Vector< Aws::String > &&value)
bool LogicalResourceIdHasBeenSet() const
void SetResourceType(Aws::String &&value)
bool ResourceNameHasBeenSet() const
const Aws::Vector< Aws::String > & GetSourceAppComponentIds() const
void SetResourceType(const char *value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResourceName(Aws::String &&value)
void SetLogicalResourceId(const LogicalResourceId &value)
void SetSourceAppComponentIds(const Aws::Vector< Aws::String > &value)
const Aws::String & GetResourceName() const
AWS_RESILIENCEHUB_API GroupingResource()
GroupingResource & WithSourceAppComponentIds(const Aws::Vector< Aws::String > &value)
void SetResourceName(const char *value)
GroupingResource & AddSourceAppComponentIds(const char *value)
const PhysicalResourceId & GetPhysicalResourceId() const
GroupingResource & WithPhysicalResourceId(const PhysicalResourceId &value)
bool PhysicalResourceIdHasBeenSet() const
GroupingResource & WithResourceType(const char *value)
void SetResourceName(const Aws::String &value)
GroupingResource & WithLogicalResourceId(const LogicalResourceId &value)
AWS_RESILIENCEHUB_API GroupingResource(Aws::Utils::Json::JsonView jsonValue)
GroupingResource & WithSourceAppComponentIds(Aws::Vector< Aws::String > &&value)
void SetPhysicalResourceId(PhysicalResourceId &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue