AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ValidationDataConfig.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/bedrock/model/Validator.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Bedrock
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_BEDROCK_API ValidationDataConfig();
38 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<Validator>& GetValidators() const{ return m_validators; }
46 inline bool ValidatorsHasBeenSet() const { return m_validatorsHasBeenSet; }
47 inline void SetValidators(const Aws::Vector<Validator>& value) { m_validatorsHasBeenSet = true; m_validators = value; }
48 inline void SetValidators(Aws::Vector<Validator>&& value) { m_validatorsHasBeenSet = true; m_validators = std::move(value); }
49 inline ValidationDataConfig& WithValidators(const Aws::Vector<Validator>& value) { SetValidators(value); return *this;}
50 inline ValidationDataConfig& WithValidators(Aws::Vector<Validator>&& value) { SetValidators(std::move(value)); return *this;}
51 inline ValidationDataConfig& AddValidators(const Validator& value) { m_validatorsHasBeenSet = true; m_validators.push_back(value); return *this; }
52 inline ValidationDataConfig& AddValidators(Validator&& value) { m_validatorsHasBeenSet = true; m_validators.push_back(std::move(value)); return *this; }
54 private:
55
56 Aws::Vector<Validator> m_validators;
57 bool m_validatorsHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace Bedrock
62} // namespace Aws
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
ValidationDataConfig & WithValidators(Aws::Vector< Validator > &&value)
ValidationDataConfig & AddValidators(const Validator &value)
ValidationDataConfig & WithValidators(const Aws::Vector< Validator > &value)
AWS_BEDROCK_API ValidationDataConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Validator > & GetValidators() const
void SetValidators(Aws::Vector< Validator > &&value)
AWS_BEDROCK_API ValidationDataConfig(Aws::Utils::Json::JsonView jsonValue)
void SetValidators(const Aws::Vector< Validator > &value)
ValidationDataConfig & AddValidators(Validator &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue