AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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/bedrock-data-automation/model/VideoStandardGenerativeFieldType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockDataAutomation {
22namespace Model {
23
31 public:
32 AWS_BEDROCKDATAAUTOMATION_API VideoStandardGenerativeField() = default;
33 AWS_BEDROCKDATAAUTOMATION_API VideoStandardGenerativeField(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BEDROCKDATAAUTOMATION_API VideoStandardGenerativeField& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
39 inline State GetState() const { return m_state; }
40 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
41 inline void SetState(State value) {
42 m_stateHasBeenSet = true;
43 m_state = value;
44 }
46 SetState(value);
47 return *this;
48 }
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) {
57 m_typesHasBeenSet = true;
58 m_types = std::forward<TypesT>(value);
59 }
60 template <typename TypesT = Aws::Vector<VideoStandardGenerativeFieldType>>
62 SetTypes(std::forward<TypesT>(value));
63 return *this;
64 }
66 m_typesHasBeenSet = true;
67 m_types.push_back(value);
68 return *this;
69 }
71 private:
72 State m_state{State::NOT_SET};
73
75 bool m_stateHasBeenSet = false;
76 bool m_typesHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace BedrockDataAutomation
81} // 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