AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateWorkerResult.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/model/LogConfiguration.h>
9#include <aws/deadline/model/HostConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace deadline
26{
27namespace Model
28{
30 {
31 public:
32 AWS_DEADLINE_API UpdateWorkerResult() = default;
35
36
38
41 inline const LogConfiguration& GetLog() const { return m_log; }
42 template<typename LogT = LogConfiguration>
43 void SetLog(LogT&& value) { m_logHasBeenSet = true; m_log = std::forward<LogT>(value); }
44 template<typename LogT = LogConfiguration>
45 UpdateWorkerResult& WithLog(LogT&& value) { SetLog(std::forward<LogT>(value)); return *this;}
47
49
53 inline const HostConfiguration& GetHostConfiguration() const { return m_hostConfiguration; }
54 template<typename HostConfigurationT = HostConfiguration>
55 void SetHostConfiguration(HostConfigurationT&& value) { m_hostConfigurationHasBeenSet = true; m_hostConfiguration = std::forward<HostConfigurationT>(value); }
56 template<typename HostConfigurationT = HostConfiguration>
57 UpdateWorkerResult& WithHostConfiguration(HostConfigurationT&& value) { SetHostConfiguration(std::forward<HostConfigurationT>(value)); return *this;}
59
61
62 inline const Aws::String& GetRequestId() const { return m_requestId; }
63 template<typename RequestIdT = Aws::String>
64 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
65 template<typename RequestIdT = Aws::String>
66 UpdateWorkerResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
68 private:
69
70 LogConfiguration m_log;
71 bool m_logHasBeenSet = false;
72
73 HostConfiguration m_hostConfiguration;
74 bool m_hostConfigurationHasBeenSet = false;
75
76 Aws::String m_requestId;
77 bool m_requestIdHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace deadline
82} // 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