AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
37 AWS_QBUSINESS_API GroupStatusDetail(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const GroupStatus& GetStatus() const{ return m_status; }
47 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
48 inline void SetStatus(const GroupStatus& value) { m_statusHasBeenSet = true; m_status = value; }
49 inline void SetStatus(GroupStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
50 inline GroupStatusDetail& WithStatus(const GroupStatus& value) { SetStatus(value); return *this;}
51 inline GroupStatusDetail& WithStatus(GroupStatus&& value) { SetStatus(std::move(value)); return *this;}
53
55
59 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
60 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
61 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
62 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
63 inline GroupStatusDetail& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
64 inline GroupStatusDetail& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
66
68
71 inline const ErrorDetail& GetErrorDetail() const{ return m_errorDetail; }
72 inline bool ErrorDetailHasBeenSet() const { return m_errorDetailHasBeenSet; }
73 inline void SetErrorDetail(const ErrorDetail& value) { m_errorDetailHasBeenSet = true; m_errorDetail = value; }
74 inline void SetErrorDetail(ErrorDetail&& value) { m_errorDetailHasBeenSet = true; m_errorDetail = std::move(value); }
75 inline GroupStatusDetail& WithErrorDetail(const ErrorDetail& value) { SetErrorDetail(value); return *this;}
76 inline GroupStatusDetail& WithErrorDetail(ErrorDetail&& value) { SetErrorDetail(std::move(value)); return *this;}
78 private:
79
80 GroupStatus m_status;
81 bool m_statusHasBeenSet = false;
82
83 Aws::Utils::DateTime m_lastUpdatedAt;
84 bool m_lastUpdatedAtHasBeenSet = false;
85
86 ErrorDetail m_errorDetail;
87 bool m_errorDetailHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace QBusiness
92} // namespace Aws
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
GroupStatusDetail & WithStatus(GroupStatus &&value)
GroupStatusDetail & WithErrorDetail(const ErrorDetail &value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
GroupStatusDetail & WithErrorDetail(ErrorDetail &&value)
GroupStatusDetail & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
void SetStatus(const GroupStatus &value)
GroupStatusDetail & WithStatus(const GroupStatus &value)
void SetErrorDetail(const ErrorDetail &value)
const ErrorDetail & GetErrorDetail() const
GroupStatusDetail & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
AWS_QBUSINESS_API GroupStatusDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API GroupStatusDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue