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>
44 inline void SetAccountID(
const char* value) { m_accountIDHasBeenSet =
true; m_accountID.assign(value); }
70 inline void SetSourceServerID(
const char* value) { m_sourceServerIDHasBeenSet =
true; m_sourceServerID.assign(value); }
78 bool m_accountIDHasBeenSet =
false;
81 bool m_connectorActionHasBeenSet =
false;
84 bool m_sourceServerIDHasBeenSet =
false;
void SetConnectorAction(const SourceServerConnectorAction &value)
void SetAccountID(const Aws::String &value)
UpdateSourceServerRequest & WithAccountID(const char *value)
bool ConnectorActionHasBeenSet() const
AWS_MGN_API UpdateSourceServerRequest()
UpdateSourceServerRequest & WithAccountID(Aws::String &&value)
UpdateSourceServerRequest & WithSourceServerID(Aws::String &&value)
UpdateSourceServerRequest & WithConnectorAction(SourceServerConnectorAction &&value)
void SetAccountID(Aws::String &&value)
const SourceServerConnectorAction & GetConnectorAction() const
UpdateSourceServerRequest & WithConnectorAction(const SourceServerConnectorAction &value)
UpdateSourceServerRequest & WithSourceServerID(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateSourceServerRequest & WithAccountID(const Aws::String &value)
bool SourceServerIDHasBeenSet() const
void SetConnectorAction(SourceServerConnectorAction &&value)
void SetSourceServerID(const Aws::String &value)
bool AccountIDHasBeenSet() const
const Aws::String & GetAccountID() const
AWS_MGN_API Aws::String SerializePayload() const override
void SetSourceServerID(Aws::String &&value)
void SetSourceServerID(const char *value)
void SetAccountID(const char *value)
const Aws::String & GetSourceServerID() const
UpdateSourceServerRequest & WithSourceServerID(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String