AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
37 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetGenerationId() const{ return m_generationId; }
45 inline bool GenerationIdHasBeenSet() const { return m_generationIdHasBeenSet; }
46 inline void SetGenerationId(const Aws::String& value) { m_generationIdHasBeenSet = true; m_generationId = value; }
47 inline void SetGenerationId(Aws::String&& value) { m_generationIdHasBeenSet = true; m_generationId = std::move(value); }
48 inline void SetGenerationId(const char* value) { m_generationIdHasBeenSet = true; m_generationId.assign(value); }
49 inline GenerativeReference& WithGenerationId(const Aws::String& value) { SetGenerationId(value); return *this;}
50 inline GenerativeReference& WithGenerationId(Aws::String&& value) { SetGenerationId(std::move(value)); return *this;}
51 inline GenerativeReference& WithGenerationId(const char* value) { SetGenerationId(value); return *this;}
53
55
58 inline const Aws::String& GetModelId() const{ return m_modelId; }
59 inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; }
60 inline void SetModelId(const Aws::String& value) { m_modelIdHasBeenSet = true; m_modelId = value; }
61 inline void SetModelId(Aws::String&& value) { m_modelIdHasBeenSet = true; m_modelId = std::move(value); }
62 inline void SetModelId(const char* value) { m_modelIdHasBeenSet = true; m_modelId.assign(value); }
63 inline GenerativeReference& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
64 inline GenerativeReference& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
65 inline GenerativeReference& WithModelId(const char* value) { SetModelId(value); return *this;}
67 private:
68
69 Aws::String m_generationId;
70 bool m_generationIdHasBeenSet = false;
71
72 Aws::String m_modelId;
73 bool m_modelIdHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace QConnect
78} // namespace Aws
GenerativeReference & WithGenerationId(const Aws::String &value)
GenerativeReference & WithGenerationId(Aws::String &&value)
GenerativeReference & WithModelId(Aws::String &&value)
GenerativeReference & WithModelId(const char *value)
GenerativeReference & WithGenerationId(const char *value)
void SetGenerationId(const Aws::String &value)
AWS_QCONNECT_API GenerativeReference & operator=(Aws::Utils::Json::JsonView jsonValue)
GenerativeReference & WithModelId(const Aws::String &value)
AWS_QCONNECT_API GenerativeReference(Aws::Utils::Json::JsonView jsonValue)
void SetModelId(const Aws::String &value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue