AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
38
39
41
44 inline const Aws::String& GetConnectorArn() const{ return m_connectorArn; }
45 inline bool ConnectorArnHasBeenSet() const { return m_connectorArnHasBeenSet; }
46 inline void SetConnectorArn(const Aws::String& value) { m_connectorArnHasBeenSet = true; m_connectorArn = value; }
47 inline void SetConnectorArn(Aws::String&& value) { m_connectorArnHasBeenSet = true; m_connectorArn = std::move(value); }
48 inline void SetConnectorArn(const char* value) { m_connectorArnHasBeenSet = true; m_connectorArn.assign(value); }
49 inline SourceServerConnectorAction& WithConnectorArn(const Aws::String& value) { SetConnectorArn(value); return *this;}
50 inline SourceServerConnectorAction& WithConnectorArn(Aws::String&& value) { SetConnectorArn(std::move(value)); return *this;}
51 inline SourceServerConnectorAction& WithConnectorArn(const char* value) { SetConnectorArn(value); return *this;}
53
55
58 inline const Aws::String& GetCredentialsSecretArn() const{ return m_credentialsSecretArn; }
59 inline bool CredentialsSecretArnHasBeenSet() const { return m_credentialsSecretArnHasBeenSet; }
60 inline void SetCredentialsSecretArn(const Aws::String& value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn = value; }
61 inline void SetCredentialsSecretArn(Aws::String&& value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn = std::move(value); }
62 inline void SetCredentialsSecretArn(const char* value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn.assign(value); }
65 inline SourceServerConnectorAction& WithCredentialsSecretArn(const char* value) { SetCredentialsSecretArn(value); return *this;}
67 private:
68
69 Aws::String m_connectorArn;
70 bool m_connectorArnHasBeenSet = false;
71
72 Aws::String m_credentialsSecretArn;
73 bool m_credentialsSecretArnHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace mgn
78} // namespace Aws
SourceServerConnectorAction & WithConnectorArn(const Aws::String &value)
SourceServerConnectorAction & WithCredentialsSecretArn(const char *value)
SourceServerConnectorAction & WithCredentialsSecretArn(const Aws::String &value)
SourceServerConnectorAction & WithCredentialsSecretArn(Aws::String &&value)
SourceServerConnectorAction & WithConnectorArn(const char *value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MGN_API SourceServerConnectorAction & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceServerConnectorAction & WithConnectorArn(Aws::String &&value)
AWS_MGN_API SourceServerConnectorAction(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue