AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
GroupStatusDetail.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/qbusiness/QBusiness_EXPORTS.h>
9#include <aws/qbusiness/model/ErrorDetail.h>
10#include <aws/qbusiness/model/GroupStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QBusiness {
22namespace Model {
23
30 public:
31 AWS_QBUSINESS_API GroupStatusDetail() = default;
34 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline GroupStatus GetStatus() const { return m_status; }
41 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
42 inline void SetStatus(GroupStatus value) {
43 m_statusHasBeenSet = true;
44 m_status = value;
45 }
47 SetStatus(value);
48 return *this;
49 }
51
53
57 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
58 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
59 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
61 m_lastUpdatedAtHasBeenSet = true;
62 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
63 }
64 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
66 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
67 return *this;
68 }
70
72
75 inline const ErrorDetail& GetErrorDetail() const { return m_errorDetail; }
76 inline bool ErrorDetailHasBeenSet() const { return m_errorDetailHasBeenSet; }
77 template <typename ErrorDetailT = ErrorDetail>
79 m_errorDetailHasBeenSet = true;
80 m_errorDetail = std::forward<ErrorDetailT>(value);
81 }
82 template <typename ErrorDetailT = ErrorDetail>
84 SetErrorDetail(std::forward<ErrorDetailT>(value));
85 return *this;
86 }
88 private:
90
91 Aws::Utils::DateTime m_lastUpdatedAt{};
92
93 ErrorDetail m_errorDetail;
94 bool m_statusHasBeenSet = false;
95 bool m_lastUpdatedAtHasBeenSet = false;
96 bool m_errorDetailHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace QBusiness
101} // namespace Aws
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorDetail(ErrorDetailT &&value)
AWS_QBUSINESS_API GroupStatusDetail()=default
void SetLastUpdatedAt(LastUpdatedAtT &&value)
GroupStatusDetail & WithLastUpdatedAt(LastUpdatedAtT &&value)
GroupStatusDetail & WithErrorDetail(ErrorDetailT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
const ErrorDetail & GetErrorDetail() const
AWS_QBUSINESS_API GroupStatusDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API GroupStatusDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
GroupStatusDetail & WithStatus(GroupStatus value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue