AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CreateDeploymentResult.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 CodeDeploy {
22namespace Model {
30 public:
31 AWS_CODEDEPLOY_API CreateDeploymentResult() = default;
34
36
39 inline const Aws::String& GetDeploymentId() const { return m_deploymentId; }
40 template <typename DeploymentIdT = Aws::String>
41 void SetDeploymentId(DeploymentIdT&& value) {
42 m_deploymentIdHasBeenSet = true;
43 m_deploymentId = std::forward<DeploymentIdT>(value);
44 }
45 template <typename DeploymentIdT = Aws::String>
46 CreateDeploymentResult& WithDeploymentId(DeploymentIdT&& value) {
47 SetDeploymentId(std::forward<DeploymentIdT>(value));
48 return *this;
49 }
51
53
54 inline const Aws::String& GetRequestId() const { return m_requestId; }
55 template <typename RequestIdT = Aws::String>
56 void SetRequestId(RequestIdT&& value) {
57 m_requestIdHasBeenSet = true;
58 m_requestId = std::forward<RequestIdT>(value);
59 }
60 template <typename RequestIdT = Aws::String>
62 SetRequestId(std::forward<RequestIdT>(value));
63 return *this;
64 }
66 private:
67 Aws::String m_deploymentId;
68
69 Aws::String m_requestId;
70 bool m_deploymentIdHasBeenSet = false;
71 bool m_requestIdHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace CodeDeploy
76} // 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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue