7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace OpenSearchService
48 template<
typename SourceVersionT = Aws::String>
49 void SetSourceVersion(SourceVersionT&& value) { m_sourceVersionHasBeenSet =
true; m_sourceVersion = std::forward<SourceVersionT>(value); }
50 template<
typename SourceVersionT = Aws::String>
60 template<
typename TargetVersionsT = Aws::Vector<Aws::String>>
61 void SetTargetVersions(TargetVersionsT&& value) { m_targetVersionsHasBeenSet =
true; m_targetVersions = std::forward<TargetVersionsT>(value); }
62 template<
typename TargetVersionsT = Aws::Vector<Aws::String>>
64 template<
typename TargetVersionsT = Aws::String>
70 bool m_sourceVersionHasBeenSet =
false;
73 bool m_targetVersionsHasBeenSet =
false;
CompatibleVersionsMap & WithSourceVersion(SourceVersionT &&value)
void SetSourceVersion(SourceVersionT &&value)
AWS_OPENSEARCHSERVICE_API CompatibleVersionsMap()=default
bool TargetVersionsHasBeenSet() const
AWS_OPENSEARCHSERVICE_API CompatibleVersionsMap & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSourceVersion() const
bool SourceVersionHasBeenSet() const
CompatibleVersionsMap & WithTargetVersions(TargetVersionsT &&value)
void SetTargetVersions(TargetVersionsT &&value)
const Aws::Vector< Aws::String > & GetTargetVersions() const
CompatibleVersionsMap & AddTargetVersions(TargetVersionsT &&value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API CompatibleVersionsMap(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue