AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CapabilityOptions.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/model/InboundEdiOptions.h>
9#include <aws/b2bi/model/OutboundEdiOptions.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace B2BI {
21namespace Model {
22
30 public:
31 AWS_B2BI_API CapabilityOptions() = default;
35
37
40 inline const OutboundEdiOptions& GetOutboundEdi() const { return m_outboundEdi; }
41 inline bool OutboundEdiHasBeenSet() const { return m_outboundEdiHasBeenSet; }
42 template <typename OutboundEdiT = OutboundEdiOptions>
43 void SetOutboundEdi(OutboundEdiT&& value) {
44 m_outboundEdiHasBeenSet = true;
45 m_outboundEdi = std::forward<OutboundEdiT>(value);
46 }
47 template <typename OutboundEdiT = OutboundEdiOptions>
48 CapabilityOptions& WithOutboundEdi(OutboundEdiT&& value) {
49 SetOutboundEdi(std::forward<OutboundEdiT>(value));
50 return *this;
51 }
53
55
58 inline const InboundEdiOptions& GetInboundEdi() const { return m_inboundEdi; }
59 inline bool InboundEdiHasBeenSet() const { return m_inboundEdiHasBeenSet; }
60 template <typename InboundEdiT = InboundEdiOptions>
61 void SetInboundEdi(InboundEdiT&& value) {
62 m_inboundEdiHasBeenSet = true;
63 m_inboundEdi = std::forward<InboundEdiT>(value);
64 }
65 template <typename InboundEdiT = InboundEdiOptions>
66 CapabilityOptions& WithInboundEdi(InboundEdiT&& value) {
67 SetInboundEdi(std::forward<InboundEdiT>(value));
68 return *this;
69 }
71 private:
72 OutboundEdiOptions m_outboundEdi;
73
74 InboundEdiOptions m_inboundEdi;
75 bool m_outboundEdiHasBeenSet = false;
76 bool m_inboundEdiHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace B2BI
81} // namespace Aws
AWS_B2BI_API CapabilityOptions()=default
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_B2BI_API CapabilityOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const OutboundEdiOptions & GetOutboundEdi() const
CapabilityOptions & WithOutboundEdi(OutboundEdiT &&value)
const InboundEdiOptions & GetInboundEdi() const
void SetOutboundEdi(OutboundEdiT &&value)
CapabilityOptions & WithInboundEdi(InboundEdiT &&value)
void SetInboundEdi(InboundEdiT &&value)
AWS_B2BI_API CapabilityOptions(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue