AWS SDK for C++

AWS SDK for C++ Version 1.11.741

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 LaunchActionParameterType GetType() const { return m_type; }
40 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
42 m_typeHasBeenSet = true;
43 m_type = value;
44 }
46 SetType(value);
47 return *this;
48 }
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) {
59 m_valueHasBeenSet = true;
60 m_value = std::forward<ValueT>(value);
61 }
62 template <typename ValueT = Aws::String>
64 SetValue(std::forward<ValueT>(value));
65 return *this;
66 }
68 private:
70
71 Aws::String m_value;
72 bool m_typeHasBeenSet = false;
73 bool m_valueHasBeenSet = 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