AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SiteToSiteVpnAttachment.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/networkmanager/model/Attachment.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 NetworkManager
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_NETWORKMANAGER_API SiteToSiteVpnAttachment();
36 AWS_NETWORKMANAGER_API SiteToSiteVpnAttachment(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Attachment& GetAttachment() const{ return m_attachment; }
46 inline bool AttachmentHasBeenSet() const { return m_attachmentHasBeenSet; }
47 inline void SetAttachment(const Attachment& value) { m_attachmentHasBeenSet = true; m_attachment = value; }
48 inline void SetAttachment(Attachment&& value) { m_attachmentHasBeenSet = true; m_attachment = std::move(value); }
49 inline SiteToSiteVpnAttachment& WithAttachment(const Attachment& value) { SetAttachment(value); return *this;}
50 inline SiteToSiteVpnAttachment& WithAttachment(Attachment&& value) { SetAttachment(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetVpnConnectionArn() const{ return m_vpnConnectionArn; }
58 inline bool VpnConnectionArnHasBeenSet() const { return m_vpnConnectionArnHasBeenSet; }
59 inline void SetVpnConnectionArn(const Aws::String& value) { m_vpnConnectionArnHasBeenSet = true; m_vpnConnectionArn = value; }
60 inline void SetVpnConnectionArn(Aws::String&& value) { m_vpnConnectionArnHasBeenSet = true; m_vpnConnectionArn = std::move(value); }
61 inline void SetVpnConnectionArn(const char* value) { m_vpnConnectionArnHasBeenSet = true; m_vpnConnectionArn.assign(value); }
62 inline SiteToSiteVpnAttachment& WithVpnConnectionArn(const Aws::String& value) { SetVpnConnectionArn(value); return *this;}
63 inline SiteToSiteVpnAttachment& WithVpnConnectionArn(Aws::String&& value) { SetVpnConnectionArn(std::move(value)); return *this;}
64 inline SiteToSiteVpnAttachment& WithVpnConnectionArn(const char* value) { SetVpnConnectionArn(value); return *this;}
66 private:
67
68 Attachment m_attachment;
69 bool m_attachmentHasBeenSet = false;
70
71 Aws::String m_vpnConnectionArn;
72 bool m_vpnConnectionArnHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace NetworkManager
77} // namespace Aws
AWS_NETWORKMANAGER_API SiteToSiteVpnAttachment & operator=(Aws::Utils::Json::JsonView jsonValue)
SiteToSiteVpnAttachment & WithAttachment(const Attachment &value)
SiteToSiteVpnAttachment & WithVpnConnectionArn(const char *value)
SiteToSiteVpnAttachment & WithVpnConnectionArn(const Aws::String &value)
AWS_NETWORKMANAGER_API SiteToSiteVpnAttachment(Aws::Utils::Json::JsonView jsonValue)
SiteToSiteVpnAttachment & WithAttachment(Attachment &&value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
SiteToSiteVpnAttachment & WithVpnConnectionArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue