AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
45 inline const LaunchActionParameterType& GetType() const{ return m_type; }
46 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
47 inline void SetType(const LaunchActionParameterType& value) { m_typeHasBeenSet = true; m_type = value; }
48 inline void SetType(LaunchActionParameterType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
49 inline LaunchActionParameter& WithType(const LaunchActionParameterType& value) { SetType(value); return *this;}
50 inline LaunchActionParameter& WithType(LaunchActionParameterType&& value) { SetType(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetValue() const{ return m_value; }
58 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
59 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
60 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
61 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
62 inline LaunchActionParameter& WithValue(const Aws::String& value) { SetValue(value); return *this;}
63 inline LaunchActionParameter& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
64 inline LaunchActionParameter& WithValue(const char* value) { SetValue(value); return *this;}
66 private:
67
69 bool m_typeHasBeenSet = false;
70
71 Aws::String m_value;
72 bool m_valueHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace drs
77} // namespace Aws
LaunchActionParameter & WithType(const LaunchActionParameterType &value)
AWS_DRS_API LaunchActionParameter(Aws::Utils::Json::JsonView jsonValue)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
LaunchActionParameter & WithValue(Aws::String &&value)
const LaunchActionParameterType & GetType() const
void SetType(const LaunchActionParameterType &value)
AWS_DRS_API LaunchActionParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
LaunchActionParameter & WithValue(const Aws::String &value)
void SetType(LaunchActionParameterType &&value)
LaunchActionParameter & WithValue(const char *value)
void SetValue(const Aws::String &value)
LaunchActionParameter & WithType(LaunchActionParameterType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue