AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
QuestionSetSummary.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 QuestionSetSummary() = default;
31 AWS_ELEMENTALINFERENCE_API QuestionSetSummary(Aws::Utils::Json::JsonView jsonValue);
32 AWS_ELEMENTALINFERENCE_API QuestionSetSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ELEMENTALINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetArn() const { return m_arn; }
40 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
41 template <typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) {
43 m_arnHasBeenSet = true;
44 m_arn = std::forward<ArnT>(value);
45 }
46 template <typename ArnT = Aws::String>
47 QuestionSetSummary& WithArn(ArnT&& value) {
48 SetArn(std::forward<ArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetId() const { return m_id; }
58 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
59 template <typename IdT = Aws::String>
60 void SetId(IdT&& value) {
61 m_idHasBeenSet = true;
62 m_id = std::forward<IdT>(value);
63 }
64 template <typename IdT = Aws::String>
65 QuestionSetSummary& WithId(IdT&& value) {
66 SetId(std::forward<IdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetName() const { return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 template <typename NameT = Aws::String>
78 void SetName(NameT&& value) {
79 m_nameHasBeenSet = true;
80 m_name = std::forward<NameT>(value);
81 }
82 template <typename NameT = Aws::String>
83 QuestionSetSummary& WithName(NameT&& value) {
84 SetName(std::forward<NameT>(value));
85 return *this;
86 }
88
90
95 inline const Aws::String& GetLatestVersion() const { return m_latestVersion; }
96 inline bool LatestVersionHasBeenSet() const { return m_latestVersionHasBeenSet; }
97 template <typename LatestVersionT = Aws::String>
98 void SetLatestVersion(LatestVersionT&& value) {
99 m_latestVersionHasBeenSet = true;
100 m_latestVersion = std::forward<LatestVersionT>(value);
101 }
102 template <typename LatestVersionT = Aws::String>
103 QuestionSetSummary& WithLatestVersion(LatestVersionT&& value) {
104 SetLatestVersion(std::forward<LatestVersionT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_arn;
110
111 Aws::String m_id;
112
113 Aws::String m_name;
114
115 Aws::String m_latestVersion;
116 bool m_arnHasBeenSet = false;
117 bool m_idHasBeenSet = false;
118 bool m_nameHasBeenSet = false;
119 bool m_latestVersionHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace ElementalInference
124} // namespace Aws
AWS_ELEMENTALINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const
QuestionSetSummary & WithLatestVersion(LatestVersionT &&value)
AWS_ELEMENTALINFERENCE_API QuestionSetSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_ELEMENTALINFERENCE_API QuestionSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ELEMENTALINFERENCE_API QuestionSetSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue