AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AssociateMacSecKeyRequest.h
1
6#pragma once
7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/directconnect/DirectConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace DirectConnect
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_DIRECTCONNECT_API AssociateMacSecKeyRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "AssociateMacSecKey"; }
31
32 AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override;
33
34 AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
43 inline const Aws::String& GetConnectionId() const { return m_connectionId; }
44 inline bool ConnectionIdHasBeenSet() const { return m_connectionIdHasBeenSet; }
45 template<typename ConnectionIdT = Aws::String>
46 void SetConnectionId(ConnectionIdT&& value) { m_connectionIdHasBeenSet = true; m_connectionId = std::forward<ConnectionIdT>(value); }
47 template<typename ConnectionIdT = Aws::String>
48 AssociateMacSecKeyRequest& WithConnectionId(ConnectionIdT&& value) { SetConnectionId(std::forward<ConnectionIdT>(value)); return *this;}
50
52
59 inline const Aws::String& GetSecretARN() const { return m_secretARN; }
60 inline bool SecretARNHasBeenSet() const { return m_secretARNHasBeenSet; }
61 template<typename SecretARNT = Aws::String>
62 void SetSecretARN(SecretARNT&& value) { m_secretARNHasBeenSet = true; m_secretARN = std::forward<SecretARNT>(value); }
63 template<typename SecretARNT = Aws::String>
64 AssociateMacSecKeyRequest& WithSecretARN(SecretARNT&& value) { SetSecretARN(std::forward<SecretARNT>(value)); return *this;}
66
68
75 inline const Aws::String& GetCkn() const { return m_ckn; }
76 inline bool CknHasBeenSet() const { return m_cknHasBeenSet; }
77 template<typename CknT = Aws::String>
78 void SetCkn(CknT&& value) { m_cknHasBeenSet = true; m_ckn = std::forward<CknT>(value); }
79 template<typename CknT = Aws::String>
80 AssociateMacSecKeyRequest& WithCkn(CknT&& value) { SetCkn(std::forward<CknT>(value)); return *this;}
82
84
91 inline const Aws::String& GetCak() const { return m_cak; }
92 inline bool CakHasBeenSet() const { return m_cakHasBeenSet; }
93 template<typename CakT = Aws::String>
94 void SetCak(CakT&& value) { m_cakHasBeenSet = true; m_cak = std::forward<CakT>(value); }
95 template<typename CakT = Aws::String>
96 AssociateMacSecKeyRequest& WithCak(CakT&& value) { SetCak(std::forward<CakT>(value)); return *this;}
98 private:
99
100 Aws::String m_connectionId;
101 bool m_connectionIdHasBeenSet = false;
102
103 Aws::String m_secretARN;
104 bool m_secretARNHasBeenSet = false;
105
106 Aws::String m_ckn;
107 bool m_cknHasBeenSet = false;
108
109 Aws::String m_cak;
110 bool m_cakHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace DirectConnect
115} // namespace Aws
AssociateMacSecKeyRequest & WithConnectionId(ConnectionIdT &&value)
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AssociateMacSecKeyRequest & WithSecretARN(SecretARNT &&value)
virtual const char * GetServiceRequestName() const override
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
AWS_DIRECTCONNECT_API AssociateMacSecKeyRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String