AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CanaryCodeOutput.h
1
6#pragma once
7#include <aws/synthetics/Synthetics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Synthetics
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SYNTHETICS_API CanaryCodeOutput();
36 AWS_SYNTHETICS_API CanaryCodeOutput(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetSourceLocationArn() const{ return m_sourceLocationArn; }
47 inline bool SourceLocationArnHasBeenSet() const { return m_sourceLocationArnHasBeenSet; }
48 inline void SetSourceLocationArn(const Aws::String& value) { m_sourceLocationArnHasBeenSet = true; m_sourceLocationArn = value; }
49 inline void SetSourceLocationArn(Aws::String&& value) { m_sourceLocationArnHasBeenSet = true; m_sourceLocationArn = std::move(value); }
50 inline void SetSourceLocationArn(const char* value) { m_sourceLocationArnHasBeenSet = true; m_sourceLocationArn.assign(value); }
51 inline CanaryCodeOutput& WithSourceLocationArn(const Aws::String& value) { SetSourceLocationArn(value); return *this;}
52 inline CanaryCodeOutput& WithSourceLocationArn(Aws::String&& value) { SetSourceLocationArn(std::move(value)); return *this;}
53 inline CanaryCodeOutput& WithSourceLocationArn(const char* value) { SetSourceLocationArn(value); return *this;}
55
57
60 inline const Aws::String& GetHandler() const{ return m_handler; }
61 inline bool HandlerHasBeenSet() const { return m_handlerHasBeenSet; }
62 inline void SetHandler(const Aws::String& value) { m_handlerHasBeenSet = true; m_handler = value; }
63 inline void SetHandler(Aws::String&& value) { m_handlerHasBeenSet = true; m_handler = std::move(value); }
64 inline void SetHandler(const char* value) { m_handlerHasBeenSet = true; m_handler.assign(value); }
65 inline CanaryCodeOutput& WithHandler(const Aws::String& value) { SetHandler(value); return *this;}
66 inline CanaryCodeOutput& WithHandler(Aws::String&& value) { SetHandler(std::move(value)); return *this;}
67 inline CanaryCodeOutput& WithHandler(const char* value) { SetHandler(value); return *this;}
69 private:
70
71 Aws::String m_sourceLocationArn;
72 bool m_sourceLocationArnHasBeenSet = false;
73
74 Aws::String m_handler;
75 bool m_handlerHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Synthetics
80} // namespace Aws
void SetSourceLocationArn(const Aws::String &value)
CanaryCodeOutput & WithHandler(Aws::String &&value)
CanaryCodeOutput & WithSourceLocationArn(const Aws::String &value)
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
CanaryCodeOutput & WithHandler(const char *value)
const Aws::String & GetSourceLocationArn() const
AWS_SYNTHETICS_API CanaryCodeOutput(Aws::Utils::Json::JsonView jsonValue)
CanaryCodeOutput & WithHandler(const Aws::String &value)
const Aws::String & GetHandler() const
CanaryCodeOutput & WithSourceLocationArn(Aws::String &&value)
void SetSourceLocationArn(Aws::String &&value)
void SetHandler(const Aws::String &value)
CanaryCodeOutput & WithSourceLocationArn(const char *value)
AWS_SYNTHETICS_API CanaryCodeOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue