AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
PerObjectStatus.h
Go to the documentation of this file.
1
6#pragma once
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:
44
45
50 inline const PerObjectSyncStatus& GetSyncStatus() const{ return m_syncStatus; }
51
56 inline bool SyncStatusHasBeenSet() const { return m_syncStatusHasBeenSet; }
57
62 inline void SetSyncStatus(const PerObjectSyncStatus& value) { m_syncStatusHasBeenSet = true; m_syncStatus = value; }
63
68 inline void SetSyncStatus(PerObjectSyncStatus&& value) { m_syncStatusHasBeenSet = true; m_syncStatus = std::move(value); }
69
74 inline PerObjectStatus& WithSyncStatus(const PerObjectSyncStatus& value) { SetSyncStatus(value); return *this;}
75
80 inline PerObjectStatus& WithSyncStatus(PerObjectSyncStatus&& value) { SetSyncStatus(std::move(value)); return *this;}
81
82
87 inline const Aws::String& GetUpdateToken() const{ return m_updateToken; }
88
93 inline bool UpdateTokenHasBeenSet() const { return m_updateTokenHasBeenSet; }
94
99 inline void SetUpdateToken(const Aws::String& value) { m_updateTokenHasBeenSet = true; m_updateToken = value; }
100
105 inline void SetUpdateToken(Aws::String&& value) { m_updateTokenHasBeenSet = true; m_updateToken = std::move(value); }
106
111 inline void SetUpdateToken(const char* value) { m_updateTokenHasBeenSet = true; m_updateToken.assign(value); }
112
117 inline PerObjectStatus& WithUpdateToken(const Aws::String& value) { SetUpdateToken(value); return *this;}
118
123 inline PerObjectStatus& WithUpdateToken(Aws::String&& value) { SetUpdateToken(std::move(value)); return *this;}
124
129 inline PerObjectStatus& WithUpdateToken(const char* value) { SetUpdateToken(value); return *this;}
130
131 private:
132
133 PerObjectSyncStatus m_syncStatus;
134 bool m_syncStatusHasBeenSet = false;
135
136 Aws::String m_updateToken;
137 bool m_updateTokenHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace NetworkFirewall
142} // namespace Aws
#define AWS_NETWORKFIREWALL_API
void SetSyncStatus(PerObjectSyncStatus &&value)
void SetSyncStatus(const PerObjectSyncStatus &value)
const Aws::String & GetUpdateToken() const
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