AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExportSummary.h
1
6#pragma once
7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mailmanager/model/ExportStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MailManager
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MAILMANAGER_API ExportSummary();
36 AWS_MAILMANAGER_API ExportSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MAILMANAGER_API ExportSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetExportId() const{ return m_exportId; }
46 inline bool ExportIdHasBeenSet() const { return m_exportIdHasBeenSet; }
47 inline void SetExportId(const Aws::String& value) { m_exportIdHasBeenSet = true; m_exportId = value; }
48 inline void SetExportId(Aws::String&& value) { m_exportIdHasBeenSet = true; m_exportId = std::move(value); }
49 inline void SetExportId(const char* value) { m_exportIdHasBeenSet = true; m_exportId.assign(value); }
50 inline ExportSummary& WithExportId(const Aws::String& value) { SetExportId(value); return *this;}
51 inline ExportSummary& WithExportId(Aws::String&& value) { SetExportId(std::move(value)); return *this;}
52 inline ExportSummary& WithExportId(const char* value) { SetExportId(value); return *this;}
54
56
59 inline const ExportStatus& GetStatus() const{ return m_status; }
60 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
61 inline void SetStatus(const ExportStatus& value) { m_statusHasBeenSet = true; m_status = value; }
62 inline void SetStatus(ExportStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
63 inline ExportSummary& WithStatus(const ExportStatus& value) { SetStatus(value); return *this;}
64 inline ExportSummary& WithStatus(ExportStatus&& value) { SetStatus(std::move(value)); return *this;}
66 private:
67
68 Aws::String m_exportId;
69 bool m_exportIdHasBeenSet = false;
70
71 ExportStatus m_status;
72 bool m_statusHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace MailManager
77} // namespace Aws
AWS_MAILMANAGER_API ExportSummary(Aws::Utils::Json::JsonView jsonValue)
void SetExportId(const char *value)
ExportSummary & WithStatus(const ExportStatus &value)
void SetStatus(const ExportStatus &value)
ExportSummary & WithExportId(Aws::String &&value)
const Aws::String & GetExportId() const
ExportSummary & WithExportId(const char *value)
ExportSummary & WithExportId(const Aws::String &value)
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MAILMANAGER_API ExportSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const ExportStatus & GetStatus() const
void SetExportId(const Aws::String &value)
void SetExportId(Aws::String &&value)
void SetStatus(ExportStatus &&value)
ExportSummary & WithStatus(ExportStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue