AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
DescribedExecution.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/model/ExecutionResults.h>
9#include <aws/awstransfer/model/ExecutionStatus.h>
10#include <aws/awstransfer/model/FileLocation.h>
11#include <aws/awstransfer/model/LoggingConfiguration.h>
12#include <aws/awstransfer/model/PosixProfile.h>
13#include <aws/awstransfer/model/ServiceMetadata.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Transfer {
26namespace Model {
27
34 public:
35 AWS_TRANSFER_API DescribedExecution() = default;
38 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetExecutionId() const { return m_executionId; }
45 inline bool ExecutionIdHasBeenSet() const { return m_executionIdHasBeenSet; }
46 template <typename ExecutionIdT = Aws::String>
47 void SetExecutionId(ExecutionIdT&& value) {
48 m_executionIdHasBeenSet = true;
49 m_executionId = std::forward<ExecutionIdT>(value);
50 }
51 template <typename ExecutionIdT = Aws::String>
52 DescribedExecution& WithExecutionId(ExecutionIdT&& value) {
53 SetExecutionId(std::forward<ExecutionIdT>(value));
54 return *this;
55 }
57
59
64 inline const FileLocation& GetInitialFileLocation() const { return m_initialFileLocation; }
65 inline bool InitialFileLocationHasBeenSet() const { return m_initialFileLocationHasBeenSet; }
66 template <typename InitialFileLocationT = FileLocation>
67 void SetInitialFileLocation(InitialFileLocationT&& value) {
68 m_initialFileLocationHasBeenSet = true;
69 m_initialFileLocation = std::forward<InitialFileLocationT>(value);
70 }
71 template <typename InitialFileLocationT = FileLocation>
72 DescribedExecution& WithInitialFileLocation(InitialFileLocationT&& value) {
73 SetInitialFileLocation(std::forward<InitialFileLocationT>(value));
74 return *this;
75 }
77
79
83 inline const ServiceMetadata& GetServiceMetadata() const { return m_serviceMetadata; }
84 inline bool ServiceMetadataHasBeenSet() const { return m_serviceMetadataHasBeenSet; }
85 template <typename ServiceMetadataT = ServiceMetadata>
86 void SetServiceMetadata(ServiceMetadataT&& value) {
87 m_serviceMetadataHasBeenSet = true;
88 m_serviceMetadata = std::forward<ServiceMetadataT>(value);
89 }
90 template <typename ServiceMetadataT = ServiceMetadata>
91 DescribedExecution& WithServiceMetadata(ServiceMetadataT&& value) {
92 SetServiceMetadata(std::forward<ServiceMetadataT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::String& GetExecutionRole() const { return m_executionRole; }
102 inline bool ExecutionRoleHasBeenSet() const { return m_executionRoleHasBeenSet; }
103 template <typename ExecutionRoleT = Aws::String>
104 void SetExecutionRole(ExecutionRoleT&& value) {
105 m_executionRoleHasBeenSet = true;
106 m_executionRole = std::forward<ExecutionRoleT>(value);
107 }
108 template <typename ExecutionRoleT = Aws::String>
109 DescribedExecution& WithExecutionRole(ExecutionRoleT&& value) {
110 SetExecutionRole(std::forward<ExecutionRoleT>(value));
111 return *this;
112 }
114
116
119 inline const LoggingConfiguration& GetLoggingConfiguration() const { return m_loggingConfiguration; }
120 inline bool LoggingConfigurationHasBeenSet() const { return m_loggingConfigurationHasBeenSet; }
121 template <typename LoggingConfigurationT = LoggingConfiguration>
122 void SetLoggingConfiguration(LoggingConfigurationT&& value) {
123 m_loggingConfigurationHasBeenSet = true;
124 m_loggingConfiguration = std::forward<LoggingConfigurationT>(value);
125 }
126 template <typename LoggingConfigurationT = LoggingConfiguration>
127 DescribedExecution& WithLoggingConfiguration(LoggingConfigurationT&& value) {
128 SetLoggingConfiguration(std::forward<LoggingConfigurationT>(value));
129 return *this;
130 }
132
134
135 inline const PosixProfile& GetPosixProfile() const { return m_posixProfile; }
136 inline bool PosixProfileHasBeenSet() const { return m_posixProfileHasBeenSet; }
137 template <typename PosixProfileT = PosixProfile>
138 void SetPosixProfile(PosixProfileT&& value) {
139 m_posixProfileHasBeenSet = true;
140 m_posixProfile = std::forward<PosixProfileT>(value);
141 }
142 template <typename PosixProfileT = PosixProfile>
143 DescribedExecution& WithPosixProfile(PosixProfileT&& value) {
144 SetPosixProfile(std::forward<PosixProfileT>(value));
145 return *this;
146 }
148
150
154 inline ExecutionStatus GetStatus() const { return m_status; }
155 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
156 inline void SetStatus(ExecutionStatus value) {
157 m_statusHasBeenSet = true;
158 m_status = value;
159 }
161 SetStatus(value);
162 return *this;
163 }
165
167
172 inline const ExecutionResults& GetResults() const { return m_results; }
173 inline bool ResultsHasBeenSet() const { return m_resultsHasBeenSet; }
174 template <typename ResultsT = ExecutionResults>
175 void SetResults(ResultsT&& value) {
176 m_resultsHasBeenSet = true;
177 m_results = std::forward<ResultsT>(value);
178 }
179 template <typename ResultsT = ExecutionResults>
180 DescribedExecution& WithResults(ResultsT&& value) {
181 SetResults(std::forward<ResultsT>(value));
182 return *this;
183 }
185 private:
186 Aws::String m_executionId;
187
188 FileLocation m_initialFileLocation;
189
190 ServiceMetadata m_serviceMetadata;
191
192 Aws::String m_executionRole;
193
194 LoggingConfiguration m_loggingConfiguration;
195
196 PosixProfile m_posixProfile;
197
199
200 ExecutionResults m_results;
201 bool m_executionIdHasBeenSet = false;
202 bool m_initialFileLocationHasBeenSet = false;
203 bool m_serviceMetadataHasBeenSet = false;
204 bool m_executionRoleHasBeenSet = false;
205 bool m_loggingConfigurationHasBeenSet = false;
206 bool m_posixProfileHasBeenSet = false;
207 bool m_statusHasBeenSet = false;
208 bool m_resultsHasBeenSet = false;
209};
210
211} // namespace Model
212} // namespace Transfer
213} // namespace Aws
const ExecutionResults & GetResults() const
void SetInitialFileLocation(InitialFileLocationT &&value)
void SetExecutionRole(ExecutionRoleT &&value)
void SetPosixProfile(PosixProfileT &&value)
const FileLocation & GetInitialFileLocation() const
DescribedExecution & WithInitialFileLocation(InitialFileLocationT &&value)
DescribedExecution & WithStatus(ExecutionStatus value)
const Aws::String & GetExecutionRole() const
DescribedExecution & WithServiceMetadata(ServiceMetadataT &&value)
DescribedExecution & WithResults(ResultsT &&value)
void SetServiceMetadata(ServiceMetadataT &&value)
AWS_TRANSFER_API DescribedExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetExecutionId() const
const PosixProfile & GetPosixProfile() const
const LoggingConfiguration & GetLoggingConfiguration() const
DescribedExecution & WithExecutionRole(ExecutionRoleT &&value)
DescribedExecution & WithPosixProfile(PosixProfileT &&value)
const ServiceMetadata & GetServiceMetadata() const
void SetLoggingConfiguration(LoggingConfigurationT &&value)
DescribedExecution & WithLoggingConfiguration(LoggingConfigurationT &&value)
AWS_TRANSFER_API DescribedExecution(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
DescribedExecution & WithExecutionId(ExecutionIdT &&value)
AWS_TRANSFER_API DescribedExecution()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue