AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
CreateDeploymentResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace GreengrassV2 {
23namespace Model {
25 public:
26 AWS_GREENGRASSV2_API CreateDeploymentResult() = default;
29
31
34 inline const Aws::String& GetDeploymentId() const { return m_deploymentId; }
35 template <typename DeploymentIdT = Aws::String>
36 void SetDeploymentId(DeploymentIdT&& value) {
37 m_deploymentIdHasBeenSet = true;
38 m_deploymentId = std::forward<DeploymentIdT>(value);
39 }
40 template <typename DeploymentIdT = Aws::String>
41 CreateDeploymentResult& WithDeploymentId(DeploymentIdT&& value) {
42 SetDeploymentId(std::forward<DeploymentIdT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetIotJobId() const { return m_iotJobId; }
52 template <typename IotJobIdT = Aws::String>
53 void SetIotJobId(IotJobIdT&& value) {
54 m_iotJobIdHasBeenSet = true;
55 m_iotJobId = std::forward<IotJobIdT>(value);
56 }
57 template <typename IotJobIdT = Aws::String>
59 SetIotJobId(std::forward<IotJobIdT>(value));
60 return *this;
61 }
63
65
70 inline const Aws::String& GetIotJobArn() const { return m_iotJobArn; }
71 template <typename IotJobArnT = Aws::String>
72 void SetIotJobArn(IotJobArnT&& value) {
73 m_iotJobArnHasBeenSet = true;
74 m_iotJobArn = std::forward<IotJobArnT>(value);
75 }
76 template <typename IotJobArnT = Aws::String>
78 SetIotJobArn(std::forward<IotJobArnT>(value));
79 return *this;
80 }
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template <typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) {
88 m_requestIdHasBeenSet = true;
89 m_requestId = std::forward<RequestIdT>(value);
90 }
91 template <typename RequestIdT = Aws::String>
93 SetRequestId(std::forward<RequestIdT>(value));
94 return *this;
95 }
97 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
98
99 private:
100 Aws::String m_deploymentId;
101
102 Aws::String m_iotJobId;
103
104 Aws::String m_iotJobArn;
105
106 Aws::String m_requestId;
107 Aws::Http::HttpResponseCode m_HttpResponseCode;
108 bool m_deploymentIdHasBeenSet = false;
109 bool m_iotJobIdHasBeenSet = false;
110 bool m_iotJobArnHasBeenSet = false;
111 bool m_requestIdHasBeenSet = false;
112};
113
114} // namespace Model
115} // namespace GreengrassV2
116} // namespace Aws
AWS_GREENGRASSV2_API CreateDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDeploymentResult & WithDeploymentId(DeploymentIdT &&value)
AWS_GREENGRASSV2_API CreateDeploymentResult()=default
CreateDeploymentResult & WithRequestId(RequestIdT &&value)
CreateDeploymentResult & WithIotJobId(IotJobIdT &&value)
AWS_GREENGRASSV2_API CreateDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDeploymentResult & WithIotJobArn(IotJobArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue