AWS SDK for C++  1.9.104
AWS SDK for C++
PerObjectStatus.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace NetworkFirewall
23 {
24 namespace 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;
135 
136  Aws::String m_updateToken;
137  bool m_updateTokenHasBeenSet;
138  };
139 
140 } // namespace Model
141 } // namespace NetworkFirewall
142 } // namespace Aws
Aws::NetworkFirewall::Model::PerObjectStatus::operator=
PerObjectStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::NetworkFirewall::Model::PerObjectStatus::SetUpdateToken
void SetUpdateToken(Aws::String &&value)
Definition: PerObjectStatus.h:105
Aws::NetworkFirewall::Model::PerObjectStatus::WithSyncStatus
PerObjectStatus & WithSyncStatus(const PerObjectSyncStatus &value)
Definition: PerObjectStatus.h:74
Aws::NetworkFirewall::Model::PerObjectStatus::GetUpdateToken
const Aws::String & GetUpdateToken() const
Definition: PerObjectStatus.h:87
Aws::NetworkFirewall::Model::PerObjectStatus::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::NetworkFirewall::Model::PerObjectStatus::SetSyncStatus
void SetSyncStatus(const PerObjectSyncStatus &value)
Definition: PerObjectStatus.h:62
Aws::NetworkFirewall::Model::PerObjectStatus::WithSyncStatus
PerObjectStatus & WithSyncStatus(PerObjectSyncStatus &&value)
Definition: PerObjectStatus.h:80
Aws::NetworkFirewall::Model::PerObjectStatus
Definition: PerObjectStatus.h:38
Aws::NetworkFirewall::Model::PerObjectStatus::SyncStatusHasBeenSet
bool SyncStatusHasBeenSet() const
Definition: PerObjectStatus.h:56
Aws::NetworkFirewall::Model::PerObjectStatus::SetUpdateToken
void SetUpdateToken(const Aws::String &value)
Definition: PerObjectStatus.h:99
Aws::NetworkFirewall::Model::PerObjectStatus::SetUpdateToken
void SetUpdateToken(const char *value)
Definition: PerObjectStatus.h:111
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::NetworkFirewall::Model::PerObjectStatus::WithUpdateToken
PerObjectStatus & WithUpdateToken(Aws::String &&value)
Definition: PerObjectStatus.h:123
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::NetworkFirewall::Model::PerObjectStatus::UpdateTokenHasBeenSet
bool UpdateTokenHasBeenSet() const
Definition: PerObjectStatus.h:93
AWS_NETWORKFIREWALL_API
#define AWS_NETWORKFIREWALL_API
Definition: NetworkFirewall_EXPORTS.h:28
Aws::NetworkFirewall::Model::PerObjectSyncStatus
PerObjectSyncStatus
Definition: PerObjectSyncStatus.h:17
Aws::NetworkFirewall::Model::PerObjectStatus::SetSyncStatus
void SetSyncStatus(PerObjectSyncStatus &&value)
Definition: PerObjectStatus.h:68
Aws::NetworkFirewall::Model::PerObjectStatus::WithUpdateToken
PerObjectStatus & WithUpdateToken(const char *value)
Definition: PerObjectStatus.h:129
Aws::NetworkFirewall::Model::PerObjectStatus::GetSyncStatus
const PerObjectSyncStatus & GetSyncStatus() const
Definition: PerObjectStatus.h:50
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
PerObjectSyncStatus.h
Aws::NetworkFirewall::Model::PerObjectStatus::PerObjectStatus
PerObjectStatus()
Aws::NetworkFirewall::Model::PerObjectStatus::WithUpdateToken
PerObjectStatus & WithUpdateToken(const Aws::String &value)
Definition: PerObjectStatus.h:117
Aws::NetworkFirewall::Model::PerObjectStatus::PerObjectStatus
PerObjectStatus(Aws::Utils::Json::JsonView jsonValue)
NetworkFirewall_EXPORTS.h