7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/redshift/Redshift_EXPORTS.h>
10#include <aws/redshift/model/ResponseMetadata.h>
11#include <aws/redshift/model/SnapshotErrorMessage.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename ResourcesT = Aws::Vector<Aws::String>>
39 m_resourcesHasBeenSet =
true;
40 m_resources = std::forward<ResourcesT>(value);
42 template <
typename ResourcesT = Aws::Vector<Aws::String>>
47 template <
typename ResourcesT = Aws::String>
49 m_resourcesHasBeenSet =
true;
50 m_resources.emplace_back(std::forward<ResourcesT>(value));
60 template <
typename ErrorsT = Aws::Vector<SnapshotErrorMessage>>
62 m_errorsHasBeenSet =
true;
63 m_errors = std::forward<ErrorsT>(value);
65 template <
typename ErrorsT = Aws::Vector<SnapshotErrorMessage>>
70 template <
typename ErrorsT = SnapshotErrorMessage>
72 m_errorsHasBeenSet =
true;
73 m_errors.emplace_back(std::forward<ErrorsT>(value));
81 template <
typename ResponseMetadataT = ResponseMetadata>
83 m_responseMetadataHasBeenSet =
true;
84 m_responseMetadata = std::forward<ResponseMetadataT>(value);
86 template <
typename ResponseMetadataT = ResponseMetadata>
98 bool m_resourcesHasBeenSet =
false;
99 bool m_errorsHasBeenSet =
false;
100 bool m_responseMetadataHasBeenSet =
false;
void SetResources(ResourcesT &&value)
BatchModifyClusterSnapshotsResult & WithResources(ResourcesT &&value)
const Aws::Vector< Aws::String > & GetResources() const
BatchModifyClusterSnapshotsResult & AddErrors(ErrorsT &&value)
BatchModifyClusterSnapshotsResult & WithErrors(ErrorsT &&value)
const Aws::Vector< SnapshotErrorMessage > & GetErrors() const
void SetErrors(ErrorsT &&value)
BatchModifyClusterSnapshotsResult & AddResources(ResourcesT &&value)
AWS_REDSHIFT_API BatchModifyClusterSnapshotsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_REDSHIFT_API BatchModifyClusterSnapshotsResult()=default
BatchModifyClusterSnapshotsResult & WithResponseMetadata(ResponseMetadataT &&value)
const ResponseMetadata & GetResponseMetadata() const
void SetResponseMetadata(ResponseMetadataT &&value)
AWS_REDSHIFT_API BatchModifyClusterSnapshotsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument