AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CopyStepDetails.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/awstransfer/model/InputFileLocation.h>
10#include <aws/awstransfer/model/OverwriteExisting.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Transfer
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_TRANSFER_API CopyStepDetails();
38 AWS_TRANSFER_API CopyStepDetails(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline CopyStepDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline CopyStepDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline CopyStepDetails& WithName(const char* value) { SetName(value); return *this;}
56
58
71 inline const InputFileLocation& GetDestinationFileLocation() const{ return m_destinationFileLocation; }
72 inline bool DestinationFileLocationHasBeenSet() const { return m_destinationFileLocationHasBeenSet; }
73 inline void SetDestinationFileLocation(const InputFileLocation& value) { m_destinationFileLocationHasBeenSet = true; m_destinationFileLocation = value; }
74 inline void SetDestinationFileLocation(InputFileLocation&& value) { m_destinationFileLocationHasBeenSet = true; m_destinationFileLocation = std::move(value); }
78
80
89 inline const OverwriteExisting& GetOverwriteExisting() const{ return m_overwriteExisting; }
90 inline bool OverwriteExistingHasBeenSet() const { return m_overwriteExistingHasBeenSet; }
91 inline void SetOverwriteExisting(const OverwriteExisting& value) { m_overwriteExistingHasBeenSet = true; m_overwriteExisting = value; }
92 inline void SetOverwriteExisting(OverwriteExisting&& value) { m_overwriteExistingHasBeenSet = true; m_overwriteExisting = std::move(value); }
93 inline CopyStepDetails& WithOverwriteExisting(const OverwriteExisting& value) { SetOverwriteExisting(value); return *this;}
94 inline CopyStepDetails& WithOverwriteExisting(OverwriteExisting&& value) { SetOverwriteExisting(std::move(value)); return *this;}
96
98
107 inline const Aws::String& GetSourceFileLocation() const{ return m_sourceFileLocation; }
108 inline bool SourceFileLocationHasBeenSet() const { return m_sourceFileLocationHasBeenSet; }
109 inline void SetSourceFileLocation(const Aws::String& value) { m_sourceFileLocationHasBeenSet = true; m_sourceFileLocation = value; }
110 inline void SetSourceFileLocation(Aws::String&& value) { m_sourceFileLocationHasBeenSet = true; m_sourceFileLocation = std::move(value); }
111 inline void SetSourceFileLocation(const char* value) { m_sourceFileLocationHasBeenSet = true; m_sourceFileLocation.assign(value); }
112 inline CopyStepDetails& WithSourceFileLocation(const Aws::String& value) { SetSourceFileLocation(value); return *this;}
113 inline CopyStepDetails& WithSourceFileLocation(Aws::String&& value) { SetSourceFileLocation(std::move(value)); return *this;}
114 inline CopyStepDetails& WithSourceFileLocation(const char* value) { SetSourceFileLocation(value); return *this;}
116 private:
117
118 Aws::String m_name;
119 bool m_nameHasBeenSet = false;
120
121 InputFileLocation m_destinationFileLocation;
122 bool m_destinationFileLocationHasBeenSet = false;
123
124 OverwriteExisting m_overwriteExisting;
125 bool m_overwriteExistingHasBeenSet = false;
126
127 Aws::String m_sourceFileLocation;
128 bool m_sourceFileLocationHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace Transfer
133} // namespace Aws
CopyStepDetails & WithName(const Aws::String &value)
CopyStepDetails & WithDestinationFileLocation(const InputFileLocation &value)
CopyStepDetails & WithOverwriteExisting(const OverwriteExisting &value)
CopyStepDetails & WithName(Aws::String &&value)
CopyStepDetails & WithSourceFileLocation(Aws::String &&value)
CopyStepDetails & WithSourceFileLocation(const char *value)
void SetDestinationFileLocation(InputFileLocation &&value)
void SetName(Aws::String &&value)
CopyStepDetails & WithSourceFileLocation(const Aws::String &value)
void SetSourceFileLocation(const Aws::String &value)
AWS_TRANSFER_API CopyStepDetails(Aws::Utils::Json::JsonView jsonValue)
const InputFileLocation & GetDestinationFileLocation() const
const Aws::String & GetName() const
AWS_TRANSFER_API CopyStepDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
const OverwriteExisting & GetOverwriteExisting() const
void SetSourceFileLocation(const char *value)
void SetDestinationFileLocation(const InputFileLocation &value)
void SetOverwriteExisting(const OverwriteExisting &value)
CopyStepDetails & WithDestinationFileLocation(InputFileLocation &&value)
void SetSourceFileLocation(Aws::String &&value)
void SetOverwriteExisting(OverwriteExisting &&value)
const Aws::String & GetSourceFileLocation() const
CopyStepDetails & WithOverwriteExisting(OverwriteExisting &&value)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
CopyStepDetails & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue