AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GroupStatusDetail.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/GroupStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/qbusiness/model/ErrorDetail.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QBusiness
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_QBUSINESS_API GroupStatusDetail() = default;
39 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline GroupStatus GetStatus() const { return m_status; }
47 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
48 inline void SetStatus(GroupStatus value) { m_statusHasBeenSet = true; m_status = value; }
49 inline GroupStatusDetail& WithStatus(GroupStatus value) { SetStatus(value); return *this;}
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>
60 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
61 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
62 GroupStatusDetail& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
64
66
69 inline const ErrorDetail& GetErrorDetail() const { return m_errorDetail; }
70 inline bool ErrorDetailHasBeenSet() const { return m_errorDetailHasBeenSet; }
71 template<typename ErrorDetailT = ErrorDetail>
72 void SetErrorDetail(ErrorDetailT&& value) { m_errorDetailHasBeenSet = true; m_errorDetail = std::forward<ErrorDetailT>(value); }
73 template<typename ErrorDetailT = ErrorDetail>
74 GroupStatusDetail& WithErrorDetail(ErrorDetailT&& value) { SetErrorDetail(std::forward<ErrorDetailT>(value)); return *this;}
76 private:
77
79 bool m_statusHasBeenSet = false;
80
81 Aws::Utils::DateTime m_lastUpdatedAt{};
82 bool m_lastUpdatedAtHasBeenSet = false;
83
84 ErrorDetail m_errorDetail;
85 bool m_errorDetailHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace QBusiness
90} // 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