AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EventIntegrationAssociation.h
1
6#pragma once
7#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AppIntegrationsService
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_APPINTEGRATIONSSERVICE_API EventIntegrationAssociation();
36 AWS_APPINTEGRATIONSSERVICE_API EventIntegrationAssociation(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPINTEGRATIONSSERVICE_API EventIntegrationAssociation& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetEventIntegrationAssociationArn() const{ return m_eventIntegrationAssociationArn; }
46 inline bool EventIntegrationAssociationArnHasBeenSet() const { return m_eventIntegrationAssociationArnHasBeenSet; }
47 inline void SetEventIntegrationAssociationArn(const Aws::String& value) { m_eventIntegrationAssociationArnHasBeenSet = true; m_eventIntegrationAssociationArn = value; }
48 inline void SetEventIntegrationAssociationArn(Aws::String&& value) { m_eventIntegrationAssociationArnHasBeenSet = true; m_eventIntegrationAssociationArn = std::move(value); }
49 inline void SetEventIntegrationAssociationArn(const char* value) { m_eventIntegrationAssociationArnHasBeenSet = true; m_eventIntegrationAssociationArn.assign(value); }
54
56
59 inline const Aws::String& GetEventIntegrationAssociationId() const{ return m_eventIntegrationAssociationId; }
60 inline bool EventIntegrationAssociationIdHasBeenSet() const { return m_eventIntegrationAssociationIdHasBeenSet; }
61 inline void SetEventIntegrationAssociationId(const Aws::String& value) { m_eventIntegrationAssociationIdHasBeenSet = true; m_eventIntegrationAssociationId = value; }
62 inline void SetEventIntegrationAssociationId(Aws::String&& value) { m_eventIntegrationAssociationIdHasBeenSet = true; m_eventIntegrationAssociationId = std::move(value); }
63 inline void SetEventIntegrationAssociationId(const char* value) { m_eventIntegrationAssociationIdHasBeenSet = true; m_eventIntegrationAssociationId.assign(value); }
68
70
73 inline const Aws::String& GetEventIntegrationName() const{ return m_eventIntegrationName; }
74 inline bool EventIntegrationNameHasBeenSet() const { return m_eventIntegrationNameHasBeenSet; }
75 inline void SetEventIntegrationName(const Aws::String& value) { m_eventIntegrationNameHasBeenSet = true; m_eventIntegrationName = value; }
76 inline void SetEventIntegrationName(Aws::String&& value) { m_eventIntegrationNameHasBeenSet = true; m_eventIntegrationName = std::move(value); }
77 inline void SetEventIntegrationName(const char* value) { m_eventIntegrationNameHasBeenSet = true; m_eventIntegrationName.assign(value); }
80 inline EventIntegrationAssociation& WithEventIntegrationName(const char* value) { SetEventIntegrationName(value); return *this;}
82
84
88 inline const Aws::String& GetClientId() const{ return m_clientId; }
89 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
90 inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
91 inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); }
92 inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
93 inline EventIntegrationAssociation& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
94 inline EventIntegrationAssociation& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
95 inline EventIntegrationAssociation& WithClientId(const char* value) { SetClientId(value); return *this;}
97
99
102 inline const Aws::String& GetEventBridgeRuleName() const{ return m_eventBridgeRuleName; }
103 inline bool EventBridgeRuleNameHasBeenSet() const { return m_eventBridgeRuleNameHasBeenSet; }
104 inline void SetEventBridgeRuleName(const Aws::String& value) { m_eventBridgeRuleNameHasBeenSet = true; m_eventBridgeRuleName = value; }
105 inline void SetEventBridgeRuleName(Aws::String&& value) { m_eventBridgeRuleNameHasBeenSet = true; m_eventBridgeRuleName = std::move(value); }
106 inline void SetEventBridgeRuleName(const char* value) { m_eventBridgeRuleNameHasBeenSet = true; m_eventBridgeRuleName.assign(value); }
109 inline EventIntegrationAssociation& WithEventBridgeRuleName(const char* value) { SetEventBridgeRuleName(value); return *this;}
111
113
116 inline const Aws::Map<Aws::String, Aws::String>& GetClientAssociationMetadata() const{ return m_clientAssociationMetadata; }
117 inline bool ClientAssociationMetadataHasBeenSet() const { return m_clientAssociationMetadataHasBeenSet; }
118 inline void SetClientAssociationMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_clientAssociationMetadataHasBeenSet = true; m_clientAssociationMetadata = value; }
119 inline void SetClientAssociationMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_clientAssociationMetadataHasBeenSet = true; m_clientAssociationMetadata = std::move(value); }
122 inline EventIntegrationAssociation& AddClientAssociationMetadata(const Aws::String& key, const Aws::String& value) { m_clientAssociationMetadataHasBeenSet = true; m_clientAssociationMetadata.emplace(key, value); return *this; }
123 inline EventIntegrationAssociation& AddClientAssociationMetadata(Aws::String&& key, const Aws::String& value) { m_clientAssociationMetadataHasBeenSet = true; m_clientAssociationMetadata.emplace(std::move(key), value); return *this; }
124 inline EventIntegrationAssociation& AddClientAssociationMetadata(const Aws::String& key, Aws::String&& value) { m_clientAssociationMetadataHasBeenSet = true; m_clientAssociationMetadata.emplace(key, std::move(value)); return *this; }
125 inline EventIntegrationAssociation& AddClientAssociationMetadata(Aws::String&& key, Aws::String&& value) { m_clientAssociationMetadataHasBeenSet = true; m_clientAssociationMetadata.emplace(std::move(key), std::move(value)); return *this; }
126 inline EventIntegrationAssociation& AddClientAssociationMetadata(const char* key, Aws::String&& value) { m_clientAssociationMetadataHasBeenSet = true; m_clientAssociationMetadata.emplace(key, std::move(value)); return *this; }
127 inline EventIntegrationAssociation& AddClientAssociationMetadata(Aws::String&& key, const char* value) { m_clientAssociationMetadataHasBeenSet = true; m_clientAssociationMetadata.emplace(std::move(key), value); return *this; }
128 inline EventIntegrationAssociation& AddClientAssociationMetadata(const char* key, const char* value) { m_clientAssociationMetadataHasBeenSet = true; m_clientAssociationMetadata.emplace(key, value); return *this; }
130 private:
131
132 Aws::String m_eventIntegrationAssociationArn;
133 bool m_eventIntegrationAssociationArnHasBeenSet = false;
134
135 Aws::String m_eventIntegrationAssociationId;
136 bool m_eventIntegrationAssociationIdHasBeenSet = false;
137
138 Aws::String m_eventIntegrationName;
139 bool m_eventIntegrationNameHasBeenSet = false;
140
141 Aws::String m_clientId;
142 bool m_clientIdHasBeenSet = false;
143
144 Aws::String m_eventBridgeRuleName;
145 bool m_eventBridgeRuleNameHasBeenSet = false;
146
147 Aws::Map<Aws::String, Aws::String> m_clientAssociationMetadata;
148 bool m_clientAssociationMetadataHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace AppIntegrationsService
153} // namespace Aws
EventIntegrationAssociation & AddClientAssociationMetadata(const Aws::String &key, Aws::String &&value)
EventIntegrationAssociation & WithEventIntegrationName(const Aws::String &value)
AWS_APPINTEGRATIONSSERVICE_API EventIntegrationAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
EventIntegrationAssociation & WithEventIntegrationName(const char *value)
EventIntegrationAssociation & AddClientAssociationMetadata(const Aws::String &key, const Aws::String &value)
EventIntegrationAssociation & WithEventIntegrationAssociationArn(Aws::String &&value)
EventIntegrationAssociation & WithEventIntegrationAssociationArn(const Aws::String &value)
void SetClientAssociationMetadata(const Aws::Map< Aws::String, Aws::String > &value)
EventIntegrationAssociation & WithEventIntegrationName(Aws::String &&value)
EventIntegrationAssociation & WithEventBridgeRuleName(Aws::String &&value)
EventIntegrationAssociation & WithEventBridgeRuleName(const Aws::String &value)
EventIntegrationAssociation & WithClientId(const Aws::String &value)
EventIntegrationAssociation & AddClientAssociationMetadata(Aws::String &&key, const char *value)
void SetClientAssociationMetadata(Aws::Map< Aws::String, Aws::String > &&value)
EventIntegrationAssociation & WithClientAssociationMetadata(const Aws::Map< Aws::String, Aws::String > &value)
EventIntegrationAssociation & AddClientAssociationMetadata(Aws::String &&key, const Aws::String &value)
EventIntegrationAssociation & AddClientAssociationMetadata(const char *key, Aws::String &&value)
EventIntegrationAssociation & AddClientAssociationMetadata(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetClientAssociationMetadata() const
EventIntegrationAssociation & WithEventBridgeRuleName(const char *value)
EventIntegrationAssociation & WithEventIntegrationAssociationId(Aws::String &&value)
EventIntegrationAssociation & WithEventIntegrationAssociationId(const Aws::String &value)
AWS_APPINTEGRATIONSSERVICE_API EventIntegrationAssociation(Aws::Utils::Json::JsonView jsonValue)
EventIntegrationAssociation & WithClientAssociationMetadata(Aws::Map< Aws::String, Aws::String > &&value)
EventIntegrationAssociation & AddClientAssociationMetadata(const char *key, const char *value)
AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
EventIntegrationAssociation & WithEventIntegrationAssociationId(const char *value)
EventIntegrationAssociation & WithEventIntegrationAssociationArn(const char *value)
EventIntegrationAssociation & WithClientId(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue