AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
BatchFailedResultModel.h
1
6#pragma once
7#include <aws/medialive/MediaLive_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 MediaLive
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MEDIALIVE_API BatchFailedResultModel() = default;
37 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetArn() const { return m_arn; }
45 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
46 template<typename ArnT = Aws::String>
47 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
48 template<typename ArnT = Aws::String>
49 BatchFailedResultModel& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(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 BatchFailedResultModel& WithCode(CodeT&& value) { SetCode(std::forward<CodeT>(value)); return *this;}
63
65
68 inline const Aws::String& GetId() const { return m_id; }
69 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
70 template<typename IdT = Aws::String>
71 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
72 template<typename IdT = Aws::String>
73 BatchFailedResultModel& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
75
77
80 inline const Aws::String& GetMessage() const { return m_message; }
81 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
82 template<typename MessageT = Aws::String>
83 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
84 template<typename MessageT = Aws::String>
85 BatchFailedResultModel& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
87 private:
88
89 Aws::String m_arn;
90 bool m_arnHasBeenSet = false;
91
92 Aws::String m_code;
93 bool m_codeHasBeenSet = false;
94
95 Aws::String m_id;
96 bool m_idHasBeenSet = false;
97
98 Aws::String m_message;
99 bool m_messageHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace MediaLive
104} // 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