AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
BatchFailedResultModel.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLive_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaLive {
20namespace Model {
21
28 public:
29 AWS_MEDIALIVE_API BatchFailedResultModel() = default;
32 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetArn() const { return m_arn; }
39 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
40 template <typename ArnT = Aws::String>
41 void SetArn(ArnT&& value) {
42 m_arnHasBeenSet = true;
43 m_arn = std::forward<ArnT>(value);
44 }
45 template <typename ArnT = Aws::String>
47 SetArn(std::forward<ArnT>(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>
65 SetCode(std::forward<CodeT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetId() const { return m_id; }
75 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
76 template <typename IdT = Aws::String>
77 void SetId(IdT&& value) {
78 m_idHasBeenSet = true;
79 m_id = std::forward<IdT>(value);
80 }
81 template <typename IdT = Aws::String>
83 SetId(std::forward<IdT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetMessage() const { return m_message; }
93 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
94 template <typename MessageT = Aws::String>
95 void SetMessage(MessageT&& value) {
96 m_messageHasBeenSet = true;
97 m_message = std::forward<MessageT>(value);
98 }
99 template <typename MessageT = Aws::String>
101 SetMessage(std::forward<MessageT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_arn;
107
108 Aws::String m_code;
109
110 Aws::String m_id;
111
112 Aws::String m_message;
113 bool m_arnHasBeenSet = false;
114 bool m_codeHasBeenSet = false;
115 bool m_idHasBeenSet = false;
116 bool m_messageHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace MediaLive
121} // namespace Aws
BatchFailedResultModel & WithMessage(MessageT &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
BatchFailedResultModel & WithArn(ArnT &&value)
BatchFailedResultModel & WithId(IdT &&value)
BatchFailedResultModel & WithCode(CodeT &&value)
AWS_MEDIALIVE_API BatchFailedResultModel()=default
AWS_MEDIALIVE_API BatchFailedResultModel & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API BatchFailedResultModel(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue