AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StopDeploymentResult.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/model/StopStatus.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{
35 {
36 public:
37 AWS_CODEDEPLOY_API StopDeploymentResult();
40
41
43
48 inline const StopStatus& GetStatus() const{ return m_status; }
49 inline void SetStatus(const StopStatus& value) { m_status = value; }
50 inline void SetStatus(StopStatus&& value) { m_status = std::move(value); }
51 inline StopDeploymentResult& WithStatus(const StopStatus& value) { SetStatus(value); return *this;}
52 inline StopDeploymentResult& WithStatus(StopStatus&& value) { SetStatus(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
60 inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
61 inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
62 inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
63 inline StopDeploymentResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
64 inline StopDeploymentResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
65 inline StopDeploymentResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
67
69
70 inline const Aws::String& GetRequestId() const{ return m_requestId; }
71 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
72 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
73 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
74 inline StopDeploymentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
75 inline StopDeploymentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
76 inline StopDeploymentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
78 private:
79
80 StopStatus m_status;
81
82 Aws::String m_statusMessage;
83
84 Aws::String m_requestId;
85 };
86
87} // namespace Model
88} // namespace CodeDeploy
89} // namespace Aws
StopDeploymentResult & WithRequestId(const Aws::String &value)
void SetStatusMessage(const Aws::String &value)
StopDeploymentResult & WithRequestId(Aws::String &&value)
StopDeploymentResult & WithStatus(const StopStatus &value)
StopDeploymentResult & WithStatusMessage(Aws::String &&value)
AWS_CODEDEPLOY_API StopDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StopDeploymentResult & WithRequestId(const char *value)
StopDeploymentResult & WithStatusMessage(const char *value)
StopDeploymentResult & WithStatusMessage(const Aws::String &value)
StopDeploymentResult & WithStatus(StopStatus &&value)
AWS_CODEDEPLOY_API StopDeploymentResult(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