AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
IdempotentParameterMismatchException.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/machinelearning/MachineLearning_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MachineLearning {
20namespace Model {
21
30 public:
31 AWS_MACHINELEARNING_API IdempotentParameterMismatchException() = default;
34 AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const Aws::String& GetMessage() const { return m_message; }
39 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
40 template <typename MessageT = Aws::String>
41 void SetMessage(MessageT&& value) {
42 m_messageHasBeenSet = true;
43 m_message = std::forward<MessageT>(value);
44 }
45 template <typename MessageT = Aws::String>
47 SetMessage(std::forward<MessageT>(value));
48 return *this;
49 }
51
53
54 inline int GetCode() const { return m_code; }
55 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
56 inline void SetCode(int value) {
57 m_codeHasBeenSet = true;
58 m_code = value;
59 }
61 SetCode(value);
62 return *this;
63 }
65 private:
66 Aws::String m_message;
67
68 int m_code{0};
69 bool m_messageHasBeenSet = false;
70 bool m_codeHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace MachineLearning
75} // namespace Aws
AWS_MACHINELEARNING_API IdempotentParameterMismatchException(Aws::Utils::Json::JsonView jsonValue)
AWS_MACHINELEARNING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MACHINELEARNING_API IdempotentParameterMismatchException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MACHINELEARNING_API IdempotentParameterMismatchException()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue