AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LaunchActionParameter.h
1
6#pragma once
7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/drs/model/LaunchActionParameterType.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 drs
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DRS_API LaunchActionParameter() = default;
39
40
42
45 inline LaunchActionParameterType GetType() const { return m_type; }
46 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
47 inline void SetType(LaunchActionParameterType value) { m_typeHasBeenSet = true; m_type = value; }
48 inline LaunchActionParameter& WithType(LaunchActionParameterType value) { SetType(value); return *this;}
50
52
55 inline const Aws::String& GetValue() const { return m_value; }
56 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
57 template<typename ValueT = Aws::String>
58 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
59 template<typename ValueT = Aws::String>
60 LaunchActionParameter& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
62 private:
63
65 bool m_typeHasBeenSet = false;
66
67 Aws::String m_value;
68 bool m_valueHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace drs
73} // namespace Aws
AWS_DRS_API LaunchActionParameter(Aws::Utils::Json::JsonView jsonValue)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DRS_API LaunchActionParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DRS_API LaunchActionParameter()=default
LaunchActionParameter & WithType(LaunchActionParameterType value)
void SetType(LaunchActionParameterType value)
LaunchActionParameterType GetType() const
LaunchActionParameter & WithValue(ValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue