AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
CreateDeploymentResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace GreengrassV2 {
22namespace Model {
24 public:
25 AWS_GREENGRASSV2_API CreateDeploymentResult() = default;
28
30
33 inline const Aws::String& GetDeploymentId() const { return m_deploymentId; }
34 template <typename DeploymentIdT = Aws::String>
35 void SetDeploymentId(DeploymentIdT&& value) {
36 m_deploymentIdHasBeenSet = true;
37 m_deploymentId = std::forward<DeploymentIdT>(value);
38 }
39 template <typename DeploymentIdT = Aws::String>
40 CreateDeploymentResult& WithDeploymentId(DeploymentIdT&& value) {
41 SetDeploymentId(std::forward<DeploymentIdT>(value));
42 return *this;
43 }
45
47
50 inline const Aws::String& GetIotJobId() const { return m_iotJobId; }
51 template <typename IotJobIdT = Aws::String>
52 void SetIotJobId(IotJobIdT&& value) {
53 m_iotJobIdHasBeenSet = true;
54 m_iotJobId = std::forward<IotJobIdT>(value);
55 }
56 template <typename IotJobIdT = Aws::String>
58 SetIotJobId(std::forward<IotJobIdT>(value));
59 return *this;
60 }
62
64
69 inline const Aws::String& GetIotJobArn() const { return m_iotJobArn; }
70 template <typename IotJobArnT = Aws::String>
71 void SetIotJobArn(IotJobArnT&& value) {
72 m_iotJobArnHasBeenSet = true;
73 m_iotJobArn = std::forward<IotJobArnT>(value);
74 }
75 template <typename IotJobArnT = Aws::String>
77 SetIotJobArn(std::forward<IotJobArnT>(value));
78 return *this;
79 }
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template <typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) {
87 m_requestIdHasBeenSet = true;
88 m_requestId = std::forward<RequestIdT>(value);
89 }
90 template <typename RequestIdT = Aws::String>
92 SetRequestId(std::forward<RequestIdT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_deploymentId;
98
99 Aws::String m_iotJobId;
100
101 Aws::String m_iotJobArn;
102
103 Aws::String m_requestId;
104 bool m_deploymentIdHasBeenSet = false;
105 bool m_iotJobIdHasBeenSet = false;
106 bool m_iotJobArnHasBeenSet = false;
107 bool m_requestIdHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace GreengrassV2
112} // 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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue