AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
SourceServerConnectorAction.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mgn/Mgn_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace mgn {
20namespace Model {
21
28 public:
29 AWS_MGN_API SourceServerConnectorAction() = default;
33
35
38 inline const Aws::String& GetCredentialsSecretArn() const { return m_credentialsSecretArn; }
39 inline bool CredentialsSecretArnHasBeenSet() const { return m_credentialsSecretArnHasBeenSet; }
40 template <typename CredentialsSecretArnT = Aws::String>
41 void SetCredentialsSecretArn(CredentialsSecretArnT&& value) {
42 m_credentialsSecretArnHasBeenSet = true;
43 m_credentialsSecretArn = std::forward<CredentialsSecretArnT>(value);
44 }
45 template <typename CredentialsSecretArnT = Aws::String>
46 SourceServerConnectorAction& WithCredentialsSecretArn(CredentialsSecretArnT&& value) {
47 SetCredentialsSecretArn(std::forward<CredentialsSecretArnT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetConnectorArn() const { return m_connectorArn; }
57 inline bool ConnectorArnHasBeenSet() const { return m_connectorArnHasBeenSet; }
58 template <typename ConnectorArnT = Aws::String>
59 void SetConnectorArn(ConnectorArnT&& value) {
60 m_connectorArnHasBeenSet = true;
61 m_connectorArn = std::forward<ConnectorArnT>(value);
62 }
63 template <typename ConnectorArnT = Aws::String>
65 SetConnectorArn(std::forward<ConnectorArnT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_credentialsSecretArn;
71
72 Aws::String m_connectorArn;
73 bool m_credentialsSecretArnHasBeenSet = false;
74 bool m_connectorArnHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace mgn
79} // namespace Aws
SourceServerConnectorAction & WithConnectorArn(ConnectorArnT &&value)
SourceServerConnectorAction & WithCredentialsSecretArn(CredentialsSecretArnT &&value)
AWS_MGN_API SourceServerConnectorAction()=default
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MGN_API SourceServerConnectorAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MGN_API SourceServerConnectorAction(Aws::Utils::Json::JsonView jsonValue)
void SetCredentialsSecretArn(CredentialsSecretArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue