7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/network-security-manager/NetworkSecurityManager_EXPORTS.h>
9#include <aws/network-security-manager/model/ServiceResourceType.h>
20namespace NetworkSecurityManager {
42 template <
typename ArnT = Aws::String>
44 m_arnHasBeenSet =
true;
45 m_arn = std::forward<ArnT>(value);
47 template <
typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
62 m_resourceTypeHasBeenSet =
true;
63 m_resourceType = value;
74 bool m_arnHasBeenSet =
false;
75 bool m_resourceTypeHasBeenSet =
false;
bool ResourceTypeHasBeenSet() const
void SetArn(ArnT &&value)
void SetResourceType(ServiceResourceType value)
ResourceAssociation & WithResourceType(ServiceResourceType value)
AWS_NETWORKSECURITYMANAGER_API ResourceAssociation()=default
AWS_NETWORKSECURITYMANAGER_API ResourceAssociation(Aws::Utils::Json::JsonView jsonValue)
ResourceAssociation & WithArn(ArnT &&value)
const Aws::String & GetArn() const
AWS_NETWORKSECURITYMANAGER_API ResourceAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ArnHasBeenSet() const
AWS_NETWORKSECURITYMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceResourceType GetResourceType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue