AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ReadSetBatchError.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/omics/Omics_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Omics {
20namespace Model {
21
28 public:
29 AWS_OMICS_API ReadSetBatchError() = default;
32 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetId() const { return m_id; }
39 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
40 template <typename IdT = Aws::String>
41 void SetId(IdT&& value) {
42 m_idHasBeenSet = true;
43 m_id = std::forward<IdT>(value);
44 }
45 template <typename IdT = Aws::String>
46 ReadSetBatchError& WithId(IdT&& value) {
47 SetId(std::forward<IdT>(value));
48 return *this;
49 }
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) {
60 m_codeHasBeenSet = true;
61 m_code = std::forward<CodeT>(value);
62 }
63 template <typename CodeT = Aws::String>
64 ReadSetBatchError& WithCode(CodeT&& value) {
65 SetCode(std::forward<CodeT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetMessage() const { return m_message; }
75 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
76 template <typename MessageT = Aws::String>
77 void SetMessage(MessageT&& value) {
78 m_messageHasBeenSet = true;
79 m_message = std::forward<MessageT>(value);
80 }
81 template <typename MessageT = Aws::String>
82 ReadSetBatchError& WithMessage(MessageT&& value) {
83 SetMessage(std::forward<MessageT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_id;
89
90 Aws::String m_code;
91
92 Aws::String m_message;
93 bool m_idHasBeenSet = false;
94 bool m_codeHasBeenSet = false;
95 bool m_messageHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Omics
100} // 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