AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CreateDeploymentResult.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.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 CodeDeploy {
23namespace Model {
31 public:
32 AWS_CODEDEPLOY_API CreateDeploymentResult() = default;
35
37
40 inline const Aws::String& GetDeploymentId() const { return m_deploymentId; }
41 template <typename DeploymentIdT = Aws::String>
42 void SetDeploymentId(DeploymentIdT&& value) {
43 m_deploymentIdHasBeenSet = true;
44 m_deploymentId = std::forward<DeploymentIdT>(value);
45 }
46 template <typename DeploymentIdT = Aws::String>
47 CreateDeploymentResult& WithDeploymentId(DeploymentIdT&& value) {
48 SetDeploymentId(std::forward<DeploymentIdT>(value));
49 return *this;
50 }
52
54
55 inline const Aws::String& GetRequestId() const { return m_requestId; }
56 template <typename RequestIdT = Aws::String>
57 void SetRequestId(RequestIdT&& value) {
58 m_requestIdHasBeenSet = true;
59 m_requestId = std::forward<RequestIdT>(value);
60 }
61 template <typename RequestIdT = Aws::String>
63 SetRequestId(std::forward<RequestIdT>(value));
64 return *this;
65 }
67 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
68
69 private:
70 Aws::String m_deploymentId;
71
72 Aws::String m_requestId;
73 Aws::Http::HttpResponseCode m_HttpResponseCode;
74 bool m_deploymentIdHasBeenSet = false;
75 bool m_requestIdHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace CodeDeploy
80} // namespace Aws
AWS_CODEDEPLOY_API CreateDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDeploymentResult & WithDeploymentId(DeploymentIdT &&value)
CreateDeploymentResult & WithRequestId(RequestIdT &&value)
AWS_CODEDEPLOY_API CreateDeploymentResult()=default
AWS_CODEDEPLOY_API CreateDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue