AWS SDK for C++  1.9.160
AWS SDK for C++
CanaryLastRun.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Synthetics
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetCanaryName() const{ return m_canaryName; }
46 
50  inline bool CanaryNameHasBeenSet() const { return m_canaryNameHasBeenSet; }
51 
55  inline void SetCanaryName(const Aws::String& value) { m_canaryNameHasBeenSet = true; m_canaryName = value; }
56 
60  inline void SetCanaryName(Aws::String&& value) { m_canaryNameHasBeenSet = true; m_canaryName = std::move(value); }
61 
65  inline void SetCanaryName(const char* value) { m_canaryNameHasBeenSet = true; m_canaryName.assign(value); }
66 
70  inline CanaryLastRun& WithCanaryName(const Aws::String& value) { SetCanaryName(value); return *this;}
71 
75  inline CanaryLastRun& WithCanaryName(Aws::String&& value) { SetCanaryName(std::move(value)); return *this;}
76 
80  inline CanaryLastRun& WithCanaryName(const char* value) { SetCanaryName(value); return *this;}
81 
82 
86  inline const CanaryRun& GetLastRun() const{ return m_lastRun; }
87 
91  inline bool LastRunHasBeenSet() const { return m_lastRunHasBeenSet; }
92 
96  inline void SetLastRun(const CanaryRun& value) { m_lastRunHasBeenSet = true; m_lastRun = value; }
97 
101  inline void SetLastRun(CanaryRun&& value) { m_lastRunHasBeenSet = true; m_lastRun = std::move(value); }
102 
106  inline CanaryLastRun& WithLastRun(const CanaryRun& value) { SetLastRun(value); return *this;}
107 
111  inline CanaryLastRun& WithLastRun(CanaryRun&& value) { SetLastRun(std::move(value)); return *this;}
112 
113  private:
114 
115  Aws::String m_canaryName;
116  bool m_canaryNameHasBeenSet;
117 
118  CanaryRun m_lastRun;
119  bool m_lastRunHasBeenSet;
120  };
121 
122 } // namespace Model
123 } // namespace Synthetics
124 } // namespace Aws
Aws::Synthetics::Model::CanaryLastRun::CanaryNameHasBeenSet
bool CanaryNameHasBeenSet() const
Definition: CanaryLastRun.h:50
Aws::Synthetics::Model::CanaryRun
Definition: CanaryRun.h:35
Aws::Synthetics::Model::CanaryLastRun::CanaryLastRun
CanaryLastRun(Aws::Utils::Json::JsonView jsonValue)
Aws::Synthetics::Model::CanaryLastRun::operator=
CanaryLastRun & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Synthetics::Model::CanaryLastRun::SetCanaryName
void SetCanaryName(Aws::String &&value)
Definition: CanaryLastRun.h:60
Aws::Synthetics::Model::CanaryLastRun::SetLastRun
void SetLastRun(const CanaryRun &value)
Definition: CanaryLastRun.h:96
AWS_SYNTHETICS_API
#define AWS_SYNTHETICS_API
Definition: Synthetics_EXPORTS.h:28
Aws::Synthetics::Model::CanaryLastRun::SetLastRun
void SetLastRun(CanaryRun &&value)
Definition: CanaryLastRun.h:101
Aws::Synthetics::Model::CanaryLastRun::SetCanaryName
void SetCanaryName(const Aws::String &value)
Definition: CanaryLastRun.h:55
Aws::Synthetics::Model::CanaryLastRun::GetLastRun
const CanaryRun & GetLastRun() const
Definition: CanaryLastRun.h:86
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
CanaryRun.h
AWSString.h
Aws::Synthetics::Model::CanaryLastRun::SetCanaryName
void SetCanaryName(const char *value)
Definition: CanaryLastRun.h:65
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Synthetics::Model::CanaryLastRun::WithCanaryName
CanaryLastRun & WithCanaryName(const char *value)
Definition: CanaryLastRun.h:80
Aws::Synthetics::Model::CanaryLastRun::CanaryLastRun
CanaryLastRun()
Synthetics_EXPORTS.h
Aws::Synthetics::Model::CanaryLastRun::LastRunHasBeenSet
bool LastRunHasBeenSet() const
Definition: CanaryLastRun.h:91
Aws::Synthetics::Model::CanaryLastRun
Definition: CanaryLastRun.h:34
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Synthetics::Model::CanaryLastRun::WithLastRun
CanaryLastRun & WithLastRun(CanaryRun &&value)
Definition: CanaryLastRun.h:111
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Synthetics::Model::CanaryLastRun::WithCanaryName
CanaryLastRun & WithCanaryName(Aws::String &&value)
Definition: CanaryLastRun.h:75
Aws::Synthetics::Model::CanaryLastRun::WithCanaryName
CanaryLastRun & WithCanaryName(const Aws::String &value)
Definition: CanaryLastRun.h:70
Aws::Synthetics::Model::CanaryLastRun::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Synthetics::Model::CanaryLastRun::WithLastRun
CanaryLastRun & WithLastRun(const CanaryRun &value)
Definition: CanaryLastRun.h:106
Aws::Synthetics::Model::CanaryLastRun::GetCanaryName
const Aws::String & GetCanaryName() const
Definition: CanaryLastRun.h:45