AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
QuestionSetReference.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elementalinference/ElementalInference_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ElementalInference {
20namespace Model {
21
29 public:
30 AWS_ELEMENTALINFERENCE_API QuestionSetReference() = default;
31 AWS_ELEMENTALINFERENCE_API QuestionSetReference(Aws::Utils::Json::JsonView jsonValue);
32 AWS_ELEMENTALINFERENCE_API QuestionSetReference& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ELEMENTALINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetQuestionSetId() const { return m_questionSetId; }
40 inline bool QuestionSetIdHasBeenSet() const { return m_questionSetIdHasBeenSet; }
41 template <typename QuestionSetIdT = Aws::String>
42 void SetQuestionSetId(QuestionSetIdT&& value) {
43 m_questionSetIdHasBeenSet = true;
44 m_questionSetId = std::forward<QuestionSetIdT>(value);
45 }
46 template <typename QuestionSetIdT = Aws::String>
47 QuestionSetReference& WithQuestionSetId(QuestionSetIdT&& value) {
48 SetQuestionSetId(std::forward<QuestionSetIdT>(value));
49 return *this;
50 }
52
54
61 inline const Aws::String& GetVersion() const { return m_version; }
62 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
63 template <typename VersionT = Aws::String>
64 void SetVersion(VersionT&& value) {
65 m_versionHasBeenSet = true;
66 m_version = std::forward<VersionT>(value);
67 }
68 template <typename VersionT = Aws::String>
69 QuestionSetReference& WithVersion(VersionT&& value) {
70 SetVersion(std::forward<VersionT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_questionSetId;
76
77 Aws::String m_version;
78 bool m_questionSetIdHasBeenSet = false;
79 bool m_versionHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace ElementalInference
84} // namespace Aws
AWS_ELEMENTALINFERENCE_API QuestionSetReference()=default
AWS_ELEMENTALINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELEMENTALINFERENCE_API QuestionSetReference(Aws::Utils::Json::JsonView jsonValue)
QuestionSetReference & WithQuestionSetId(QuestionSetIdT &&value)
AWS_ELEMENTALINFERENCE_API QuestionSetReference & operator=(Aws::Utils::Json::JsonView jsonValue)
QuestionSetReference & WithVersion(VersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue