7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/model/Tag.h>
51 template<
typename SourceOptionGroupIdentifierT = Aws::String>
52 void SetSourceOptionGroupIdentifier(SourceOptionGroupIdentifierT&& value) { m_sourceOptionGroupIdentifierHasBeenSet =
true; m_sourceOptionGroupIdentifier = std::forward<SourceOptionGroupIdentifierT>(value); }
53 template<
typename SourceOptionGroupIdentifierT = Aws::String>
67 template<
typename TargetOptionGroupIdentifierT = Aws::String>
68 void SetTargetOptionGroupIdentifier(TargetOptionGroupIdentifierT&& value) { m_targetOptionGroupIdentifierHasBeenSet =
true; m_targetOptionGroupIdentifier = std::forward<TargetOptionGroupIdentifierT>(value); }
69 template<
typename TargetOptionGroupIdentifierT = Aws::String>
79 template<
typename TargetOptionGroupDescriptionT = Aws::String>
80 void SetTargetOptionGroupDescription(TargetOptionGroupDescriptionT&& value) { m_targetOptionGroupDescriptionHasBeenSet =
true; m_targetOptionGroupDescription = std::forward<TargetOptionGroupDescriptionT>(value); }
81 template<
typename TargetOptionGroupDescriptionT = Aws::String>
89 template<
typename TagsT = Aws::Vector<Tag>>
90 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
91 template<
typename TagsT = Aws::Vector<Tag>>
93 template<
typename TagsT = Tag>
99 bool m_sourceOptionGroupIdentifierHasBeenSet =
false;
102 bool m_targetOptionGroupIdentifierHasBeenSet =
false;
105 bool m_targetOptionGroupDescriptionHasBeenSet =
false;
108 bool m_tagsHasBeenSet =
false;
bool SourceOptionGroupIdentifierHasBeenSet() const
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetTargetOptionGroupDescription() const
const Aws::String & GetTargetOptionGroupIdentifier() const
void SetSourceOptionGroupIdentifier(SourceOptionGroupIdentifierT &&value)
AWS_RDS_API Aws::String SerializePayload() const override
void SetTargetOptionGroupDescription(TargetOptionGroupDescriptionT &&value)
CopyOptionGroupRequest & WithTags(TagsT &&value)
AWS_RDS_API CopyOptionGroupRequest()=default
void SetTargetOptionGroupIdentifier(TargetOptionGroupIdentifierT &&value)
void SetTags(TagsT &&value)
const Aws::Vector< Tag > & GetTags() const
CopyOptionGroupRequest & WithTargetOptionGroupDescription(TargetOptionGroupDescriptionT &&value)
CopyOptionGroupRequest & AddTags(TagsT &&value)
bool TagsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool TargetOptionGroupDescriptionHasBeenSet() const
CopyOptionGroupRequest & WithSourceOptionGroupIdentifier(SourceOptionGroupIdentifierT &&value)
bool TargetOptionGroupIdentifierHasBeenSet() const
const Aws::String & GetSourceOptionGroupIdentifier() const
CopyOptionGroupRequest & WithTargetOptionGroupIdentifier(TargetOptionGroupIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector