7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/greengrass/Greengrass_EXPORTS.h>
9#include <aws/greengrass/model/ResourceDataContainer.h>
43 template <
typename IdT = Aws::String>
45 m_idHasBeenSet =
true;
46 m_id = std::forward<IdT>(value);
48 template <
typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
81 template <
typename ResourceDataContainerT = ResourceDataContainer>
83 m_resourceDataContainerHasBeenSet =
true;
84 m_resourceDataContainer = std::forward<ResourceDataContainerT>(value);
86 template <
typename ResourceDataContainerT = ResourceDataContainer>
98 bool m_idHasBeenSet =
false;
99 bool m_nameHasBeenSet =
false;
100 bool m_resourceDataContainerHasBeenSet =
false;
Resource & WithName(NameT &&value)
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
Resource & WithResourceDataContainer(ResourceDataContainerT &&value)
AWS_GREENGRASS_API Resource(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
bool ResourceDataContainerHasBeenSet() const
const Aws::String & GetId() const
void SetResourceDataContainer(ResourceDataContainerT &&value)
bool IdHasBeenSet() const
AWS_GREENGRASS_API Resource & operator=(Aws::Utils::Json::JsonView jsonValue)
const ResourceDataContainer & GetResourceDataContainer() const
bool NameHasBeenSet() const
Resource & WithId(IdT &&value)
AWS_GREENGRASS_API Resource()=default
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue