AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
VideoStandardGenerativeField.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/VideoStandardGenerativeFieldType.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 VideoStandardGenerativeField() = default;
38 AWS_BEDROCKDATAAUTOMATION_API VideoStandardGenerativeField(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKDATAAUTOMATION_API VideoStandardGenerativeField& 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 VideoStandardGenerativeField& WithState(State value) { SetState(value); return *this;}
50
52
53 inline const Aws::Vector<VideoStandardGenerativeFieldType>& GetTypes() const { return m_types; }
54 inline bool TypesHasBeenSet() const { return m_typesHasBeenSet; }
55 template<typename TypesT = Aws::Vector<VideoStandardGenerativeFieldType>>
56 void SetTypes(TypesT&& value) { m_typesHasBeenSet = true; m_types = std::forward<TypesT>(value); }
57 template<typename TypesT = Aws::Vector<VideoStandardGenerativeFieldType>>
58 VideoStandardGenerativeField& WithTypes(TypesT&& value) { SetTypes(std::forward<TypesT>(value)); return *this;}
59 inline VideoStandardGenerativeField& AddTypes(VideoStandardGenerativeFieldType 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
AWS_BEDROCKDATAAUTOMATION_API VideoStandardGenerativeField()=default
VideoStandardGenerativeField & AddTypes(VideoStandardGenerativeFieldType value)
const Aws::Vector< VideoStandardGenerativeFieldType > & GetTypes() const
AWS_BEDROCKDATAAUTOMATION_API VideoStandardGenerativeField(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKDATAAUTOMATION_API VideoStandardGenerativeField & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue