AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
QuestionSetVersionSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elementalinference/ElementalInference_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ElementalInference {
21namespace Model {
22
30 public:
31 AWS_ELEMENTALINFERENCE_API QuestionSetVersionSummary() = default;
32 AWS_ELEMENTALINFERENCE_API QuestionSetVersionSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ELEMENTALINFERENCE_API QuestionSetVersionSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_ELEMENTALINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetVersion() const { return m_version; }
41 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
42 template <typename VersionT = Aws::String>
43 void SetVersion(VersionT&& value) {
44 m_versionHasBeenSet = true;
45 m_version = std::forward<VersionT>(value);
46 }
47 template <typename VersionT = Aws::String>
49 SetVersion(std::forward<VersionT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::String& GetDescription() const { return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 template <typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) {
64 m_descriptionHasBeenSet = true;
65 m_description = std::forward<DescriptionT>(value);
66 }
67 template <typename DescriptionT = Aws::String>
69 SetDescription(std::forward<DescriptionT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetSha256() const { return m_sha256; }
80 inline bool Sha256HasBeenSet() const { return m_sha256HasBeenSet; }
81 template <typename Sha256T = Aws::String>
82 void SetSha256(Sha256T&& value) {
83 m_sha256HasBeenSet = true;
84 m_sha256 = std::forward<Sha256T>(value);
85 }
86 template <typename Sha256T = Aws::String>
88 SetSha256(std::forward<Sha256T>(value));
89 return *this;
90 }
92
94
98 inline const Aws::Utils::DateTime& GetLastModifiedAt() const { return m_lastModifiedAt; }
99 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
100 template <typename LastModifiedAtT = Aws::Utils::DateTime>
101 void SetLastModifiedAt(LastModifiedAtT&& value) {
102 m_lastModifiedAtHasBeenSet = true;
103 m_lastModifiedAt = std::forward<LastModifiedAtT>(value);
104 }
105 template <typename LastModifiedAtT = Aws::Utils::DateTime>
107 SetLastModifiedAt(std::forward<LastModifiedAtT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_version;
113
114 Aws::String m_description;
115
116 Aws::String m_sha256;
117
118 Aws::Utils::DateTime m_lastModifiedAt{};
119 bool m_versionHasBeenSet = false;
120 bool m_descriptionHasBeenSet = false;
121 bool m_sha256HasBeenSet = false;
122 bool m_lastModifiedAtHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace ElementalInference
127} // namespace Aws
QuestionSetVersionSummary & WithLastModifiedAt(LastModifiedAtT &&value)
QuestionSetVersionSummary & WithDescription(DescriptionT &&value)
QuestionSetVersionSummary & WithSha256(Sha256T &&value)
AWS_ELEMENTALINFERENCE_API QuestionSetVersionSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_ELEMENTALINFERENCE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELEMENTALINFERENCE_API QuestionSetVersionSummary()=default
QuestionSetVersionSummary & WithVersion(VersionT &&value)
AWS_ELEMENTALINFERENCE_API QuestionSetVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue