7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mgn/MgnRequest.h>
10#include <aws/mgn/Mgn_EXPORTS.h>
38 template <
typename ApplicationIDT = Aws::String>
40 m_applicationIDHasBeenSet =
true;
41 m_applicationID = std::forward<ApplicationIDT>(value);
43 template <
typename ApplicationIDT = Aws::String>
56 template <
typename SourceServerIDsT = Aws::Vector<Aws::String>>
58 m_sourceServerIDsHasBeenSet =
true;
59 m_sourceServerIDs = std::forward<SourceServerIDsT>(value);
61 template <
typename SourceServerIDsT = Aws::Vector<Aws::String>>
66 template <
typename SourceServerIDsT = Aws::String>
68 m_sourceServerIDsHasBeenSet =
true;
69 m_sourceServerIDs.emplace_back(std::forward<SourceServerIDsT>(value));
80 template <
typename AccountIDT = Aws::String>
82 m_accountIDHasBeenSet =
true;
83 m_accountID = std::forward<AccountIDT>(value);
85 template <
typename AccountIDT = Aws::String>
97 bool m_applicationIDHasBeenSet =
false;
98 bool m_sourceServerIDsHasBeenSet =
false;
99 bool m_accountIDHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetSourceServerIDs() const
void SetApplicationID(ApplicationIDT &&value)
AssociateSourceServersRequest & AddSourceServerIDs(SourceServerIDsT &&value)
AssociateSourceServersRequest & WithAccountID(AccountIDT &&value)
bool AccountIDHasBeenSet() const
AWS_MGN_API Aws::String SerializePayload() const override
const Aws::String & GetAccountID() const
AssociateSourceServersRequest & WithApplicationID(ApplicationIDT &&value)
AWS_MGN_API AssociateSourceServersRequest()=default
bool SourceServerIDsHasBeenSet() const
bool ApplicationIDHasBeenSet() const
void SetAccountID(AccountIDT &&value)
void SetSourceServerIDs(SourceServerIDsT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetApplicationID() const
AssociateSourceServersRequest & WithSourceServerIDs(SourceServerIDsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector