AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CodeDeploy
25{
26namespace Model
27{
29 {
30 public:
31 AWS_CODEDEPLOY_API GetDeploymentTargetResult();
34
35
37
44 inline const DeploymentTarget& GetDeploymentTarget() const{ return m_deploymentTarget; }
45 inline void SetDeploymentTarget(const DeploymentTarget& value) { m_deploymentTarget = value; }
46 inline void SetDeploymentTarget(DeploymentTarget&& value) { m_deploymentTarget = std::move(value); }
48 inline GetDeploymentTargetResult& WithDeploymentTarget(DeploymentTarget&& value) { SetDeploymentTarget(std::move(value)); return *this;}
50
52
53 inline const Aws::String& GetRequestId() const{ return m_requestId; }
54 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
55 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
56 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
57 inline GetDeploymentTargetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
58 inline GetDeploymentTargetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
59 inline GetDeploymentTargetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
61 private:
62
63 DeploymentTarget m_deploymentTarget;
64
65 Aws::String m_requestId;
66 };
67
68} // namespace Model
69} // namespace CodeDeploy
70} // namespace Aws
GetDeploymentTargetResult & WithRequestId(const char *value)
AWS_CODEDEPLOY_API GetDeploymentTargetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeploymentTargetResult & WithDeploymentTarget(DeploymentTarget &&value)
GetDeploymentTargetResult & WithRequestId(Aws::String &&value)
GetDeploymentTargetResult & WithDeploymentTarget(const DeploymentTarget &value)
GetDeploymentTargetResult & WithRequestId(const Aws::String &value)
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