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/drs/DrsRequest.h>
11#include <aws/drs/Drs_EXPORTS.h>
12#include <aws/drs/model/StartRecoveryRequestSourceServer.h>
41 m_isDrillHasBeenSet =
true;
56 template <
typename SourceServersT = Aws::Vector<StartRecoveryRequestSourceServer>>
58 m_sourceServersHasBeenSet =
true;
59 m_sourceServers = std::forward<SourceServersT>(value);
61 template <
typename SourceServersT = Aws::Vector<StartRecoveryRequestSourceServer>>
66 template <
typename SourceServersT = StartRecoveryRequestSourceServer>
68 m_sourceServersHasBeenSet =
true;
69 m_sourceServers.emplace_back(std::forward<SourceServersT>(value));
80 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
82 m_tagsHasBeenSet =
true;
83 m_tags = std::forward<TagsT>(value);
85 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
87 SetTags(std::forward<TagsT>(value));
90 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
92 m_tagsHasBeenSet =
true;
93 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
98 bool m_isDrill{
false};
103 bool m_isDrillHasBeenSet =
false;
104 bool m_sourceServersHasBeenSet =
false;
105 bool m_tagsHasBeenSet =
false;
StartRecoveryRequest & AddSourceServers(SourceServersT &&value)
void SetTags(TagsT &&value)
AWS_DRS_API Aws::String SerializePayload() const override
bool TagsHasBeenSet() const
StartRecoveryRequest & WithTags(TagsT &&value)
AWS_DRS_API StartRecoveryRequest()=default
void SetIsDrill(bool value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
StartRecoveryRequest & WithSourceServers(SourceServersT &&value)
StartRecoveryRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool SourceServersHasBeenSet() const
const Aws::Vector< StartRecoveryRequestSourceServer > & GetSourceServers() const
bool IsDrillHasBeenSet() const
void SetSourceServers(SourceServersT &&value)
StartRecoveryRequest & WithIsDrill(bool value)
virtual const char * GetServiceRequestName() const override
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