7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/inspector2/model/CodeSnippetResult.h>
11#include <aws/inspector2/model/CodeSnippetError.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
70 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
const Aws::Vector< CodeSnippetError > & GetErrors() const
void SetRequestId(Aws::String &&value)
const Aws::Vector< CodeSnippetResult > & GetCodeSnippetResults() const
BatchGetCodeSnippetResult & AddCodeSnippetResults(const CodeSnippetResult &value)
BatchGetCodeSnippetResult & WithErrors(const Aws::Vector< CodeSnippetError > &value)
void SetRequestId(const Aws::String &value)
BatchGetCodeSnippetResult & AddErrors(const CodeSnippetError &value)
const Aws::String & GetRequestId() const
AWS_INSPECTOR2_API BatchGetCodeSnippetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetErrors(const Aws::Vector< CodeSnippetError > &value)
BatchGetCodeSnippetResult & WithCodeSnippetResults(Aws::Vector< CodeSnippetResult > &&value)
BatchGetCodeSnippetResult & WithErrors(Aws::Vector< CodeSnippetError > &&value)
AWS_INSPECTOR2_API BatchGetCodeSnippetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetCodeSnippetResult & WithRequestId(Aws::String &&value)
BatchGetCodeSnippetResult & WithRequestId(const Aws::String &value)
void SetErrors(Aws::Vector< CodeSnippetError > &&value)
BatchGetCodeSnippetResult & WithRequestId(const char *value)
AWS_INSPECTOR2_API BatchGetCodeSnippetResult()
BatchGetCodeSnippetResult & AddCodeSnippetResults(CodeSnippetResult &&value)
void SetCodeSnippetResults(Aws::Vector< CodeSnippetResult > &&value)
BatchGetCodeSnippetResult & AddErrors(CodeSnippetError &&value)
void SetCodeSnippetResults(const Aws::Vector< CodeSnippetResult > &value)
void SetRequestId(const char *value)
BatchGetCodeSnippetResult & WithCodeSnippetResults(const Aws::Vector< CodeSnippetResult > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue