7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rekognition/model/Instance.h>
11#include <aws/rekognition/model/Parent.h>
12#include <aws/rekognition/model/LabelAlias.h>
13#include <aws/rekognition/model/LabelCategory.h>
55 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
67 inline void SetConfidence(
double value) { m_confidenceHasBeenSet =
true; m_confidence = value; }
85 inline Label&
AddInstances(
Instance&& value) { m_instancesHasBeenSet =
true; m_instances.push_back(std::move(value));
return *
this; }
98 inline Label&
AddParents(
const Parent& value) { m_parentsHasBeenSet =
true; m_parents.push_back(value);
return *
this; }
99 inline Label&
AddParents(
Parent&& value) { m_parentsHasBeenSet =
true; m_parents.push_back(std::move(value));
return *
this; }
132 bool m_nameHasBeenSet =
false;
135 bool m_confidenceHasBeenSet =
false;
138 bool m_instancesHasBeenSet =
false;
141 bool m_parentsHasBeenSet =
false;
144 bool m_aliasesHasBeenSet =
false;
147 bool m_categoriesHasBeenSet =
false;
void SetInstances(Aws::Vector< Instance > &&value)
void SetParents(Aws::Vector< Parent > &&value)
const Aws::String & GetName() const
bool NameHasBeenSet() const
bool CategoriesHasBeenSet() const
Label & WithInstances(const Aws::Vector< Instance > &value)
void SetConfidence(double value)
void SetInstances(const Aws::Vector< Instance > &value)
AWS_REKOGNITION_API Label(Aws::Utils::Json::JsonView jsonValue)
Label & WithName(const Aws::String &value)
void SetName(const char *value)
void SetName(const Aws::String &value)
AWS_REKOGNITION_API Label()
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Instance > & GetInstances() const
Label & WithParents(Aws::Vector< Parent > &&value)
Label & AddParents(const Parent &value)
Label & WithConfidence(double value)
const Aws::Vector< LabelCategory > & GetCategories() const
void SetCategories(Aws::Vector< LabelCategory > &&value)
void SetParents(const Aws::Vector< Parent > &value)
Label & AddInstances(Instance &&value)
void SetName(Aws::String &&value)
Label & AddAliases(LabelAlias &&value)
bool ConfidenceHasBeenSet() const
Label & WithCategories(const Aws::Vector< LabelCategory > &value)
bool InstancesHasBeenSet() const
void SetAliases(const Aws::Vector< LabelAlias > &value)
AWS_REKOGNITION_API Label & operator=(Aws::Utils::Json::JsonView jsonValue)
Label & WithParents(const Aws::Vector< Parent > &value)
Label & WithCategories(Aws::Vector< LabelCategory > &&value)
Label & WithAliases(Aws::Vector< LabelAlias > &&value)
void SetAliases(Aws::Vector< LabelAlias > &&value)
bool ParentsHasBeenSet() const
Label & WithName(Aws::String &&value)
Label & AddParents(Parent &&value)
double GetConfidence() const
Label & AddCategories(const LabelCategory &value)
Label & WithName(const char *value)
Label & AddAliases(const LabelAlias &value)
Label & AddCategories(LabelCategory &&value)
void SetCategories(const Aws::Vector< LabelCategory > &value)
bool AliasesHasBeenSet() const
Label & WithAliases(const Aws::Vector< LabelAlias > &value)
const Aws::Vector< Parent > & GetParents() const
Label & AddInstances(const Instance &value)
Label & WithInstances(Aws::Vector< Instance > &&value)
const Aws::Vector< LabelAlias > & GetAliases() 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