7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/FunctionSummary.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
50 template<
typename FunctionSummaryT = FunctionSummary>
51 void SetFunctionSummary(FunctionSummaryT&& value) { m_functionSummaryHasBeenSet =
true; m_functionSummary = std::forward<FunctionSummaryT>(value); }
52 template<
typename FunctionSummaryT = FunctionSummary>
64 template<
typename ComputeUtilizationT = Aws::String>
65 void SetComputeUtilization(ComputeUtilizationT&& value) { m_computeUtilizationHasBeenSet =
true; m_computeUtilization = std::forward<ComputeUtilizationT>(value); }
66 template<
typename ComputeUtilizationT = Aws::String>
77 template<
typename FunctionExecutionLogsT = Aws::Vector<Aws::String>>
78 void SetFunctionExecutionLogs(FunctionExecutionLogsT&& value) { m_functionExecutionLogsHasBeenSet =
true; m_functionExecutionLogs = std::forward<FunctionExecutionLogsT>(value); }
79 template<
typename FunctionExecutionLogsT = Aws::Vector<Aws::String>>
81 template<
typename FunctionExecutionLogsT = Aws::String>
82 TestResult&
AddFunctionExecutionLogs(FunctionExecutionLogsT&& value) { m_functionExecutionLogsHasBeenSet =
true; m_functionExecutionLogs.emplace_back(std::forward<FunctionExecutionLogsT>(value));
return *
this; }
92 template<
typename FunctionErrorMessageT = Aws::String>
93 void SetFunctionErrorMessage(FunctionErrorMessageT&& value) { m_functionErrorMessageHasBeenSet =
true; m_functionErrorMessage = std::forward<FunctionErrorMessageT>(value); }
94 template<
typename FunctionErrorMessageT = Aws::String>
107 template<
typename FunctionOutputT = Aws::String>
108 void SetFunctionOutput(FunctionOutputT&& value) { m_functionOutputHasBeenSet =
true; m_functionOutput = std::forward<FunctionOutputT>(value); }
109 template<
typename FunctionOutputT = Aws::String>
115 bool m_functionSummaryHasBeenSet =
false;
118 bool m_computeUtilizationHasBeenSet =
false;
121 bool m_functionExecutionLogsHasBeenSet =
false;
124 bool m_functionErrorMessageHasBeenSet =
false;
127 bool m_functionOutputHasBeenSet =
false;
const FunctionSummary & GetFunctionSummary() const
void SetFunctionSummary(FunctionSummaryT &&value)
const Aws::String & GetFunctionErrorMessage() const
TestResult & AddFunctionExecutionLogs(FunctionExecutionLogsT &&value)
void SetComputeUtilization(ComputeUtilizationT &&value)
bool FunctionErrorMessageHasBeenSet() const
TestResult & WithFunctionExecutionLogs(FunctionExecutionLogsT &&value)
AWS_CLOUDFRONT_API TestResult(const Aws::Utils::Xml::XmlNode &xmlNode)
TestResult & WithComputeUtilization(ComputeUtilizationT &&value)
AWS_CLOUDFRONT_API TestResult & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool FunctionSummaryHasBeenSet() const
bool FunctionExecutionLogsHasBeenSet() const
TestResult & WithFunctionErrorMessage(FunctionErrorMessageT &&value)
void SetFunctionExecutionLogs(FunctionExecutionLogsT &&value)
void SetFunctionOutput(FunctionOutputT &&value)
const Aws::Vector< Aws::String > & GetFunctionExecutionLogs() const
bool FunctionOutputHasBeenSet() const
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const Aws::String & GetComputeUtilization() const
TestResult & WithFunctionSummary(FunctionSummaryT &&value)
bool ComputeUtilizationHasBeenSet() const
TestResult & WithFunctionOutput(FunctionOutputT &&value)
AWS_CLOUDFRONT_API TestResult()=default
const Aws::String & GetFunctionOutput() const
void SetFunctionErrorMessage(FunctionErrorMessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector