AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
DisassociateFeedRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elementalinference/ElementalInferenceRequest.h>
10#include <aws/elementalinference/ElementalInference_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ElementalInference {
16namespace Model {
17
21 public:
22 AWS_ELEMENTALINFERENCE_API DisassociateFeedRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DisassociateFeed"; }
29
30 AWS_ELEMENTALINFERENCE_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetId() const { return m_id; }
37 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
38 template <typename IdT = Aws::String>
39 void SetId(IdT&& value) {
40 m_idHasBeenSet = true;
41 m_id = std::forward<IdT>(value);
42 }
43 template <typename IdT = Aws::String>
45 SetId(std::forward<IdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetAssociatedResourceName() const { return m_associatedResourceName; }
55 inline bool AssociatedResourceNameHasBeenSet() const { return m_associatedResourceNameHasBeenSet; }
56 template <typename AssociatedResourceNameT = Aws::String>
57 void SetAssociatedResourceName(AssociatedResourceNameT&& value) {
58 m_associatedResourceNameHasBeenSet = true;
59 m_associatedResourceName = std::forward<AssociatedResourceNameT>(value);
60 }
61 template <typename AssociatedResourceNameT = Aws::String>
62 DisassociateFeedRequest& WithAssociatedResourceName(AssociatedResourceNameT&& value) {
63 SetAssociatedResourceName(std::forward<AssociatedResourceNameT>(value));
64 return *this;
65 }
67
69
72 inline bool GetDryRun() const { return m_dryRun; }
73 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
74 inline void SetDryRun(bool value) {
75 m_dryRunHasBeenSet = true;
76 m_dryRun = value;
77 }
78 inline DisassociateFeedRequest& WithDryRun(bool value) {
79 SetDryRun(value);
80 return *this;
81 }
83 private:
84 Aws::String m_id;
85
86 Aws::String m_associatedResourceName{Aws::Utils::UUID::PseudoRandomUUID()};
87
88 bool m_dryRun{false};
89 bool m_idHasBeenSet = false;
90 bool m_associatedResourceNameHasBeenSet = true;
91 bool m_dryRunHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace ElementalInference
96} // namespace Aws
AWS_ELEMENTALINFERENCE_API Aws::String SerializePayload() const override
DisassociateFeedRequest & WithAssociatedResourceName(AssociatedResourceNameT &&value)
void SetAssociatedResourceName(AssociatedResourceNameT &&value)
AWS_ELEMENTALINFERENCE_API DisassociateFeedRequest()=default
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String