AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribedExecution.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/FileLocation.h>
10#include <aws/awstransfer/model/ServiceMetadata.h>
11#include <aws/awstransfer/model/LoggingConfiguration.h>
12#include <aws/awstransfer/model/PosixProfile.h>
13#include <aws/awstransfer/model/ExecutionStatus.h>
14#include <aws/awstransfer/model/ExecutionResults.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Transfer
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_TRANSFER_API DescribedExecution() = default;
43 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetExecutionId() const { return m_executionId; }
51 inline bool ExecutionIdHasBeenSet() const { return m_executionIdHasBeenSet; }
52 template<typename ExecutionIdT = Aws::String>
53 void SetExecutionId(ExecutionIdT&& value) { m_executionIdHasBeenSet = true; m_executionId = std::forward<ExecutionIdT>(value); }
54 template<typename ExecutionIdT = Aws::String>
55 DescribedExecution& WithExecutionId(ExecutionIdT&& value) { SetExecutionId(std::forward<ExecutionIdT>(value)); return *this;}
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) { m_initialFileLocationHasBeenSet = true; m_initialFileLocation = std::forward<InitialFileLocationT>(value); }
68 template<typename InitialFileLocationT = FileLocation>
69 DescribedExecution& WithInitialFileLocation(InitialFileLocationT&& value) { SetInitialFileLocation(std::forward<InitialFileLocationT>(value)); return *this;}
71
73
77 inline const ServiceMetadata& GetServiceMetadata() const { return m_serviceMetadata; }
78 inline bool ServiceMetadataHasBeenSet() const { return m_serviceMetadataHasBeenSet; }
79 template<typename ServiceMetadataT = ServiceMetadata>
80 void SetServiceMetadata(ServiceMetadataT&& value) { m_serviceMetadataHasBeenSet = true; m_serviceMetadata = std::forward<ServiceMetadataT>(value); }
81 template<typename ServiceMetadataT = ServiceMetadata>
82 DescribedExecution& WithServiceMetadata(ServiceMetadataT&& value) { SetServiceMetadata(std::forward<ServiceMetadataT>(value)); return *this;}
84
86
89 inline const Aws::String& GetExecutionRole() const { return m_executionRole; }
90 inline bool ExecutionRoleHasBeenSet() const { return m_executionRoleHasBeenSet; }
91 template<typename ExecutionRoleT = Aws::String>
92 void SetExecutionRole(ExecutionRoleT&& value) { m_executionRoleHasBeenSet = true; m_executionRole = std::forward<ExecutionRoleT>(value); }
93 template<typename ExecutionRoleT = Aws::String>
94 DescribedExecution& WithExecutionRole(ExecutionRoleT&& value) { SetExecutionRole(std::forward<ExecutionRoleT>(value)); return *this;}
96
98
101 inline const LoggingConfiguration& GetLoggingConfiguration() const { return m_loggingConfiguration; }
102 inline bool LoggingConfigurationHasBeenSet() const { return m_loggingConfigurationHasBeenSet; }
103 template<typename LoggingConfigurationT = LoggingConfiguration>
104 void SetLoggingConfiguration(LoggingConfigurationT&& value) { m_loggingConfigurationHasBeenSet = true; m_loggingConfiguration = std::forward<LoggingConfigurationT>(value); }
105 template<typename LoggingConfigurationT = LoggingConfiguration>
106 DescribedExecution& WithLoggingConfiguration(LoggingConfigurationT&& value) { SetLoggingConfiguration(std::forward<LoggingConfigurationT>(value)); return *this;}
108
110
111 inline const PosixProfile& GetPosixProfile() const { return m_posixProfile; }
112 inline bool PosixProfileHasBeenSet() const { return m_posixProfileHasBeenSet; }
113 template<typename PosixProfileT = PosixProfile>
114 void SetPosixProfile(PosixProfileT&& value) { m_posixProfileHasBeenSet = true; m_posixProfile = std::forward<PosixProfileT>(value); }
115 template<typename PosixProfileT = PosixProfile>
116 DescribedExecution& WithPosixProfile(PosixProfileT&& value) { SetPosixProfile(std::forward<PosixProfileT>(value)); return *this;}
118
120
124 inline ExecutionStatus GetStatus() const { return m_status; }
125 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
126 inline void SetStatus(ExecutionStatus value) { m_statusHasBeenSet = true; m_status = value; }
127 inline DescribedExecution& WithStatus(ExecutionStatus value) { SetStatus(value); return *this;}
129
131
136 inline const ExecutionResults& GetResults() const { return m_results; }
137 inline bool ResultsHasBeenSet() const { return m_resultsHasBeenSet; }
138 template<typename ResultsT = ExecutionResults>
139 void SetResults(ResultsT&& value) { m_resultsHasBeenSet = true; m_results = std::forward<ResultsT>(value); }
140 template<typename ResultsT = ExecutionResults>
141 DescribedExecution& WithResults(ResultsT&& value) { SetResults(std::forward<ResultsT>(value)); return *this;}
143 private:
144
145 Aws::String m_executionId;
146 bool m_executionIdHasBeenSet = false;
147
148 FileLocation m_initialFileLocation;
149 bool m_initialFileLocationHasBeenSet = false;
150
151 ServiceMetadata m_serviceMetadata;
152 bool m_serviceMetadataHasBeenSet = false;
153
154 Aws::String m_executionRole;
155 bool m_executionRoleHasBeenSet = false;
156
157 LoggingConfiguration m_loggingConfiguration;
158 bool m_loggingConfigurationHasBeenSet = false;
159
160 PosixProfile m_posixProfile;
161 bool m_posixProfileHasBeenSet = false;
162
164 bool m_statusHasBeenSet = false;
165
166 ExecutionResults m_results;
167 bool m_resultsHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace Transfer
172} // 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