AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ServiceOverride.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaConvert
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_MEDIACONVERT_API ServiceOverride() = default;
37 AWS_MEDIACONVERT_API ServiceOverride(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIACONVERT_API ServiceOverride& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetMessage() const { return m_message; }
47 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
48 template<typename MessageT = Aws::String>
49 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
50 template<typename MessageT = Aws::String>
51 ServiceOverride& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template<typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 ServiceOverride& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetOverrideValue() const { return m_overrideValue; }
71 inline bool OverrideValueHasBeenSet() const { return m_overrideValueHasBeenSet; }
72 template<typename OverrideValueT = Aws::String>
73 void SetOverrideValue(OverrideValueT&& value) { m_overrideValueHasBeenSet = true; m_overrideValue = std::forward<OverrideValueT>(value); }
74 template<typename OverrideValueT = Aws::String>
75 ServiceOverride& WithOverrideValue(OverrideValueT&& value) { SetOverrideValue(std::forward<OverrideValueT>(value)); return *this;}
77
79
83 inline const Aws::String& GetValue() const { return m_value; }
84 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
85 template<typename ValueT = Aws::String>
86 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
87 template<typename ValueT = Aws::String>
88 ServiceOverride& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
90 private:
91
92 Aws::String m_message;
93 bool m_messageHasBeenSet = false;
94
95 Aws::String m_name;
96 bool m_nameHasBeenSet = false;
97
98 Aws::String m_overrideValue;
99 bool m_overrideValueHasBeenSet = false;
100
101 Aws::String m_value;
102 bool m_valueHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace MediaConvert
107} // namespace Aws
const Aws::String & GetOverrideValue() const
ServiceOverride & WithValue(ValueT &&value)
ServiceOverride & WithName(NameT &&value)
ServiceOverride & WithOverrideValue(OverrideValueT &&value)
void SetOverrideValue(OverrideValueT &&value)
AWS_MEDIACONVERT_API ServiceOverride(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
AWS_MEDIACONVERT_API ServiceOverride()=default
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONVERT_API ServiceOverride & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceOverride & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue