AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetExecutionId(const Aws::String& value) { m_executionIdHasBeenSet = true; m_executionId = value; }
53 inline void SetExecutionId(Aws::String&& value) { m_executionIdHasBeenSet = true; m_executionId = std::move(value); }
54 inline void SetExecutionId(const char* value) { m_executionIdHasBeenSet = true; m_executionId.assign(value); }
55 inline DescribedExecution& WithExecutionId(const Aws::String& value) { SetExecutionId(value); return *this;}
56 inline DescribedExecution& WithExecutionId(Aws::String&& value) { SetExecutionId(std::move(value)); return *this;}
57 inline DescribedExecution& WithExecutionId(const char* value) { SetExecutionId(value); return *this;}
59
61
66 inline const FileLocation& GetInitialFileLocation() const{ return m_initialFileLocation; }
67 inline bool InitialFileLocationHasBeenSet() const { return m_initialFileLocationHasBeenSet; }
68 inline void SetInitialFileLocation(const FileLocation& value) { m_initialFileLocationHasBeenSet = true; m_initialFileLocation = value; }
69 inline void SetInitialFileLocation(FileLocation&& value) { m_initialFileLocationHasBeenSet = true; m_initialFileLocation = std::move(value); }
71 inline DescribedExecution& WithInitialFileLocation(FileLocation&& value) { SetInitialFileLocation(std::move(value)); return *this;}
73
75
79 inline const ServiceMetadata& GetServiceMetadata() const{ return m_serviceMetadata; }
80 inline bool ServiceMetadataHasBeenSet() const { return m_serviceMetadataHasBeenSet; }
81 inline void SetServiceMetadata(const ServiceMetadata& value) { m_serviceMetadataHasBeenSet = true; m_serviceMetadata = value; }
82 inline void SetServiceMetadata(ServiceMetadata&& value) { m_serviceMetadataHasBeenSet = true; m_serviceMetadata = std::move(value); }
83 inline DescribedExecution& WithServiceMetadata(const ServiceMetadata& value) { SetServiceMetadata(value); return *this;}
84 inline DescribedExecution& WithServiceMetadata(ServiceMetadata&& value) { SetServiceMetadata(std::move(value)); return *this;}
86
88
91 inline const Aws::String& GetExecutionRole() const{ return m_executionRole; }
92 inline bool ExecutionRoleHasBeenSet() const { return m_executionRoleHasBeenSet; }
93 inline void SetExecutionRole(const Aws::String& value) { m_executionRoleHasBeenSet = true; m_executionRole = value; }
94 inline void SetExecutionRole(Aws::String&& value) { m_executionRoleHasBeenSet = true; m_executionRole = std::move(value); }
95 inline void SetExecutionRole(const char* value) { m_executionRoleHasBeenSet = true; m_executionRole.assign(value); }
96 inline DescribedExecution& WithExecutionRole(const Aws::String& value) { SetExecutionRole(value); return *this;}
97 inline DescribedExecution& WithExecutionRole(Aws::String&& value) { SetExecutionRole(std::move(value)); return *this;}
98 inline DescribedExecution& WithExecutionRole(const char* value) { SetExecutionRole(value); return *this;}
100
102
105 inline const LoggingConfiguration& GetLoggingConfiguration() const{ return m_loggingConfiguration; }
106 inline bool LoggingConfigurationHasBeenSet() const { return m_loggingConfigurationHasBeenSet; }
107 inline void SetLoggingConfiguration(const LoggingConfiguration& value) { m_loggingConfigurationHasBeenSet = true; m_loggingConfiguration = value; }
108 inline void SetLoggingConfiguration(LoggingConfiguration&& value) { m_loggingConfigurationHasBeenSet = true; m_loggingConfiguration = std::move(value); }
112
114
115 inline const PosixProfile& GetPosixProfile() const{ return m_posixProfile; }
116 inline bool PosixProfileHasBeenSet() const { return m_posixProfileHasBeenSet; }
117 inline void SetPosixProfile(const PosixProfile& value) { m_posixProfileHasBeenSet = true; m_posixProfile = value; }
118 inline void SetPosixProfile(PosixProfile&& value) { m_posixProfileHasBeenSet = true; m_posixProfile = std::move(value); }
119 inline DescribedExecution& WithPosixProfile(const PosixProfile& value) { SetPosixProfile(value); return *this;}
120 inline DescribedExecution& WithPosixProfile(PosixProfile&& value) { SetPosixProfile(std::move(value)); return *this;}
122
124
128 inline const ExecutionStatus& GetStatus() const{ return m_status; }
129 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
130 inline void SetStatus(const ExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
131 inline void SetStatus(ExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
132 inline DescribedExecution& WithStatus(const ExecutionStatus& value) { SetStatus(value); return *this;}
133 inline DescribedExecution& WithStatus(ExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
135
137
142 inline const ExecutionResults& GetResults() const{ return m_results; }
143 inline bool ResultsHasBeenSet() const { return m_resultsHasBeenSet; }
144 inline void SetResults(const ExecutionResults& value) { m_resultsHasBeenSet = true; m_results = value; }
145 inline void SetResults(ExecutionResults&& value) { m_resultsHasBeenSet = true; m_results = std::move(value); }
146 inline DescribedExecution& WithResults(const ExecutionResults& value) { SetResults(value); return *this;}
147 inline DescribedExecution& WithResults(ExecutionResults&& value) { SetResults(std::move(value)); return *this;}
149 private:
150
151 Aws::String m_executionId;
152 bool m_executionIdHasBeenSet = false;
153
154 FileLocation m_initialFileLocation;
155 bool m_initialFileLocationHasBeenSet = false;
156
157 ServiceMetadata m_serviceMetadata;
158 bool m_serviceMetadataHasBeenSet = false;
159
160 Aws::String m_executionRole;
161 bool m_executionRoleHasBeenSet = false;
162
163 LoggingConfiguration m_loggingConfiguration;
164 bool m_loggingConfigurationHasBeenSet = false;
165
166 PosixProfile m_posixProfile;
167 bool m_posixProfileHasBeenSet = false;
168
169 ExecutionStatus m_status;
170 bool m_statusHasBeenSet = false;
171
172 ExecutionResults m_results;
173 bool m_resultsHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace Transfer
178} // namespace Aws
void SetLoggingConfiguration(const LoggingConfiguration &value)
DescribedExecution & WithExecutionId(Aws::String &&value)
DescribedExecution & WithExecutionRole(Aws::String &&value)
const ExecutionStatus & GetStatus() const
const ExecutionResults & GetResults() const
void SetResults(ExecutionResults &&value)
void SetLoggingConfiguration(LoggingConfiguration &&value)
DescribedExecution & WithResults(const ExecutionResults &value)
void SetResults(const ExecutionResults &value)
const FileLocation & GetInitialFileLocation() const
DescribedExecution & WithServiceMetadata(const ServiceMetadata &value)
const Aws::String & GetExecutionRole() const
void SetExecutionRole(const Aws::String &value)
void SetExecutionId(const Aws::String &value)
void SetServiceMetadata(ServiceMetadata &&value)
void SetServiceMetadata(const ServiceMetadata &value)
void SetInitialFileLocation(const FileLocation &value)
DescribedExecution & WithLoggingConfiguration(LoggingConfiguration &&value)
DescribedExecution & WithServiceMetadata(ServiceMetadata &&value)
DescribedExecution & WithPosixProfile(const PosixProfile &value)
AWS_TRANSFER_API DescribedExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPosixProfile(const PosixProfile &value)
const Aws::String & GetExecutionId() const
void SetStatus(const ExecutionStatus &value)
DescribedExecution & WithExecutionRole(const char *value)
DescribedExecution & WithInitialFileLocation(FileLocation &&value)
DescribedExecution & WithLoggingConfiguration(const LoggingConfiguration &value)
const PosixProfile & GetPosixProfile() const
void SetInitialFileLocation(FileLocation &&value)
const LoggingConfiguration & GetLoggingConfiguration() const
DescribedExecution & WithPosixProfile(PosixProfile &&value)
const ServiceMetadata & GetServiceMetadata() const
DescribedExecution & WithExecutionId(const char *value)
DescribedExecution & WithStatus(ExecutionStatus &&value)
AWS_TRANSFER_API DescribedExecution(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
DescribedExecution & WithExecutionRole(const Aws::String &value)
DescribedExecution & WithExecutionId(const Aws::String &value)
void SetStatus(ExecutionStatus &&value)
DescribedExecution & WithStatus(const ExecutionStatus &value)
DescribedExecution & WithInitialFileLocation(const FileLocation &value)
DescribedExecution & WithResults(ExecutionResults &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue