AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchSummary.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/SearchStatus.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 SearchSummary();
36 AWS_MAILMANAGER_API SearchSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MAILMANAGER_API SearchSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetSearchId() const{ return m_searchId; }
46 inline bool SearchIdHasBeenSet() const { return m_searchIdHasBeenSet; }
47 inline void SetSearchId(const Aws::String& value) { m_searchIdHasBeenSet = true; m_searchId = value; }
48 inline void SetSearchId(Aws::String&& value) { m_searchIdHasBeenSet = true; m_searchId = std::move(value); }
49 inline void SetSearchId(const char* value) { m_searchIdHasBeenSet = true; m_searchId.assign(value); }
50 inline SearchSummary& WithSearchId(const Aws::String& value) { SetSearchId(value); return *this;}
51 inline SearchSummary& WithSearchId(Aws::String&& value) { SetSearchId(std::move(value)); return *this;}
52 inline SearchSummary& WithSearchId(const char* value) { SetSearchId(value); return *this;}
54
56
59 inline const SearchStatus& GetStatus() const{ return m_status; }
60 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
61 inline void SetStatus(const SearchStatus& value) { m_statusHasBeenSet = true; m_status = value; }
62 inline void SetStatus(SearchStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
63 inline SearchSummary& WithStatus(const SearchStatus& value) { SetStatus(value); return *this;}
64 inline SearchSummary& WithStatus(SearchStatus&& value) { SetStatus(std::move(value)); return *this;}
66 private:
67
68 Aws::String m_searchId;
69 bool m_searchIdHasBeenSet = false;
70
71 SearchStatus m_status;
72 bool m_statusHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace MailManager
77} // namespace Aws
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(SearchStatus &&value)
SearchSummary & WithStatus(const SearchStatus &value)
void SetSearchId(Aws::String &&value)
void SetSearchId(const char *value)
const SearchStatus & GetStatus() const
void SetSearchId(const Aws::String &value)
const Aws::String & GetSearchId() const
SearchSummary & WithSearchId(Aws::String &&value)
SearchSummary & WithSearchId(const char *value)
SearchSummary & WithSearchId(const Aws::String &value)
void SetStatus(const SearchStatus &value)
AWS_MAILMANAGER_API SearchSummary(Aws::Utils::Json::JsonView jsonValue)
SearchSummary & WithStatus(SearchStatus &&value)
AWS_MAILMANAGER_API SearchSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue