7#include <aws/inspector/Inspector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/inspector/model/ResourceGroupTag.h>
52 template<
typename ArnT = Aws::String>
53 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
54 template<
typename ArnT = Aws::String>
65 template<
typename TagsT = Aws::Vector<ResourceGroupTag>>
66 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
67 template<
typename TagsT = Aws::Vector<ResourceGroupTag>>
69 template<
typename TagsT = ResourceGroupTag>
70 ResourceGroup&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
79 template<
typename CreatedAtT = Aws::Utils::DateTime>
80 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
81 template<
typename CreatedAtT = Aws::Utils::DateTime>
87 bool m_arnHasBeenSet =
false;
90 bool m_tagsHasBeenSet =
false;
93 bool m_createdAtHasBeenSet =
false;
AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
bool TagsHasBeenSet() const
ResourceGroup & WithArn(ArnT &&value)
AWS_INSPECTOR_API ResourceGroup()=default
void SetTags(TagsT &&value)
ResourceGroup & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetArn() const
AWS_INSPECTOR_API ResourceGroup(Aws::Utils::Json::JsonView jsonValue)
void SetArn(ArnT &&value)
bool ArnHasBeenSet() const
AWS_INSPECTOR_API ResourceGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceGroup & WithTags(TagsT &&value)
const Aws::Vector< ResourceGroupTag > & GetTags() const
ResourceGroup & AddTags(TagsT &&value)
void SetCreatedAt(CreatedAtT &&value)
bool CreatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue