AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline CustomStepDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline CustomStepDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline CustomStepDetails& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const Aws::String& GetTarget() const{ return m_target; }
60 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
61 inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; }
62 inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
63 inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); }
64 inline CustomStepDetails& WithTarget(const Aws::String& value) { SetTarget(value); return *this;}
65 inline CustomStepDetails& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;}
66 inline CustomStepDetails& WithTarget(const char* value) { SetTarget(value); return *this;}
68
70
73 inline int GetTimeoutSeconds() const{ return m_timeoutSeconds; }
74 inline bool TimeoutSecondsHasBeenSet() const { return m_timeoutSecondsHasBeenSet; }
75 inline void SetTimeoutSeconds(int value) { m_timeoutSecondsHasBeenSet = true; m_timeoutSeconds = value; }
76 inline CustomStepDetails& WithTimeoutSeconds(int value) { SetTimeoutSeconds(value); return *this;}
78
80
89 inline const Aws::String& GetSourceFileLocation() const{ return m_sourceFileLocation; }
90 inline bool SourceFileLocationHasBeenSet() const { return m_sourceFileLocationHasBeenSet; }
91 inline void SetSourceFileLocation(const Aws::String& value) { m_sourceFileLocationHasBeenSet = true; m_sourceFileLocation = value; }
92 inline void SetSourceFileLocation(Aws::String&& value) { m_sourceFileLocationHasBeenSet = true; m_sourceFileLocation = std::move(value); }
93 inline void SetSourceFileLocation(const char* value) { m_sourceFileLocationHasBeenSet = true; m_sourceFileLocation.assign(value); }
94 inline CustomStepDetails& WithSourceFileLocation(const Aws::String& value) { SetSourceFileLocation(value); return *this;}
95 inline CustomStepDetails& WithSourceFileLocation(Aws::String&& value) { SetSourceFileLocation(std::move(value)); return *this;}
96 inline CustomStepDetails& WithSourceFileLocation(const char* value) { SetSourceFileLocation(value); return *this;}
98 private:
99
100 Aws::String m_name;
101 bool m_nameHasBeenSet = false;
102
103 Aws::String m_target;
104 bool m_targetHasBeenSet = false;
105
106 int m_timeoutSeconds;
107 bool m_timeoutSecondsHasBeenSet = false;
108
109 Aws::String m_sourceFileLocation;
110 bool m_sourceFileLocationHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace Transfer
115} // namespace Aws
CustomStepDetails & WithTarget(const char *value)
const Aws::String & GetTarget() const
CustomStepDetails & WithTarget(Aws::String &&value)
CustomStepDetails & WithTarget(const Aws::String &value)
CustomStepDetails & WithName(Aws::String &&value)
void SetSourceFileLocation(const Aws::String &value)
void SetName(const Aws::String &value)
void SetSourceFileLocation(const char *value)
CustomStepDetails & WithName(const char *value)
AWS_TRANSFER_API CustomStepDetails(Aws::Utils::Json::JsonView jsonValue)
CustomStepDetails & WithName(const Aws::String &value)
const Aws::String & GetSourceFileLocation() const
CustomStepDetails & WithSourceFileLocation(Aws::String &&value)
CustomStepDetails & WithTimeoutSeconds(int value)
void SetTarget(const Aws::String &value)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSFER_API CustomStepDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSourceFileLocation(Aws::String &&value)
CustomStepDetails & WithSourceFileLocation(const char *value)
CustomStepDetails & WithSourceFileLocation(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue