AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CanaryLastRun.h
1
6#pragma once
7#include <aws/synthetics/Synthetics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/synthetics/model/CanaryRun.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Synthetics
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SYNTHETICS_API CanaryLastRun();
37 AWS_SYNTHETICS_API CanaryLastRun(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SYNTHETICS_API CanaryLastRun& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetCanaryName() const{ return m_canaryName; }
47 inline bool CanaryNameHasBeenSet() const { return m_canaryNameHasBeenSet; }
48 inline void SetCanaryName(const Aws::String& value) { m_canaryNameHasBeenSet = true; m_canaryName = value; }
49 inline void SetCanaryName(Aws::String&& value) { m_canaryNameHasBeenSet = true; m_canaryName = std::move(value); }
50 inline void SetCanaryName(const char* value) { m_canaryNameHasBeenSet = true; m_canaryName.assign(value); }
51 inline CanaryLastRun& WithCanaryName(const Aws::String& value) { SetCanaryName(value); return *this;}
52 inline CanaryLastRun& WithCanaryName(Aws::String&& value) { SetCanaryName(std::move(value)); return *this;}
53 inline CanaryLastRun& WithCanaryName(const char* value) { SetCanaryName(value); return *this;}
55
57
60 inline const CanaryRun& GetLastRun() const{ return m_lastRun; }
61 inline bool LastRunHasBeenSet() const { return m_lastRunHasBeenSet; }
62 inline void SetLastRun(const CanaryRun& value) { m_lastRunHasBeenSet = true; m_lastRun = value; }
63 inline void SetLastRun(CanaryRun&& value) { m_lastRunHasBeenSet = true; m_lastRun = std::move(value); }
64 inline CanaryLastRun& WithLastRun(const CanaryRun& value) { SetLastRun(value); return *this;}
65 inline CanaryLastRun& WithLastRun(CanaryRun&& value) { SetLastRun(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_canaryName;
70 bool m_canaryNameHasBeenSet = false;
71
72 CanaryRun m_lastRun;
73 bool m_lastRunHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Synthetics
78} // namespace Aws
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCanaryName(Aws::String &&value)
CanaryLastRun & WithCanaryName(const char *value)
const Aws::String & GetCanaryName() const
CanaryLastRun & WithCanaryName(const Aws::String &value)
void SetCanaryName(const Aws::String &value)
void SetLastRun(const CanaryRun &value)
AWS_SYNTHETICS_API CanaryLastRun & operator=(Aws::Utils::Json::JsonView jsonValue)
CanaryLastRun & WithLastRun(CanaryRun &&value)
AWS_SYNTHETICS_API CanaryLastRun(Aws::Utils::Json::JsonView jsonValue)
const CanaryRun & GetLastRun() const
CanaryLastRun & WithCanaryName(Aws::String &&value)
CanaryLastRun & WithLastRun(const CanaryRun &value)
void SetCanaryName(const char *value)
void SetLastRun(CanaryRun &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue