AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateWorkerResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/deadline/Deadline_EXPORTS.h>
9#include <aws/deadline/model/HostConfiguration.h>
10#include <aws/deadline/model/LogConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace deadline {
24namespace Model {
26 public:
27 AWS_DEADLINE_API UpdateWorkerResult() = default;
30
32
35 inline const LogConfiguration& GetLog() const { return m_log; }
36 template <typename LogT = LogConfiguration>
37 void SetLog(LogT&& value) {
38 m_logHasBeenSet = true;
39 m_log = std::forward<LogT>(value);
40 }
41 template <typename LogT = LogConfiguration>
42 UpdateWorkerResult& WithLog(LogT&& value) {
43 SetLog(std::forward<LogT>(value));
44 return *this;
45 }
47
49
53 inline const HostConfiguration& GetHostConfiguration() const { return m_hostConfiguration; }
54 template <typename HostConfigurationT = HostConfiguration>
55 void SetHostConfiguration(HostConfigurationT&& value) {
56 m_hostConfigurationHasBeenSet = true;
57 m_hostConfiguration = std::forward<HostConfigurationT>(value);
58 }
59 template <typename HostConfigurationT = HostConfiguration>
60 UpdateWorkerResult& WithHostConfiguration(HostConfigurationT&& value) {
61 SetHostConfiguration(std::forward<HostConfigurationT>(value));
62 return *this;
63 }
65
67
68 inline const Aws::String& GetRequestId() const { return m_requestId; }
69 template <typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) {
71 m_requestIdHasBeenSet = true;
72 m_requestId = std::forward<RequestIdT>(value);
73 }
74 template <typename RequestIdT = Aws::String>
75 UpdateWorkerResult& WithRequestId(RequestIdT&& value) {
76 SetRequestId(std::forward<RequestIdT>(value));
77 return *this;
78 }
80 private:
81 LogConfiguration m_log;
82
83 HostConfiguration m_hostConfiguration;
84
85 Aws::String m_requestId;
86 bool m_logHasBeenSet = false;
87 bool m_hostConfigurationHasBeenSet = false;
88 bool m_requestIdHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace deadline
93} // namespace Aws
UpdateWorkerResult & WithLog(LogT &&value)
void SetHostConfiguration(HostConfigurationT &&value)
UpdateWorkerResult & WithRequestId(RequestIdT &&value)
AWS_DEADLINE_API UpdateWorkerResult()=default
UpdateWorkerResult & WithHostConfiguration(HostConfigurationT &&value)
AWS_DEADLINE_API UpdateWorkerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const HostConfiguration & GetHostConfiguration() const
const LogConfiguration & GetLog() const
AWS_DEADLINE_API UpdateWorkerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue