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/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
45 inline void SetAccountID(
const char* value) { m_accountIDHasBeenSet =
true; m_accountID.assign(value); }
82 inline StartTestRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
87 bool m_accountIDHasBeenSet =
false;
90 bool m_sourceServerIDsHasBeenSet =
false;
93 bool m_tagsHasBeenSet =
false;
void SetAccountID(const Aws::String &value)
StartTestRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
bool TagsHasBeenSet() const
StartTestRequest & AddTags(const char *key, const char *value)
StartTestRequest & WithAccountID(const Aws::String &value)
bool AccountIDHasBeenSet() const
StartTestRequest & WithAccountID(Aws::String &&value)
StartTestRequest & AddTags(Aws::String &&key, Aws::String &&value)
StartTestRequest & AddTags(const char *key, Aws::String &&value)
StartTestRequest & AddSourceServerIDs(const Aws::String &value)
StartTestRequest & WithAccountID(const char *value)
AWS_MGN_API Aws::String SerializePayload() const override
AWS_MGN_API StartTestRequest()
StartTestRequest & AddSourceServerIDs(const char *value)
void SetSourceServerIDs(Aws::Vector< Aws::String > &&value)
StartTestRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
virtual const char * GetServiceRequestName() const override
StartTestRequest & WithSourceServerIDs(const Aws::Vector< Aws::String > &value)
StartTestRequest & AddSourceServerIDs(Aws::String &&value)
void SetAccountID(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool SourceServerIDsHasBeenSet() const
StartTestRequest & AddTags(Aws::String &&key, const Aws::String &value)
StartTestRequest & AddTags(Aws::String &&key, const char *value)
StartTestRequest & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::String & GetAccountID() const
void SetAccountID(const char *value)
const Aws::Vector< Aws::String > & GetSourceServerIDs() const
StartTestRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetSourceServerIDs(const Aws::Vector< Aws::String > &value)
StartTestRequest & WithSourceServerIDs(Aws::Vector< Aws::String > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector