AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ReplicationConfig.h
1
6#pragma once
7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/eventbridge/model/ReplicationState.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EventBridge {
20namespace Model {
21
29 public:
30 AWS_EVENTBRIDGE_API ReplicationConfig() = default;
31 AWS_EVENTBRIDGE_API ReplicationConfig(Aws::Utils::Json::JsonView jsonValue);
33 AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline ReplicationState GetState() const { return m_state; }
40 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
41 inline void SetState(ReplicationState value) {
42 m_stateHasBeenSet = true;
43 m_state = value;
44 }
46 SetState(value);
47 return *this;
48 }
50 private:
52 bool m_stateHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace EventBridge
57} // namespace Aws
AWS_EVENTBRIDGE_API ReplicationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
ReplicationConfig & WithState(ReplicationState value)
AWS_EVENTBRIDGE_API ReplicationConfig()=default
AWS_EVENTBRIDGE_API ReplicationConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue