AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PerObjectStatus.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/network-firewall/model/PerObjectSyncStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.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 NetworkFirewall
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_NETWORKFIREWALL_API PerObjectStatus();
41 AWS_NETWORKFIREWALL_API PerObjectStatus(Aws::Utils::Json::JsonView jsonValue);
42 AWS_NETWORKFIREWALL_API PerObjectStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const PerObjectSyncStatus& GetSyncStatus() const{ return m_syncStatus; }
52 inline bool SyncStatusHasBeenSet() const { return m_syncStatusHasBeenSet; }
53 inline void SetSyncStatus(const PerObjectSyncStatus& value) { m_syncStatusHasBeenSet = true; m_syncStatus = value; }
54 inline void SetSyncStatus(PerObjectSyncStatus&& value) { m_syncStatusHasBeenSet = true; m_syncStatus = std::move(value); }
55 inline PerObjectStatus& WithSyncStatus(const PerObjectSyncStatus& value) { SetSyncStatus(value); return *this;}
56 inline PerObjectStatus& WithSyncStatus(PerObjectSyncStatus&& value) { SetSyncStatus(std::move(value)); return *this;}
58
60
64 inline const Aws::String& GetUpdateToken() const{ return m_updateToken; }
65 inline bool UpdateTokenHasBeenSet() const { return m_updateTokenHasBeenSet; }
66 inline void SetUpdateToken(const Aws::String& value) { m_updateTokenHasBeenSet = true; m_updateToken = value; }
67 inline void SetUpdateToken(Aws::String&& value) { m_updateTokenHasBeenSet = true; m_updateToken = std::move(value); }
68 inline void SetUpdateToken(const char* value) { m_updateTokenHasBeenSet = true; m_updateToken.assign(value); }
69 inline PerObjectStatus& WithUpdateToken(const Aws::String& value) { SetUpdateToken(value); return *this;}
70 inline PerObjectStatus& WithUpdateToken(Aws::String&& value) { SetUpdateToken(std::move(value)); return *this;}
71 inline PerObjectStatus& WithUpdateToken(const char* value) { SetUpdateToken(value); return *this;}
73 private:
74
75 PerObjectSyncStatus m_syncStatus;
76 bool m_syncStatusHasBeenSet = false;
77
78 Aws::String m_updateToken;
79 bool m_updateTokenHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace NetworkFirewall
84} // namespace Aws
void SetSyncStatus(PerObjectSyncStatus &&value)
void SetSyncStatus(const PerObjectSyncStatus &value)
PerObjectStatus & WithSyncStatus(PerObjectSyncStatus &&value)
AWS_NETWORKFIREWALL_API PerObjectStatus()
AWS_NETWORKFIREWALL_API PerObjectStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
PerObjectStatus & WithUpdateToken(const char *value)
PerObjectStatus & WithSyncStatus(const PerObjectSyncStatus &value)
AWS_NETWORKFIREWALL_API PerObjectStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUpdateToken(const Aws::String &value)
PerObjectStatus & WithUpdateToken(const Aws::String &value)
PerObjectStatus & WithUpdateToken(Aws::String &&value)
const PerObjectSyncStatus & GetSyncStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue