7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrassv2/model/ComponentLatestVersion.h>
50 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
51 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
65 inline void SetComponentName(
const char* value) { m_componentNameHasBeenSet =
true; m_componentName.assign(value); }
85 bool m_arnHasBeenSet =
false;
88 bool m_componentNameHasBeenSet =
false;
91 bool m_latestVersionHasBeenSet =
false;
AWS_GREENGRASSV2_API Component & operator=(Aws::Utils::Json::JsonView jsonValue)
Component & WithArn(const char *value)
const Aws::String & GetArn() const
Component & WithArn(Aws::String &&value)
bool ComponentNameHasBeenSet() const
Component & WithComponentName(const Aws::String &value)
Component & WithArn(const Aws::String &value)
void SetComponentName(const Aws::String &value)
void SetArn(const Aws::String &value)
void SetComponentName(Aws::String &&value)
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLatestVersion(const ComponentLatestVersion &value)
void SetLatestVersion(ComponentLatestVersion &&value)
Component & WithComponentName(const char *value)
Component & WithLatestVersion(const ComponentLatestVersion &value)
void SetComponentName(const char *value)
Component & WithLatestVersion(ComponentLatestVersion &&value)
const ComponentLatestVersion & GetLatestVersion() const
void SetArn(const char *value)
bool ArnHasBeenSet() const
AWS_GREENGRASSV2_API Component(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetComponentName() const
AWS_GREENGRASSV2_API Component()
bool LatestVersionHasBeenSet() const
void SetArn(Aws::String &&value)
Component & WithComponentName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue