AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FailedCreateAssociation.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/model/CreateAssociationBatchRequestEntry.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ssm/model/Fault.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SSM
24{
25namespace Model
26{
27
34 {
35 public:
40
41
43
46 inline const CreateAssociationBatchRequestEntry& GetEntry() const{ return m_entry; }
47 inline bool EntryHasBeenSet() const { return m_entryHasBeenSet; }
48 inline void SetEntry(const CreateAssociationBatchRequestEntry& value) { m_entryHasBeenSet = true; m_entry = value; }
49 inline void SetEntry(CreateAssociationBatchRequestEntry&& value) { m_entryHasBeenSet = true; m_entry = std::move(value); }
51 inline FailedCreateAssociation& WithEntry(CreateAssociationBatchRequestEntry&& value) { SetEntry(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetMessage() const{ return m_message; }
59 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
60 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
61 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
62 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
63 inline FailedCreateAssociation& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
64 inline FailedCreateAssociation& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
65 inline FailedCreateAssociation& WithMessage(const char* value) { SetMessage(value); return *this;}
67
69
72 inline const Fault& GetFault() const{ return m_fault; }
73 inline bool FaultHasBeenSet() const { return m_faultHasBeenSet; }
74 inline void SetFault(const Fault& value) { m_faultHasBeenSet = true; m_fault = value; }
75 inline void SetFault(Fault&& value) { m_faultHasBeenSet = true; m_fault = std::move(value); }
76 inline FailedCreateAssociation& WithFault(const Fault& value) { SetFault(value); return *this;}
77 inline FailedCreateAssociation& WithFault(Fault&& value) { SetFault(std::move(value)); return *this;}
79 private:
80
82 bool m_entryHasBeenSet = false;
83
84 Aws::String m_message;
85 bool m_messageHasBeenSet = false;
86
87 Fault m_fault;
88 bool m_faultHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace SSM
93} // namespace Aws
FailedCreateAssociation & WithMessage(Aws::String &&value)
FailedCreateAssociation & WithMessage(const char *value)
void SetEntry(const CreateAssociationBatchRequestEntry &value)
AWS_SSM_API FailedCreateAssociation(Aws::Utils::Json::JsonView jsonValue)
FailedCreateAssociation & WithFault(const Fault &value)
const CreateAssociationBatchRequestEntry & GetEntry() const
FailedCreateAssociation & WithMessage(const Aws::String &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SSM_API FailedCreateAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
FailedCreateAssociation & WithEntry(CreateAssociationBatchRequestEntry &&value)
FailedCreateAssociation & WithEntry(const CreateAssociationBatchRequestEntry &value)
void SetEntry(CreateAssociationBatchRequestEntry &&value)
FailedCreateAssociation & WithFault(Fault &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue