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/StartSourceNetworkRecoveryRequestNetworkEntry.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
45 inline void SetDeployAsNew(
bool value) { m_deployAsNewHasBeenSet =
true; m_deployAsNew = value; }
55 template<
typename SourceNetworksT = Aws::Vector<StartSourceNetworkRecoveryRequestNetworkEntry>>
56 void SetSourceNetworks(SourceNetworksT&& value) { m_sourceNetworksHasBeenSet =
true; m_sourceNetworks = std::forward<SourceNetworksT>(value); }
57 template<
typename SourceNetworksT = Aws::Vector<StartSourceNetworkRecoveryRequestNetworkEntry>>
59 template<
typename SourceNetworksT = StartSourceNetworkRecoveryRequestNetworkEntry>
69 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
70 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
71 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
73 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
75 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
80 bool m_deployAsNew{
false};
81 bool m_deployAsNewHasBeenSet =
false;
84 bool m_sourceNetworksHasBeenSet =
false;
87 bool m_tagsHasBeenSet =
false;
StartSourceNetworkRecoveryRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
StartSourceNetworkRecoveryRequest & WithDeployAsNew(bool value)
bool TagsHasBeenSet() const
const Aws::Vector< StartSourceNetworkRecoveryRequestNetworkEntry > & GetSourceNetworks() const
StartSourceNetworkRecoveryRequest & WithTags(TagsT &&value)
bool DeployAsNewHasBeenSet() const
void SetDeployAsNew(bool value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(TagsT &&value)
AWS_DRS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_DRS_API StartSourceNetworkRecoveryRequest()=default
StartSourceNetworkRecoveryRequest & AddSourceNetworks(SourceNetworksT &&value)
bool GetDeployAsNew() const
void SetSourceNetworks(SourceNetworksT &&value)
StartSourceNetworkRecoveryRequest & WithSourceNetworks(SourceNetworksT &&value)
bool SourceNetworksHasBeenSet() const
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