7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/drs/DrsRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/drs/model/StartRecoveryRequestSourceServer.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
44 inline void SetIsDrill(
bool value) { m_isDrillHasBeenSet =
true; m_isDrill = value; }
54 template<
typename SourceServersT = Aws::Vector<StartRecoveryRequestSourceServer>>
55 void SetSourceServers(SourceServersT&& value) { m_sourceServersHasBeenSet =
true; m_sourceServers = std::forward<SourceServersT>(value); }
56 template<
typename SourceServersT = Aws::Vector<StartRecoveryRequestSourceServer>>
58 template<
typename SourceServersT = StartRecoveryRequestSourceServer>
68 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
69 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
70 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
72 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
74 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
79 bool m_isDrill{
false};
80 bool m_isDrillHasBeenSet =
false;
83 bool m_sourceServersHasBeenSet =
false;
86 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