7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mgn/MgnRequest.h>
11#include <aws/mgn/Mgn_EXPORTS.h>
39 template <
typename SourceServerIDsT = Aws::Vector<Aws::String>>
41 m_sourceServerIDsHasBeenSet =
true;
42 m_sourceServerIDs = std::forward<SourceServerIDsT>(value);
44 template <
typename SourceServerIDsT = Aws::Vector<Aws::String>>
49 template <
typename SourceServerIDsT = Aws::String>
51 m_sourceServerIDsHasBeenSet =
true;
52 m_sourceServerIDs.emplace_back(std::forward<SourceServerIDsT>(value));
63 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
65 m_tagsHasBeenSet =
true;
66 m_tags = std::forward<TagsT>(value);
68 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
70 SetTags(std::forward<TagsT>(value));
73 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
75 m_tagsHasBeenSet =
true;
76 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
87 template <
typename AccountIDT = Aws::String>
89 m_accountIDHasBeenSet =
true;
90 m_accountID = std::forward<AccountIDT>(value);
92 template <
typename AccountIDT = Aws::String>
104 bool m_sourceServerIDsHasBeenSet =
false;
105 bool m_tagsHasBeenSet =
false;
106 bool m_accountIDHasBeenSet =
false;
TerminateTargetInstancesRequest & WithAccountID(AccountIDT &&value)
AWS_MGN_API TerminateTargetInstancesRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_MGN_API Aws::String SerializePayload() const override
const Aws::String & GetAccountID() const
void SetAccountID(AccountIDT &&value)
TerminateTargetInstancesRequest & WithSourceServerIDs(SourceServerIDsT &&value)
bool TagsHasBeenSet() const
TerminateTargetInstancesRequest & AddSourceServerIDs(SourceServerIDsT &&value)
bool AccountIDHasBeenSet() const
const Aws::Vector< Aws::String > & GetSourceServerIDs() const
TerminateTargetInstancesRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool SourceServerIDsHasBeenSet() const
void SetTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
TerminateTargetInstancesRequest & WithTags(TagsT &&value)
void SetSourceServerIDs(SourceServerIDsT &&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