AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
CustomStepDetails.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Transfer {
20namespace Model {
21
29 public:
30 AWS_TRANSFER_API CustomStepDetails() = default;
31 AWS_TRANSFER_API CustomStepDetails(Aws::Utils::Json::JsonView jsonValue);
33 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetName() const { return m_name; }
40 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
41 template <typename NameT = Aws::String>
42 void SetName(NameT&& value) {
43 m_nameHasBeenSet = true;
44 m_name = std::forward<NameT>(value);
45 }
46 template <typename NameT = Aws::String>
47 CustomStepDetails& WithName(NameT&& value) {
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetTarget() const { return m_target; }
58 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
59 template <typename TargetT = Aws::String>
60 void SetTarget(TargetT&& value) {
61 m_targetHasBeenSet = true;
62 m_target = std::forward<TargetT>(value);
63 }
64 template <typename TargetT = Aws::String>
65 CustomStepDetails& WithTarget(TargetT&& value) {
66 SetTarget(std::forward<TargetT>(value));
67 return *this;
68 }
70
72
75 inline int GetTimeoutSeconds() const { return m_timeoutSeconds; }
76 inline bool TimeoutSecondsHasBeenSet() const { return m_timeoutSecondsHasBeenSet; }
77 inline void SetTimeoutSeconds(int value) {
78 m_timeoutSecondsHasBeenSet = true;
79 m_timeoutSeconds = value;
80 }
82 SetTimeoutSeconds(value);
83 return *this;
84 }
86
88
97 inline const Aws::String& GetSourceFileLocation() const { return m_sourceFileLocation; }
98 inline bool SourceFileLocationHasBeenSet() const { return m_sourceFileLocationHasBeenSet; }
99 template <typename SourceFileLocationT = Aws::String>
100 void SetSourceFileLocation(SourceFileLocationT&& value) {
101 m_sourceFileLocationHasBeenSet = true;
102 m_sourceFileLocation = std::forward<SourceFileLocationT>(value);
103 }
104 template <typename SourceFileLocationT = Aws::String>
105 CustomStepDetails& WithSourceFileLocation(SourceFileLocationT&& value) {
106 SetSourceFileLocation(std::forward<SourceFileLocationT>(value));
107 return *this;
108 }
110 private:
111 Aws::String m_name;
112
113 Aws::String m_target;
114
115 int m_timeoutSeconds{0};
116
117 Aws::String m_sourceFileLocation;
118 bool m_nameHasBeenSet = false;
119 bool m_targetHasBeenSet = false;
120 bool m_timeoutSecondsHasBeenSet = false;
121 bool m_sourceFileLocationHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace Transfer
126} // namespace Aws
const Aws::String & GetTarget() const
AWS_TRANSFER_API CustomStepDetails()=default
AWS_TRANSFER_API CustomStepDetails(Aws::Utils::Json::JsonView jsonValue)
CustomStepDetails & WithSourceFileLocation(SourceFileLocationT &&value)
void SetSourceFileLocation(SourceFileLocationT &&value)
CustomStepDetails & WithTarget(TargetT &&value)
const Aws::String & GetSourceFileLocation() const
CustomStepDetails & WithName(NameT &&value)
CustomStepDetails & WithTimeoutSeconds(int value)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSFER_API CustomStepDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue