AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LaunchedInstance.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/model/FirstBoot.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 mgn
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MGN_API LaunchedInstance();
39
40
42
45 inline const Aws::String& GetEc2InstanceID() const{ return m_ec2InstanceID; }
46 inline bool Ec2InstanceIDHasBeenSet() const { return m_ec2InstanceIDHasBeenSet; }
47 inline void SetEc2InstanceID(const Aws::String& value) { m_ec2InstanceIDHasBeenSet = true; m_ec2InstanceID = value; }
48 inline void SetEc2InstanceID(Aws::String&& value) { m_ec2InstanceIDHasBeenSet = true; m_ec2InstanceID = std::move(value); }
49 inline void SetEc2InstanceID(const char* value) { m_ec2InstanceIDHasBeenSet = true; m_ec2InstanceID.assign(value); }
50 inline LaunchedInstance& WithEc2InstanceID(const Aws::String& value) { SetEc2InstanceID(value); return *this;}
51 inline LaunchedInstance& WithEc2InstanceID(Aws::String&& value) { SetEc2InstanceID(std::move(value)); return *this;}
52 inline LaunchedInstance& WithEc2InstanceID(const char* value) { SetEc2InstanceID(value); return *this;}
54
56
59 inline const FirstBoot& GetFirstBoot() const{ return m_firstBoot; }
60 inline bool FirstBootHasBeenSet() const { return m_firstBootHasBeenSet; }
61 inline void SetFirstBoot(const FirstBoot& value) { m_firstBootHasBeenSet = true; m_firstBoot = value; }
62 inline void SetFirstBoot(FirstBoot&& value) { m_firstBootHasBeenSet = true; m_firstBoot = std::move(value); }
63 inline LaunchedInstance& WithFirstBoot(const FirstBoot& value) { SetFirstBoot(value); return *this;}
64 inline LaunchedInstance& WithFirstBoot(FirstBoot&& value) { SetFirstBoot(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetJobID() const{ return m_jobID; }
72 inline bool JobIDHasBeenSet() const { return m_jobIDHasBeenSet; }
73 inline void SetJobID(const Aws::String& value) { m_jobIDHasBeenSet = true; m_jobID = value; }
74 inline void SetJobID(Aws::String&& value) { m_jobIDHasBeenSet = true; m_jobID = std::move(value); }
75 inline void SetJobID(const char* value) { m_jobIDHasBeenSet = true; m_jobID.assign(value); }
76 inline LaunchedInstance& WithJobID(const Aws::String& value) { SetJobID(value); return *this;}
77 inline LaunchedInstance& WithJobID(Aws::String&& value) { SetJobID(std::move(value)); return *this;}
78 inline LaunchedInstance& WithJobID(const char* value) { SetJobID(value); return *this;}
80 private:
81
82 Aws::String m_ec2InstanceID;
83 bool m_ec2InstanceIDHasBeenSet = false;
84
85 FirstBoot m_firstBoot;
86 bool m_firstBootHasBeenSet = false;
87
88 Aws::String m_jobID;
89 bool m_jobIDHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace mgn
94} // namespace Aws
LaunchedInstance & WithFirstBoot(const FirstBoot &value)
LaunchedInstance & WithEc2InstanceID(const Aws::String &value)
AWS_MGN_API LaunchedInstance(Aws::Utils::Json::JsonView jsonValue)
const FirstBoot & GetFirstBoot() const
LaunchedInstance & WithFirstBoot(FirstBoot &&value)
LaunchedInstance & WithJobID(const Aws::String &value)
const Aws::String & GetJobID() const
LaunchedInstance & WithJobID(Aws::String &&value)
void SetJobID(const Aws::String &value)
void SetFirstBoot(FirstBoot &&value)
void SetJobID(const char *value)
LaunchedInstance & WithEc2InstanceID(const char *value)
LaunchedInstance & WithJobID(const char *value)
const Aws::String & GetEc2InstanceID() const
LaunchedInstance & WithEc2InstanceID(Aws::String &&value)
void SetEc2InstanceID(const char *value)
void SetEc2InstanceID(Aws::String &&value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEc2InstanceID(const Aws::String &value)
void SetFirstBoot(const FirstBoot &value)
AWS_MGN_API LaunchedInstance & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetJobID(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue