AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
IncompatibleParameterError.h
1
6#pragma once
7#include <aws/fsx/FSx_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 FSx
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_FSX_API IncompatibleParameterError() = default;
40
41
43
46 inline const Aws::String& GetParameter() const { return m_parameter; }
47 inline bool ParameterHasBeenSet() const { return m_parameterHasBeenSet; }
48 template<typename ParameterT = Aws::String>
49 void SetParameter(ParameterT&& value) { m_parameterHasBeenSet = true; m_parameter = std::forward<ParameterT>(value); }
50 template<typename ParameterT = Aws::String>
51 IncompatibleParameterError& WithParameter(ParameterT&& value) { SetParameter(std::forward<ParameterT>(value)); return *this;}
53
55
56 inline const Aws::String& GetMessage() const { return m_message; }
57 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
58 template<typename MessageT = Aws::String>
59 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
60 template<typename MessageT = Aws::String>
61 IncompatibleParameterError& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
63 private:
64
65 Aws::String m_parameter;
66 bool m_parameterHasBeenSet = false;
67
68 Aws::String m_message;
69 bool m_messageHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace FSx
74} // namespace Aws
AWS_FSX_API IncompatibleParameterError & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FSX_API IncompatibleParameterError(Aws::Utils::Json::JsonView jsonValue)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FSX_API IncompatibleParameterError()=default
IncompatibleParameterError & WithParameter(ParameterT &&value)
IncompatibleParameterError & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue