AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AudioStandardGenerativeField.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
8#include <aws/bedrock-data-automation/model/State.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/bedrock-data-automation/model/AudioStandardGenerativeFieldType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace BedrockDataAutomation
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_BEDROCKDATAAUTOMATION_API AudioStandardGenerativeField() = default;
38 AWS_BEDROCKDATAAUTOMATION_API AudioStandardGenerativeField(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKDATAAUTOMATION_API AudioStandardGenerativeField& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline State GetState() const { return m_state; }
46 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
47 inline void SetState(State value) { m_stateHasBeenSet = true; m_state = value; }
48 inline AudioStandardGenerativeField& WithState(State value) { SetState(value); return *this;}
50
52
53 inline const Aws::Vector<AudioStandardGenerativeFieldType>& GetTypes() const { return m_types; }
54 inline bool TypesHasBeenSet() const { return m_typesHasBeenSet; }
55 template<typename TypesT = Aws::Vector<AudioStandardGenerativeFieldType>>
56 void SetTypes(TypesT&& value) { m_typesHasBeenSet = true; m_types = std::forward<TypesT>(value); }
57 template<typename TypesT = Aws::Vector<AudioStandardGenerativeFieldType>>
58 AudioStandardGenerativeField& WithTypes(TypesT&& value) { SetTypes(std::forward<TypesT>(value)); return *this;}
59 inline AudioStandardGenerativeField& AddTypes(AudioStandardGenerativeFieldType value) { m_typesHasBeenSet = true; m_types.push_back(value); return *this; }
61 private:
62
63 State m_state{State::NOT_SET};
64 bool m_stateHasBeenSet = false;
65
67 bool m_typesHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace BedrockDataAutomation
72} // namespace Aws
AudioStandardGenerativeField & AddTypes(AudioStandardGenerativeFieldType value)
AWS_BEDROCKDATAAUTOMATION_API AudioStandardGenerativeField & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKDATAAUTOMATION_API AudioStandardGenerativeField()=default
const Aws::Vector< AudioStandardGenerativeFieldType > & GetTypes() const
AWS_BEDROCKDATAAUTOMATION_API AudioStandardGenerativeField(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue