AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
StopDeploymentResult.h
Go to the documentation of this file.
1
6#pragma once
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:
40
41
47 inline const StopStatus& GetStatus() const{ return m_status; }
48
54 inline void SetStatus(const StopStatus& value) { m_status = value; }
55
61 inline void SetStatus(StopStatus&& value) { m_status = std::move(value); }
62
68 inline StopDeploymentResult& WithStatus(const StopStatus& value) { SetStatus(value); return *this;}
69
75 inline StopDeploymentResult& WithStatus(StopStatus&& value) { SetStatus(std::move(value)); return *this;}
76
77
81 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
82
86 inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
87
91 inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
92
96 inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
97
101 inline StopDeploymentResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
102
106 inline StopDeploymentResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
107
111 inline StopDeploymentResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
112
113 private:
114
115 StopStatus m_status;
116
117 Aws::String m_statusMessage;
118 };
119
120} // namespace Model
121} // namespace CodeDeploy
122} // namespace Aws
#define AWS_CODEDEPLOY_API
void SetStatusMessage(const 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 & 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