AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
GetDeploymentResult.h
Go to the documentation of this file.
1
6#pragma once
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace CodeDeploy
24{
25namespace Model
26{
34 {
35 public:
39
40
44 inline const DeploymentInfo& GetDeploymentInfo() const{ return m_deploymentInfo; }
45
49 inline void SetDeploymentInfo(const DeploymentInfo& value) { m_deploymentInfo = value; }
50
54 inline void SetDeploymentInfo(DeploymentInfo&& value) { m_deploymentInfo = std::move(value); }
55
59 inline GetDeploymentResult& WithDeploymentInfo(const DeploymentInfo& value) { SetDeploymentInfo(value); return *this;}
60
64 inline GetDeploymentResult& WithDeploymentInfo(DeploymentInfo&& value) { SetDeploymentInfo(std::move(value)); return *this;}
65
66 private:
67
68 DeploymentInfo m_deploymentInfo;
69 };
70
71} // namespace Model
72} // namespace CodeDeploy
73} // namespace Aws
#define AWS_CODEDEPLOY_API
void SetDeploymentInfo(DeploymentInfo &&value)
void SetDeploymentInfo(const DeploymentInfo &value)
AWS_CODEDEPLOY_API GetDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeploymentResult & WithDeploymentInfo(const DeploymentInfo &value)
const DeploymentInfo & GetDeploymentInfo() const
AWS_CODEDEPLOY_API GetDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeploymentResult & WithDeploymentInfo(DeploymentInfo &&value)