7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/MgnRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mgn/model/SourceServerConnectorAction.h>
42 template<
typename AccountIDT = Aws::String>
43 void SetAccountID(AccountIDT&& value) { m_accountIDHasBeenSet =
true; m_accountID = std::forward<AccountIDT>(value); }
44 template<
typename AccountIDT = Aws::String>
54 template<
typename ConnectorActionT = SourceServerConnectorAction>
55 void SetConnectorAction(ConnectorActionT&& value) { m_connectorActionHasBeenSet =
true; m_connectorAction = std::forward<ConnectorActionT>(value); }
56 template<
typename ConnectorActionT = SourceServerConnectorAction>
66 template<
typename SourceServerIDT = Aws::String>
67 void SetSourceServerID(SourceServerIDT&& value) { m_sourceServerIDHasBeenSet =
true; m_sourceServerID = std::forward<SourceServerIDT>(value); }
68 template<
typename SourceServerIDT = Aws::String>
74 bool m_accountIDHasBeenSet =
false;
77 bool m_connectorActionHasBeenSet =
false;
80 bool m_sourceServerIDHasBeenSet =
false;
void SetConnectorAction(ConnectorActionT &&value)
bool ConnectorActionHasBeenSet() const
void SetSourceServerID(SourceServerIDT &&value)
void SetAccountID(AccountIDT &&value)
const SourceServerConnectorAction & GetConnectorAction() const
AWS_MGN_API UpdateSourceServerRequest()=default
virtual const char * GetServiceRequestName() const override
bool SourceServerIDHasBeenSet() const
bool AccountIDHasBeenSet() const
const Aws::String & GetAccountID() const
AWS_MGN_API Aws::String SerializePayload() const override
UpdateSourceServerRequest & WithSourceServerID(SourceServerIDT &&value)
UpdateSourceServerRequest & WithConnectorAction(ConnectorActionT &&value)
UpdateSourceServerRequest & WithAccountID(AccountIDT &&value)
const Aws::String & GetSourceServerID() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String