AWS SDK for C++

AWS SDK for C++ Version 1.11.937

Loading...
Searching...
No Matches
ReportStatus.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/cur/CostandUsageReportService_EXPORTS.h>
9#include <aws/cur/model/LastStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CostandUsageReportService {
21namespace Model {
22
32 public:
33 AWS_COSTANDUSAGEREPORTSERVICE_API ReportStatus() = default;
34 AWS_COSTANDUSAGEREPORTSERVICE_API ReportStatus(Aws::Utils::Json::JsonView jsonValue);
35 AWS_COSTANDUSAGEREPORTSERVICE_API ReportStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_COSTANDUSAGEREPORTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetLastDelivery() const { return m_lastDelivery; }
43 inline bool LastDeliveryHasBeenSet() const { return m_lastDeliveryHasBeenSet; }
44 template <typename LastDeliveryT = Aws::String>
45 void SetLastDelivery(LastDeliveryT&& value) {
46 m_lastDeliveryHasBeenSet = true;
47 m_lastDelivery = std::forward<LastDeliveryT>(value);
48 }
49 template <typename LastDeliveryT = Aws::String>
50 ReportStatus& WithLastDelivery(LastDeliveryT&& value) {
51 SetLastDelivery(std::forward<LastDeliveryT>(value));
52 return *this;
53 }
55
57
60 inline LastStatus GetLastStatus() const { return m_lastStatus; }
61 inline bool LastStatusHasBeenSet() const { return m_lastStatusHasBeenSet; }
62 inline void SetLastStatus(LastStatus value) {
63 m_lastStatusHasBeenSet = true;
64 m_lastStatus = value;
65 }
67 SetLastStatus(value);
68 return *this;
69 }
71 private:
72 Aws::String m_lastDelivery;
73
74 LastStatus m_lastStatus{LastStatus::NOT_SET};
75 bool m_lastDeliveryHasBeenSet = false;
76 bool m_lastStatusHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace CostandUsageReportService
81} // namespace Aws
ReportStatus & WithLastStatus(LastStatus value)
AWS_COSTANDUSAGEREPORTSERVICE_API ReportStatus()=default
AWS_COSTANDUSAGEREPORTSERVICE_API ReportStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTANDUSAGEREPORTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ReportStatus & WithLastDelivery(LastDeliveryT &&value)
AWS_COSTANDUSAGEREPORTSERVICE_API ReportStatus(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue