AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
LaunchIntoInstanceProperties.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/drs/Drs_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace drs {
20namespace Model {
21
28 public:
29 AWS_DRS_API LaunchIntoInstanceProperties() = default;
33
35
39 inline const Aws::String& GetLaunchIntoEC2InstanceID() const { return m_launchIntoEC2InstanceID; }
40 inline bool LaunchIntoEC2InstanceIDHasBeenSet() const { return m_launchIntoEC2InstanceIDHasBeenSet; }
41 template <typename LaunchIntoEC2InstanceIDT = Aws::String>
42 void SetLaunchIntoEC2InstanceID(LaunchIntoEC2InstanceIDT&& value) {
43 m_launchIntoEC2InstanceIDHasBeenSet = true;
44 m_launchIntoEC2InstanceID = std::forward<LaunchIntoEC2InstanceIDT>(value);
45 }
46 template <typename LaunchIntoEC2InstanceIDT = Aws::String>
47 LaunchIntoInstanceProperties& WithLaunchIntoEC2InstanceID(LaunchIntoEC2InstanceIDT&& value) {
48 SetLaunchIntoEC2InstanceID(std::forward<LaunchIntoEC2InstanceIDT>(value));
49 return *this;
50 }
52 private:
53 Aws::String m_launchIntoEC2InstanceID;
54 bool m_launchIntoEC2InstanceIDHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace drs
59} // namespace Aws
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DRS_API LaunchIntoInstanceProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
LaunchIntoInstanceProperties & WithLaunchIntoEC2InstanceID(LaunchIntoEC2InstanceIDT &&value)
AWS_DRS_API LaunchIntoInstanceProperties(Aws::Utils::Json::JsonView jsonValue)
void SetLaunchIntoEC2InstanceID(LaunchIntoEC2InstanceIDT &&value)
AWS_DRS_API LaunchIntoInstanceProperties()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue