AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Transfer
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_TRANSFER_API CustomStepDetails() = default;
36 AWS_TRANSFER_API CustomStepDetails(Aws::Utils::Json::JsonView jsonValue);
38 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 template<typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
49 template<typename NameT = Aws::String>
50 CustomStepDetails& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_targetHasBeenSet = true; m_target = std::forward<TargetT>(value); }
61 template<typename TargetT = Aws::String>
62 CustomStepDetails& WithTarget(TargetT&& value) { SetTarget(std::forward<TargetT>(value)); return *this;}
64
66
69 inline int GetTimeoutSeconds() const { return m_timeoutSeconds; }
70 inline bool TimeoutSecondsHasBeenSet() const { return m_timeoutSecondsHasBeenSet; }
71 inline void SetTimeoutSeconds(int value) { m_timeoutSecondsHasBeenSet = true; m_timeoutSeconds = value; }
72 inline CustomStepDetails& WithTimeoutSeconds(int value) { SetTimeoutSeconds(value); return *this;}
74
76
85 inline const Aws::String& GetSourceFileLocation() const { return m_sourceFileLocation; }
86 inline bool SourceFileLocationHasBeenSet() const { return m_sourceFileLocationHasBeenSet; }
87 template<typename SourceFileLocationT = Aws::String>
88 void SetSourceFileLocation(SourceFileLocationT&& value) { m_sourceFileLocationHasBeenSet = true; m_sourceFileLocation = std::forward<SourceFileLocationT>(value); }
89 template<typename SourceFileLocationT = Aws::String>
90 CustomStepDetails& WithSourceFileLocation(SourceFileLocationT&& value) { SetSourceFileLocation(std::forward<SourceFileLocationT>(value)); return *this;}
92 private:
93
94 Aws::String m_name;
95 bool m_nameHasBeenSet = false;
96
97 Aws::String m_target;
98 bool m_targetHasBeenSet = false;
99
100 int m_timeoutSeconds{0};
101 bool m_timeoutSecondsHasBeenSet = false;
102
103 Aws::String m_sourceFileLocation;
104 bool m_sourceFileLocationHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Transfer
109} // 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