AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AZSyncState.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/network-firewall/model/Attachment.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace NetworkFirewall
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_NETWORKFIREWALL_API AZSyncState() = default;
36 AWS_NETWORKFIREWALL_API AZSyncState(Aws::Utils::Json::JsonView jsonValue);
37 AWS_NETWORKFIREWALL_API AZSyncState& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const Attachment& GetAttachment() const { return m_attachment; }
44 inline bool AttachmentHasBeenSet() const { return m_attachmentHasBeenSet; }
45 template<typename AttachmentT = Attachment>
46 void SetAttachment(AttachmentT&& value) { m_attachmentHasBeenSet = true; m_attachment = std::forward<AttachmentT>(value); }
47 template<typename AttachmentT = Attachment>
48 AZSyncState& WithAttachment(AttachmentT&& value) { SetAttachment(std::forward<AttachmentT>(value)); return *this;}
50 private:
51
52 Attachment m_attachment;
53 bool m_attachmentHasBeenSet = false;
54 };
55
56} // namespace Model
57} // namespace NetworkFirewall
58} // namespace Aws
const Attachment & GetAttachment() const
Definition AZSyncState.h:43
void SetAttachment(AttachmentT &&value)
Definition AZSyncState.h:46
AZSyncState & WithAttachment(AttachmentT &&value)
Definition AZSyncState.h:48
AWS_NETWORKFIREWALL_API AZSyncState(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKFIREWALL_API AZSyncState & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKFIREWALL_API AZSyncState()=default
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue