AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetDeploymentTargetResult.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/model/DeploymentTarget.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 {
25 public:
26 AWS_CODEDEPLOY_API GetDeploymentTargetResult() = default;
29
31
38 inline const DeploymentTarget& GetDeploymentTarget() const { return m_deploymentTarget; }
39 template <typename DeploymentTargetT = DeploymentTarget>
40 void SetDeploymentTarget(DeploymentTargetT&& value) {
41 m_deploymentTargetHasBeenSet = true;
42 m_deploymentTarget = std::forward<DeploymentTargetT>(value);
43 }
44 template <typename DeploymentTargetT = DeploymentTarget>
45 GetDeploymentTargetResult& WithDeploymentTarget(DeploymentTargetT&& value) {
46 SetDeploymentTarget(std::forward<DeploymentTargetT>(value));
47 return *this;
48 }
50
52
53 inline const Aws::String& GetRequestId() const { return m_requestId; }
54 template <typename RequestIdT = Aws::String>
55 void SetRequestId(RequestIdT&& value) {
56 m_requestIdHasBeenSet = true;
57 m_requestId = std::forward<RequestIdT>(value);
58 }
59 template <typename RequestIdT = Aws::String>
61 SetRequestId(std::forward<RequestIdT>(value));
62 return *this;
63 }
65 private:
66 DeploymentTarget m_deploymentTarget;
67
68 Aws::String m_requestId;
69 bool m_deploymentTargetHasBeenSet = false;
70 bool m_requestIdHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace CodeDeploy
75} // namespace Aws
GetDeploymentTargetResult & WithDeploymentTarget(DeploymentTargetT &&value)
AWS_CODEDEPLOY_API GetDeploymentTargetResult()=default
GetDeploymentTargetResult & WithRequestId(RequestIdT &&value)
AWS_CODEDEPLOY_API GetDeploymentTargetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CODEDEPLOY_API GetDeploymentTargetResult(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