AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
FailedCreateAssociation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ssm/SSM_EXPORTS.h>
9#include <aws/ssm/model/CreateAssociationBatchRequestEntry.h>
10#include <aws/ssm/model/Fault.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SSM {
22namespace Model {
23
30 public:
31 AWS_SSM_API FailedCreateAssociation() = default;
35
37
40 inline const CreateAssociationBatchRequestEntry& GetEntry() const { return m_entry; }
41 inline bool EntryHasBeenSet() const { return m_entryHasBeenSet; }
42 template <typename EntryT = CreateAssociationBatchRequestEntry>
43 void SetEntry(EntryT&& value) {
44 m_entryHasBeenSet = true;
45 m_entry = std::forward<EntryT>(value);
46 }
47 template <typename EntryT = CreateAssociationBatchRequestEntry>
49 SetEntry(std::forward<EntryT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetMessage() const { return m_message; }
59 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
60 template <typename MessageT = Aws::String>
61 void SetMessage(MessageT&& value) {
62 m_messageHasBeenSet = true;
63 m_message = std::forward<MessageT>(value);
64 }
65 template <typename MessageT = Aws::String>
67 SetMessage(std::forward<MessageT>(value));
68 return *this;
69 }
71
73
76 inline Fault GetFault() const { return m_fault; }
77 inline bool FaultHasBeenSet() const { return m_faultHasBeenSet; }
78 inline void SetFault(Fault value) {
79 m_faultHasBeenSet = true;
80 m_fault = value;
81 }
83 SetFault(value);
84 return *this;
85 }
87 private:
89
90 Aws::String m_message;
91
92 Fault m_fault{Fault::NOT_SET};
93 bool m_entryHasBeenSet = false;
94 bool m_messageHasBeenSet = false;
95 bool m_faultHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace SSM
100} // namespace Aws
AWS_SSM_API FailedCreateAssociation(Aws::Utils::Json::JsonView jsonValue)
const CreateAssociationBatchRequestEntry & GetEntry() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SSM_API FailedCreateAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
FailedCreateAssociation & WithEntry(EntryT &&value)
AWS_SSM_API FailedCreateAssociation()=default
FailedCreateAssociation & WithFault(Fault value)
FailedCreateAssociation & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue