AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Dependency.h
1
6#pragma once
7#include <aws/synthetics/Synthetics_EXPORTS.h>
8#include <aws/synthetics/model/DependencyType.h>
9#include <aws/core/utils/memory/stl/AWSString.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 Dependency() = default;
37 AWS_SYNTHETICS_API Dependency(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SYNTHETICS_API Dependency& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline DependencyType GetType() const { return m_type; }
47 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
48 inline void SetType(DependencyType value) { m_typeHasBeenSet = true; m_type = value; }
49 inline Dependency& WithType(DependencyType value) { SetType(value); return *this;}
51
53
58 inline const Aws::String& GetReference() const { return m_reference; }
59 inline bool ReferenceHasBeenSet() const { return m_referenceHasBeenSet; }
60 template<typename ReferenceT = Aws::String>
61 void SetReference(ReferenceT&& value) { m_referenceHasBeenSet = true; m_reference = std::forward<ReferenceT>(value); }
62 template<typename ReferenceT = Aws::String>
63 Dependency& WithReference(ReferenceT&& value) { SetReference(std::forward<ReferenceT>(value)); return *this;}
65 private:
66
68 bool m_typeHasBeenSet = false;
69
70 Aws::String m_reference;
71 bool m_referenceHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Synthetics
76} // namespace Aws
DependencyType GetType() const
Definition Dependency.h:46
AWS_SYNTHETICS_API Dependency & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetReference(ReferenceT &&value)
Definition Dependency.h:61
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetReference() const
Definition Dependency.h:58
Dependency & WithReference(ReferenceT &&value)
Definition Dependency.h:63
Dependency & WithType(DependencyType value)
Definition Dependency.h:49
void SetType(DependencyType value)
Definition Dependency.h:48
AWS_SYNTHETICS_API Dependency()=default
AWS_SYNTHETICS_API Dependency(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue