7#include <aws/dlm/DLM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/dlm/model/CrossRegionCopyAction.h>
49 template<
typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
51 template<
typename NameT = Aws::String>
61 template<
typename CrossRegionCopyT = Aws::Vector<CrossRegionCopyAction>>
62 void SetCrossRegionCopy(CrossRegionCopyT&& value) { m_crossRegionCopyHasBeenSet =
true; m_crossRegionCopy = std::forward<CrossRegionCopyT>(value); }
63 template<
typename CrossRegionCopyT = Aws::Vector<CrossRegionCopyAction>>
65 template<
typename CrossRegionCopyT = CrossRegionCopyAction>
66 Action&
AddCrossRegionCopy(CrossRegionCopyT&& value) { m_crossRegionCopyHasBeenSet =
true; m_crossRegionCopy.emplace_back(std::forward<CrossRegionCopyT>(value));
return *
this; }
71 bool m_nameHasBeenSet =
false;
74 bool m_crossRegionCopyHasBeenSet =
false;
const Aws::Vector< CrossRegionCopyAction > & GetCrossRegionCopy() const
bool NameHasBeenSet() const
void SetCrossRegionCopy(CrossRegionCopyT &&value)
Action & WithCrossRegionCopy(CrossRegionCopyT &&value)
AWS_DLM_API Aws::Utils::Json::JsonValue Jsonize() const
Action & WithName(NameT &&value)
bool CrossRegionCopyHasBeenSet() const
AWS_DLM_API Action & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
const Aws::String & GetName() const
Action & AddCrossRegionCopy(CrossRegionCopyT &&value)
AWS_DLM_API Action(Aws::Utils::Json::JsonView jsonValue)
AWS_DLM_API Action()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue