7#include <aws/resource-explorer-2/ResourceExplorer2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resource-explorer-2/model/IndexType.h>
22namespace ResourceExplorer2
45 AWS_RESOURCEEXPLORER2_API
Index() =
default;
59 template<
typename ArnT = Aws::String>
60 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
61 template<
typename ArnT = Aws::String>
71 template<
typename RegionT = Aws::String>
72 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
73 template<
typename RegionT = Aws::String>
95 bool m_arnHasBeenSet =
false;
98 bool m_regionHasBeenSet =
false;
101 bool m_typeHasBeenSet =
false;
bool ArnHasBeenSet() const
AWS_RESOURCEEXPLORER2_API Aws::Utils::Json::JsonValue Jsonize() const
Index & WithRegion(RegionT &&value)
IndexType GetType() const
bool RegionHasBeenSet() const
AWS_RESOURCEEXPLORER2_API Index()=default
AWS_RESOURCEEXPLORER2_API Index(Aws::Utils::Json::JsonView jsonValue)
Index & WithArn(ArnT &&value)
void SetType(IndexType value)
bool TypeHasBeenSet() const
Index & WithType(IndexType value)
void SetArn(ArnT &&value)
const Aws::String & GetArn() const
const Aws::String & GetRegion() const
void SetRegion(RegionT &&value)
AWS_RESOURCEEXPLORER2_API Index & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue