AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
DecryptStepDetails.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/model/EncryptionType.h>
9#include <aws/awstransfer/model/InputFileLocation.h>
10#include <aws/awstransfer/model/OverwriteExisting.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 Transfer {
23namespace Model {
24
32 public:
33 AWS_TRANSFER_API DecryptStepDetails() = default;
36 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
50 DecryptStepDetails& WithName(NameT&& value) {
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
61 inline EncryptionType GetType() const { return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(EncryptionType value) {
64 m_typeHasBeenSet = true;
65 m_type = value;
66 }
68 SetType(value);
69 return *this;
70 }
72
74
83 inline const Aws::String& GetSourceFileLocation() const { return m_sourceFileLocation; }
84 inline bool SourceFileLocationHasBeenSet() const { return m_sourceFileLocationHasBeenSet; }
85 template <typename SourceFileLocationT = Aws::String>
86 void SetSourceFileLocation(SourceFileLocationT&& value) {
87 m_sourceFileLocationHasBeenSet = true;
88 m_sourceFileLocation = std::forward<SourceFileLocationT>(value);
89 }
90 template <typename SourceFileLocationT = Aws::String>
91 DecryptStepDetails& WithSourceFileLocation(SourceFileLocationT&& value) {
92 SetSourceFileLocation(std::forward<SourceFileLocationT>(value));
93 return *this;
94 }
96
98
107 inline OverwriteExisting GetOverwriteExisting() const { return m_overwriteExisting; }
108 inline bool OverwriteExistingHasBeenSet() const { return m_overwriteExistingHasBeenSet; }
110 m_overwriteExistingHasBeenSet = true;
111 m_overwriteExisting = value;
112 }
115 return *this;
116 }
118
120
134 inline const InputFileLocation& GetDestinationFileLocation() const { return m_destinationFileLocation; }
135 inline bool DestinationFileLocationHasBeenSet() const { return m_destinationFileLocationHasBeenSet; }
136 template <typename DestinationFileLocationT = InputFileLocation>
137 void SetDestinationFileLocation(DestinationFileLocationT&& value) {
138 m_destinationFileLocationHasBeenSet = true;
139 m_destinationFileLocation = std::forward<DestinationFileLocationT>(value);
140 }
141 template <typename DestinationFileLocationT = InputFileLocation>
142 DecryptStepDetails& WithDestinationFileLocation(DestinationFileLocationT&& value) {
143 SetDestinationFileLocation(std::forward<DestinationFileLocationT>(value));
144 return *this;
145 }
147 private:
148 Aws::String m_name;
149
151
152 Aws::String m_sourceFileLocation;
153
155
156 InputFileLocation m_destinationFileLocation;
157 bool m_nameHasBeenSet = false;
158 bool m_typeHasBeenSet = false;
159 bool m_sourceFileLocationHasBeenSet = false;
160 bool m_overwriteExistingHasBeenSet = false;
161 bool m_destinationFileLocationHasBeenSet = false;
162};
163
164} // namespace Model
165} // namespace Transfer
166} // namespace Aws
void SetOverwriteExisting(OverwriteExisting value)
const InputFileLocation & GetDestinationFileLocation() const
AWS_TRANSFER_API DecryptStepDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSFER_API DecryptStepDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSFER_API DecryptStepDetails()=default
void SetSourceFileLocation(SourceFileLocationT &&value)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
DecryptStepDetails & WithName(NameT &&value)
DecryptStepDetails & WithOverwriteExisting(OverwriteExisting value)
DecryptStepDetails & WithSourceFileLocation(SourceFileLocationT &&value)
void SetDestinationFileLocation(DestinationFileLocationT &&value)
const Aws::String & GetSourceFileLocation() const
DecryptStepDetails & WithType(EncryptionType value)
DecryptStepDetails & WithDestinationFileLocation(DestinationFileLocationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue