AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RecipeVersionErrorDetail.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_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 GlueDataBrew
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GLUEDATABREW_API RecipeVersionErrorDetail() = default;
38 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetErrorCode() const { return m_errorCode; }
46 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
47 template<typename ErrorCodeT = Aws::String>
48 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::forward<ErrorCodeT>(value); }
49 template<typename ErrorCodeT = Aws::String>
50 RecipeVersionErrorDetail& WithErrorCode(ErrorCodeT&& value) { SetErrorCode(std::forward<ErrorCodeT>(value)); return *this;}
52
54
57 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
58 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
59 template<typename ErrorMessageT = Aws::String>
60 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
61 template<typename ErrorMessageT = Aws::String>
62 RecipeVersionErrorDetail& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
64
66
69 inline const Aws::String& GetRecipeVersion() const { return m_recipeVersion; }
70 inline bool RecipeVersionHasBeenSet() const { return m_recipeVersionHasBeenSet; }
71 template<typename RecipeVersionT = Aws::String>
72 void SetRecipeVersion(RecipeVersionT&& value) { m_recipeVersionHasBeenSet = true; m_recipeVersion = std::forward<RecipeVersionT>(value); }
73 template<typename RecipeVersionT = Aws::String>
74 RecipeVersionErrorDetail& WithRecipeVersion(RecipeVersionT&& value) { SetRecipeVersion(std::forward<RecipeVersionT>(value)); return *this;}
76 private:
77
78 Aws::String m_errorCode;
79 bool m_errorCodeHasBeenSet = false;
80
81 Aws::String m_errorMessage;
82 bool m_errorMessageHasBeenSet = false;
83
84 Aws::String m_recipeVersion;
85 bool m_recipeVersionHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace GlueDataBrew
90} // namespace Aws
RecipeVersionErrorDetail & WithErrorCode(ErrorCodeT &&value)
AWS_GLUEDATABREW_API RecipeVersionErrorDetail()=default
AWS_GLUEDATABREW_API RecipeVersionErrorDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUEDATABREW_API RecipeVersionErrorDetail(Aws::Utils::Json::JsonView jsonValue)
RecipeVersionErrorDetail & WithRecipeVersion(RecipeVersionT &&value)
RecipeVersionErrorDetail & WithErrorMessage(ErrorMessageT &&value)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue