AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
EdiConfiguration.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/model/CapabilityDirection.h>
9#include <aws/b2bi/model/EdiType.h>
10#include <aws/b2bi/model/S3Location.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace B2BI {
23namespace Model {
24
32 public:
33 AWS_B2BI_API EdiConfiguration() = default;
37
39
43 inline CapabilityDirection GetCapabilityDirection() const { return m_capabilityDirection; }
44 inline bool CapabilityDirectionHasBeenSet() const { return m_capabilityDirectionHasBeenSet; }
46 m_capabilityDirectionHasBeenSet = true;
47 m_capabilityDirection = value;
48 }
51 return *this;
52 }
54
56
60 inline const EdiType& GetType() const { return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 template <typename TypeT = EdiType>
63 void SetType(TypeT&& value) {
64 m_typeHasBeenSet = true;
65 m_type = std::forward<TypeT>(value);
66 }
67 template <typename TypeT = EdiType>
68 EdiConfiguration& WithType(TypeT&& value) {
69 SetType(std::forward<TypeT>(value));
70 return *this;
71 }
73
75
79 inline const S3Location& GetInputLocation() const { return m_inputLocation; }
80 inline bool InputLocationHasBeenSet() const { return m_inputLocationHasBeenSet; }
81 template <typename InputLocationT = S3Location>
82 void SetInputLocation(InputLocationT&& value) {
83 m_inputLocationHasBeenSet = true;
84 m_inputLocation = std::forward<InputLocationT>(value);
85 }
86 template <typename InputLocationT = S3Location>
87 EdiConfiguration& WithInputLocation(InputLocationT&& value) {
88 SetInputLocation(std::forward<InputLocationT>(value));
89 return *this;
90 }
92
94
98 inline const S3Location& GetOutputLocation() const { return m_outputLocation; }
99 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
100 template <typename OutputLocationT = S3Location>
101 void SetOutputLocation(OutputLocationT&& value) {
102 m_outputLocationHasBeenSet = true;
103 m_outputLocation = std::forward<OutputLocationT>(value);
104 }
105 template <typename OutputLocationT = S3Location>
106 EdiConfiguration& WithOutputLocation(OutputLocationT&& value) {
107 SetOutputLocation(std::forward<OutputLocationT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::String& GetTransformerId() const { return m_transformerId; }
117 inline bool TransformerIdHasBeenSet() const { return m_transformerIdHasBeenSet; }
118 template <typename TransformerIdT = Aws::String>
119 void SetTransformerId(TransformerIdT&& value) {
120 m_transformerIdHasBeenSet = true;
121 m_transformerId = std::forward<TransformerIdT>(value);
122 }
123 template <typename TransformerIdT = Aws::String>
124 EdiConfiguration& WithTransformerId(TransformerIdT&& value) {
125 SetTransformerId(std::forward<TransformerIdT>(value));
126 return *this;
127 }
129 private:
131
132 EdiType m_type;
133
134 S3Location m_inputLocation;
135
136 S3Location m_outputLocation;
137
138 Aws::String m_transformerId;
139 bool m_capabilityDirectionHasBeenSet = false;
140 bool m_typeHasBeenSet = false;
141 bool m_inputLocationHasBeenSet = false;
142 bool m_outputLocationHasBeenSet = false;
143 bool m_transformerIdHasBeenSet = false;
144};
145
146} // namespace Model
147} // namespace B2BI
148} // namespace Aws
void SetInputLocation(InputLocationT &&value)
EdiConfiguration & WithInputLocation(InputLocationT &&value)
EdiConfiguration & WithTransformerId(TransformerIdT &&value)
void SetOutputLocation(OutputLocationT &&value)
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_B2BI_API EdiConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
EdiConfiguration & WithType(TypeT &&value)
EdiConfiguration & WithCapabilityDirection(CapabilityDirection value)
const Aws::String & GetTransformerId() const
CapabilityDirection GetCapabilityDirection() const
AWS_B2BI_API EdiConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetCapabilityDirection(CapabilityDirection value)
const S3Location & GetInputLocation() const
AWS_B2BI_API EdiConfiguration()=default
void SetTransformerId(TransformerIdT &&value)
const S3Location & GetOutputLocation() const
EdiConfiguration & WithOutputLocation(OutputLocationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue