AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ReadSetBatchError.h
1
6#pragma once
7#include <aws/omics/Omics_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 Omics
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_OMICS_API ReadSetBatchError() = default;
37 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetId() const { return m_id; }
45 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
46 template<typename IdT = Aws::String>
47 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
48 template<typename IdT = Aws::String>
49 ReadSetBatchError& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetCode() const { return m_code; }
57 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
58 template<typename CodeT = Aws::String>
59 void SetCode(CodeT&& value) { m_codeHasBeenSet = true; m_code = std::forward<CodeT>(value); }
60 template<typename CodeT = Aws::String>
61 ReadSetBatchError& WithCode(CodeT&& value) { SetCode(std::forward<CodeT>(value)); return *this;}
63
65
68 inline const Aws::String& GetMessage() const { return m_message; }
69 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
70 template<typename MessageT = Aws::String>
71 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
72 template<typename MessageT = Aws::String>
73 ReadSetBatchError& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
75 private:
76
77 Aws::String m_id;
78 bool m_idHasBeenSet = false;
79
80 Aws::String m_code;
81 bool m_codeHasBeenSet = false;
82
83 Aws::String m_message;
84 bool m_messageHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Omics
89} // namespace Aws
ReadSetBatchError & WithMessage(MessageT &&value)
const Aws::String & GetCode() const
const Aws::String & GetMessage() const
AWS_OMICS_API ReadSetBatchError & operator=(Aws::Utils::Json::JsonView jsonValue)
ReadSetBatchError & WithCode(CodeT &&value)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetId() const
AWS_OMICS_API ReadSetBatchError(Aws::Utils::Json::JsonView jsonValue)
AWS_OMICS_API ReadSetBatchError()=default
ReadSetBatchError & WithId(IdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue