AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TargetResource.h
1
6#pragma once
7#include <aws/route53-recovery-readiness/Route53RecoveryReadiness_EXPORTS.h>
8#include <aws/route53-recovery-readiness/model/NLBResource.h>
9#include <aws/route53-recovery-readiness/model/R53ResourceRecord.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 Route53RecoveryReadiness
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ROUTE53RECOVERYREADINESS_API TargetResource();
37 AWS_ROUTE53RECOVERYREADINESS_API TargetResource(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ROUTE53RECOVERYREADINESS_API TargetResource& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ROUTE53RECOVERYREADINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const NLBResource& GetNLBResource() const{ return m_nLBResource; }
47 inline bool NLBResourceHasBeenSet() const { return m_nLBResourceHasBeenSet; }
48 inline void SetNLBResource(const NLBResource& value) { m_nLBResourceHasBeenSet = true; m_nLBResource = value; }
49 inline void SetNLBResource(NLBResource&& value) { m_nLBResourceHasBeenSet = true; m_nLBResource = std::move(value); }
50 inline TargetResource& WithNLBResource(const NLBResource& value) { SetNLBResource(value); return *this;}
51 inline TargetResource& WithNLBResource(NLBResource&& value) { SetNLBResource(std::move(value)); return *this;}
53
55
58 inline const R53ResourceRecord& GetR53Resource() const{ return m_r53Resource; }
59 inline bool R53ResourceHasBeenSet() const { return m_r53ResourceHasBeenSet; }
60 inline void SetR53Resource(const R53ResourceRecord& value) { m_r53ResourceHasBeenSet = true; m_r53Resource = value; }
61 inline void SetR53Resource(R53ResourceRecord&& value) { m_r53ResourceHasBeenSet = true; m_r53Resource = std::move(value); }
62 inline TargetResource& WithR53Resource(const R53ResourceRecord& value) { SetR53Resource(value); return *this;}
63 inline TargetResource& WithR53Resource(R53ResourceRecord&& value) { SetR53Resource(std::move(value)); return *this;}
65 private:
66
67 NLBResource m_nLBResource;
68 bool m_nLBResourceHasBeenSet = false;
69
70 R53ResourceRecord m_r53Resource;
71 bool m_r53ResourceHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Route53RecoveryReadiness
76} // namespace Aws
TargetResource & WithR53Resource(R53ResourceRecord &&value)
TargetResource & WithNLBResource(const NLBResource &value)
AWS_ROUTE53RECOVERYREADINESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ROUTE53RECOVERYREADINESS_API TargetResource(Aws::Utils::Json::JsonView jsonValue)
TargetResource & WithNLBResource(NLBResource &&value)
const R53ResourceRecord & GetR53Resource() const
void SetR53Resource(const R53ResourceRecord &value)
TargetResource & WithR53Resource(const R53ResourceRecord &value)
AWS_ROUTE53RECOVERYREADINESS_API TargetResource()
AWS_ROUTE53RECOVERYREADINESS_API TargetResource & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue