AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ParticipatingResource.h
1
6#pragma once
7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/drs/model/LaunchStatus.h>
9#include <aws/drs/model/ParticipatingResourceID.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 drs
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DRS_API ParticipatingResource();
40
41
43
46 inline const LaunchStatus& GetLaunchStatus() const{ return m_launchStatus; }
47 inline bool LaunchStatusHasBeenSet() const { return m_launchStatusHasBeenSet; }
48 inline void SetLaunchStatus(const LaunchStatus& value) { m_launchStatusHasBeenSet = true; m_launchStatus = value; }
49 inline void SetLaunchStatus(LaunchStatus&& value) { m_launchStatusHasBeenSet = true; m_launchStatus = std::move(value); }
50 inline ParticipatingResource& WithLaunchStatus(const LaunchStatus& value) { SetLaunchStatus(value); return *this;}
51 inline ParticipatingResource& WithLaunchStatus(LaunchStatus&& value) { SetLaunchStatus(std::move(value)); return *this;}
53
55
58 inline const ParticipatingResourceID& GetParticipatingResourceID() const{ return m_participatingResourceID; }
59 inline bool ParticipatingResourceIDHasBeenSet() const { return m_participatingResourceIDHasBeenSet; }
60 inline void SetParticipatingResourceID(const ParticipatingResourceID& value) { m_participatingResourceIDHasBeenSet = true; m_participatingResourceID = value; }
61 inline void SetParticipatingResourceID(ParticipatingResourceID&& value) { m_participatingResourceIDHasBeenSet = true; m_participatingResourceID = std::move(value); }
65 private:
66
67 LaunchStatus m_launchStatus;
68 bool m_launchStatusHasBeenSet = false;
69
70 ParticipatingResourceID m_participatingResourceID;
71 bool m_participatingResourceIDHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace drs
76} // namespace Aws
const LaunchStatus & GetLaunchStatus() const
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DRS_API ParticipatingResource & operator=(Aws::Utils::Json::JsonView jsonValue)
const ParticipatingResourceID & GetParticipatingResourceID() const
void SetParticipatingResourceID(ParticipatingResourceID &&value)
ParticipatingResource & WithLaunchStatus(const LaunchStatus &value)
ParticipatingResource & WithParticipatingResourceID(ParticipatingResourceID &&value)
AWS_DRS_API ParticipatingResource(Aws::Utils::Json::JsonView jsonValue)
ParticipatingResource & WithLaunchStatus(LaunchStatus &&value)
ParticipatingResource & WithParticipatingResourceID(const ParticipatingResourceID &value)
void SetLaunchStatus(const LaunchStatus &value)
void SetParticipatingResourceID(const ParticipatingResourceID &value)
Aws::Utils::Json::JsonValue JsonValue