AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GenerativeReference.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QConnect
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_QCONNECT_API GenerativeReference() = default;
37 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetModelId() const { return m_modelId; }
45 inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; }
46 template<typename ModelIdT = Aws::String>
47 void SetModelId(ModelIdT&& value) { m_modelIdHasBeenSet = true; m_modelId = std::forward<ModelIdT>(value); }
48 template<typename ModelIdT = Aws::String>
49 GenerativeReference& WithModelId(ModelIdT&& value) { SetModelId(std::forward<ModelIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetGenerationId() const { return m_generationId; }
57 inline bool GenerationIdHasBeenSet() const { return m_generationIdHasBeenSet; }
58 template<typename GenerationIdT = Aws::String>
59 void SetGenerationId(GenerationIdT&& value) { m_generationIdHasBeenSet = true; m_generationId = std::forward<GenerationIdT>(value); }
60 template<typename GenerationIdT = Aws::String>
61 GenerativeReference& WithGenerationId(GenerationIdT&& value) { SetGenerationId(std::forward<GenerationIdT>(value)); return *this;}
63 private:
64
65 Aws::String m_modelId;
66 bool m_modelIdHasBeenSet = false;
67
68 Aws::String m_generationId;
69 bool m_generationIdHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace QConnect
74} // namespace Aws
GenerativeReference & WithGenerationId(GenerationIdT &&value)
AWS_QCONNECT_API GenerativeReference & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API GenerativeReference(Aws::Utils::Json::JsonView jsonValue)
GenerativeReference & WithModelId(ModelIdT &&value)
AWS_QCONNECT_API GenerativeReference()=default
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue