AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SourceServerConnectorAction.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 mgn
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MGN_API SourceServerConnectorAction() = default;
38
39
41
44 inline const Aws::String& GetConnectorArn() const { return m_connectorArn; }
45 inline bool ConnectorArnHasBeenSet() const { return m_connectorArnHasBeenSet; }
46 template<typename ConnectorArnT = Aws::String>
47 void SetConnectorArn(ConnectorArnT&& value) { m_connectorArnHasBeenSet = true; m_connectorArn = std::forward<ConnectorArnT>(value); }
48 template<typename ConnectorArnT = Aws::String>
49 SourceServerConnectorAction& WithConnectorArn(ConnectorArnT&& value) { SetConnectorArn(std::forward<ConnectorArnT>(value)); return *this;}
51
53
56 inline const Aws::String& GetCredentialsSecretArn() const { return m_credentialsSecretArn; }
57 inline bool CredentialsSecretArnHasBeenSet() const { return m_credentialsSecretArnHasBeenSet; }
58 template<typename CredentialsSecretArnT = Aws::String>
59 void SetCredentialsSecretArn(CredentialsSecretArnT&& value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn = std::forward<CredentialsSecretArnT>(value); }
60 template<typename CredentialsSecretArnT = Aws::String>
61 SourceServerConnectorAction& WithCredentialsSecretArn(CredentialsSecretArnT&& value) { SetCredentialsSecretArn(std::forward<CredentialsSecretArnT>(value)); return *this;}
63 private:
64
65 Aws::String m_connectorArn;
66 bool m_connectorArnHasBeenSet = false;
67
68 Aws::String m_credentialsSecretArn;
69 bool m_credentialsSecretArnHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace mgn
74} // 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