AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
LaunchActionParameter.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/drs/Drs_EXPORTS.h>
9#include <aws/drs/model/LaunchActionParameterType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace drs {
21namespace Model {
22
29 public:
30 AWS_DRS_API LaunchActionParameter() = default;
34
36
39 inline const Aws::String& GetValue() const { return m_value; }
40 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
41 template <typename ValueT = Aws::String>
42 void SetValue(ValueT&& value) {
43 m_valueHasBeenSet = true;
44 m_value = std::forward<ValueT>(value);
45 }
46 template <typename ValueT = Aws::String>
48 SetValue(std::forward<ValueT>(value));
49 return *this;
50 }
52
54
57 inline LaunchActionParameterType GetType() const { return m_type; }
58 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
60 m_typeHasBeenSet = true;
61 m_type = value;
62 }
64 SetType(value);
65 return *this;
66 }
68 private:
69 Aws::String m_value;
70
72 bool m_valueHasBeenSet = false;
73 bool m_typeHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace drs
78} // 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