7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename ComponentNameT = Aws::String>
48 void SetComponentName(ComponentNameT&& value) { m_componentNameHasBeenSet =
true; m_componentName = std::forward<ComponentNameT>(value); }
49 template<
typename ComponentNameT = Aws::String>
59 template<
typename ComponentVersionT = Aws::String>
60 void SetComponentVersion(ComponentVersionT&& value) { m_componentVersionHasBeenSet =
true; m_componentVersion = std::forward<ComponentVersionT>(value); }
61 template<
typename ComponentVersionT = Aws::String>
73 template<
typename ArnT = Aws::String>
74 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
75 template<
typename ArnT = Aws::String>
81 bool m_componentNameHasBeenSet =
false;
84 bool m_componentVersionHasBeenSet =
false;
87 bool m_arnHasBeenSet =
false;
bool ComponentVersionHasBeenSet() const
ComponentVersionListItem & WithComponentName(ComponentNameT &&value)
bool ArnHasBeenSet() const
ComponentVersionListItem & WithArn(ArnT &&value)
const Aws::String & GetArn() const
const Aws::String & GetComponentName() const
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetComponentVersion(ComponentVersionT &&value)
void SetArn(ArnT &&value)
AWS_GREENGRASSV2_API ComponentVersionListItem(Aws::Utils::Json::JsonView jsonValue)
bool ComponentNameHasBeenSet() const
void SetComponentName(ComponentNameT &&value)
ComponentVersionListItem & WithComponentVersion(ComponentVersionT &&value)
AWS_GREENGRASSV2_API ComponentVersionListItem()=default
AWS_GREENGRASSV2_API ComponentVersionListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetComponentVersion() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue