AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetDeploymentResult.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/model/DeploymentInfo.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 GetDeploymentResult() = default;
35
37
40 inline const DeploymentInfo& GetDeploymentInfo() const { return m_deploymentInfo; }
41 template <typename DeploymentInfoT = DeploymentInfo>
42 void SetDeploymentInfo(DeploymentInfoT&& value) {
43 m_deploymentInfoHasBeenSet = true;
44 m_deploymentInfo = std::forward<DeploymentInfoT>(value);
45 }
46 template <typename DeploymentInfoT = DeploymentInfo>
47 GetDeploymentResult& WithDeploymentInfo(DeploymentInfoT&& value) {
48 SetDeploymentInfo(std::forward<DeploymentInfoT>(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>
62 GetDeploymentResult& WithRequestId(RequestIdT&& value) {
63 SetRequestId(std::forward<RequestIdT>(value));
64 return *this;
65 }
67 private:
68 DeploymentInfo m_deploymentInfo;
69
70 Aws::String m_requestId;
71 bool m_deploymentInfoHasBeenSet = false;
72 bool m_requestIdHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace CodeDeploy
77} // namespace Aws
void SetDeploymentInfo(DeploymentInfoT &&value)
AWS_CODEDEPLOY_API GetDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const DeploymentInfo & GetDeploymentInfo() const
AWS_CODEDEPLOY_API GetDeploymentResult()=default
GetDeploymentResult & WithRequestId(RequestIdT &&value)
AWS_CODEDEPLOY_API GetDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeploymentResult & WithDeploymentInfo(DeploymentInfoT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue