7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/servicecatalog/model/ChangeAction.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/servicecatalog/model/Replacement.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/servicecatalog/model/ResourceAttribute.h>
13#include <aws/servicecatalog/model/ResourceChangeDetail.h>
26namespace ServiceCatalog
66 inline void SetLogicalResourceId(
const char* value) { m_logicalResourceIdHasBeenSet =
true; m_logicalResourceId.assign(value); }
80 inline void SetPhysicalResourceId(
const char* value) { m_physicalResourceIdHasBeenSet =
true; m_physicalResourceId.assign(value); }
94 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
143 bool m_actionHasBeenSet =
false;
146 bool m_logicalResourceIdHasBeenSet =
false;
149 bool m_physicalResourceIdHasBeenSet =
false;
152 bool m_resourceTypeHasBeenSet =
false;
155 bool m_replacementHasBeenSet =
false;
158 bool m_scopeHasBeenSet =
false;
161 bool m_detailsHasBeenSet =
false;
ResourceChange & WithLogicalResourceId(Aws::String &&value)
void SetDetails(Aws::Vector< ResourceChangeDetail > &&value)
ResourceChange & WithLogicalResourceId(const char *value)
void SetReplacement(Replacement &&value)
bool PhysicalResourceIdHasBeenSet() const
void SetResourceType(const Aws::String &value)
void SetScope(Aws::Vector< ResourceAttribute > &&value)
ResourceChange & WithScope(const Aws::Vector< ResourceAttribute > &value)
void SetReplacement(const Replacement &value)
ResourceChange & WithPhysicalResourceId(const Aws::String &value)
AWS_SERVICECATALOG_API ResourceChange()
const Aws::String & GetLogicalResourceId() const
ResourceChange & WithReplacement(const Replacement &value)
void SetResourceType(Aws::String &&value)
AWS_SERVICECATALOG_API ResourceChange(Aws::Utils::Json::JsonView jsonValue)
ResourceChange & WithDetails(Aws::Vector< ResourceChangeDetail > &&value)
const ChangeAction & GetAction() const
bool LogicalResourceIdHasBeenSet() const
void SetLogicalResourceId(Aws::String &&value)
void SetPhysicalResourceId(const Aws::String &value)
bool ReplacementHasBeenSet() const
ResourceChange & WithResourceType(Aws::String &&value)
ResourceChange & WithScope(Aws::Vector< ResourceAttribute > &&value)
ResourceChange & WithResourceType(const Aws::String &value)
ResourceChange & WithDetails(const Aws::Vector< ResourceChangeDetail > &value)
const Aws::String & GetResourceType() const
ResourceChange & AddDetails(const ResourceChangeDetail &value)
const Aws::Vector< ResourceChangeDetail > & GetDetails() const
void SetLogicalResourceId(const char *value)
void SetPhysicalResourceId(Aws::String &&value)
void SetResourceType(const char *value)
void SetAction(ChangeAction &&value)
ResourceChange & WithPhysicalResourceId(Aws::String &&value)
const Replacement & GetReplacement() const
bool ScopeHasBeenSet() const
ResourceChange & WithAction(const ChangeAction &value)
bool DetailsHasBeenSet() const
void SetDetails(const Aws::Vector< ResourceChangeDetail > &value)
bool ActionHasBeenSet() const
const Aws::String & GetPhysicalResourceId() const
ResourceChange & WithPhysicalResourceId(const char *value)
void SetLogicalResourceId(const Aws::String &value)
bool ResourceTypeHasBeenSet() const
ResourceChange & WithAction(ChangeAction &&value)
void SetPhysicalResourceId(const char *value)
ResourceChange & AddDetails(ResourceChangeDetail &&value)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceChange & AddScope(const ResourceAttribute &value)
void SetAction(const ChangeAction &value)
ResourceChange & WithResourceType(const char *value)
ResourceChange & AddScope(ResourceAttribute &&value)
const Aws::Vector< ResourceAttribute > & GetScope() const
AWS_SERVICECATALOG_API ResourceChange & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceChange & WithReplacement(Replacement &&value)
ResourceChange & WithLogicalResourceId(const Aws::String &value)
void SetScope(const Aws::Vector< ResourceAttribute > &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