7#include <aws/synthetics/Synthetics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/synthetics/model/Dependency.h>
50 template<
typename SourceLocationArnT = Aws::String>
51 void SetSourceLocationArn(SourceLocationArnT&& value) { m_sourceLocationArnHasBeenSet =
true; m_sourceLocationArn = std::forward<SourceLocationArnT>(value); }
52 template<
typename SourceLocationArnT = Aws::String>
62 template<
typename HandlerT = Aws::String>
63 void SetHandler(HandlerT&& value) { m_handlerHasBeenSet =
true; m_handler = std::forward<HandlerT>(value); }
64 template<
typename HandlerT = Aws::String>
76 template<
typename DependenciesT = Aws::Vector<Dependency>>
77 void SetDependencies(DependenciesT&& value) { m_dependenciesHasBeenSet =
true; m_dependencies = std::forward<DependenciesT>(value); }
78 template<
typename DependenciesT = Aws::Vector<Dependency>>
80 template<
typename DependenciesT = Dependency>
81 CanaryCodeOutput&
AddDependencies(DependenciesT&& value) { m_dependenciesHasBeenSet =
true; m_dependencies.emplace_back(std::forward<DependenciesT>(value));
return *
this; }
86 bool m_sourceLocationArnHasBeenSet =
false;
89 bool m_handlerHasBeenSet =
false;
92 bool m_dependenciesHasBeenSet =
false;
void SetDependencies(DependenciesT &&value)
bool DependenciesHasBeenSet() const
void SetSourceLocationArn(SourceLocationArnT &&value)
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
bool SourceLocationArnHasBeenSet() const
CanaryCodeOutput & WithDependencies(DependenciesT &&value)
void SetHandler(HandlerT &&value)
bool HandlerHasBeenSet() const
AWS_SYNTHETICS_API CanaryCodeOutput()=default
CanaryCodeOutput & WithHandler(HandlerT &&value)
const Aws::String & GetSourceLocationArn() const
AWS_SYNTHETICS_API CanaryCodeOutput(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Dependency > & GetDependencies() const
const Aws::String & GetHandler() const
CanaryCodeOutput & WithSourceLocationArn(SourceLocationArnT &&value)
CanaryCodeOutput & AddDependencies(DependenciesT &&value)
AWS_SYNTHETICS_API CanaryCodeOutput & operator=(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