AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RollbackInfo.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CodeDeploy
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CODEDEPLOY_API RollbackInfo() = default;
35 AWS_CODEDEPLOY_API RollbackInfo(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CODEDEPLOY_API RollbackInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetRollbackDeploymentId() const { return m_rollbackDeploymentId; }
45 inline bool RollbackDeploymentIdHasBeenSet() const { return m_rollbackDeploymentIdHasBeenSet; }
46 template<typename RollbackDeploymentIdT = Aws::String>
47 void SetRollbackDeploymentId(RollbackDeploymentIdT&& value) { m_rollbackDeploymentIdHasBeenSet = true; m_rollbackDeploymentId = std::forward<RollbackDeploymentIdT>(value); }
48 template<typename RollbackDeploymentIdT = Aws::String>
49 RollbackInfo& WithRollbackDeploymentId(RollbackDeploymentIdT&& value) { SetRollbackDeploymentId(std::forward<RollbackDeploymentIdT>(value)); return *this;}
51
53
57 inline const Aws::String& GetRollbackTriggeringDeploymentId() const { return m_rollbackTriggeringDeploymentId; }
58 inline bool RollbackTriggeringDeploymentIdHasBeenSet() const { return m_rollbackTriggeringDeploymentIdHasBeenSet; }
59 template<typename RollbackTriggeringDeploymentIdT = Aws::String>
60 void SetRollbackTriggeringDeploymentId(RollbackTriggeringDeploymentIdT&& value) { m_rollbackTriggeringDeploymentIdHasBeenSet = true; m_rollbackTriggeringDeploymentId = std::forward<RollbackTriggeringDeploymentIdT>(value); }
61 template<typename RollbackTriggeringDeploymentIdT = Aws::String>
62 RollbackInfo& WithRollbackTriggeringDeploymentId(RollbackTriggeringDeploymentIdT&& value) { SetRollbackTriggeringDeploymentId(std::forward<RollbackTriggeringDeploymentIdT>(value)); return *this;}
64
66
71 inline const Aws::String& GetRollbackMessage() const { return m_rollbackMessage; }
72 inline bool RollbackMessageHasBeenSet() const { return m_rollbackMessageHasBeenSet; }
73 template<typename RollbackMessageT = Aws::String>
74 void SetRollbackMessage(RollbackMessageT&& value) { m_rollbackMessageHasBeenSet = true; m_rollbackMessage = std::forward<RollbackMessageT>(value); }
75 template<typename RollbackMessageT = Aws::String>
76 RollbackInfo& WithRollbackMessage(RollbackMessageT&& value) { SetRollbackMessage(std::forward<RollbackMessageT>(value)); return *this;}
78 private:
79
80 Aws::String m_rollbackDeploymentId;
81 bool m_rollbackDeploymentIdHasBeenSet = false;
82
83 Aws::String m_rollbackTriggeringDeploymentId;
84 bool m_rollbackTriggeringDeploymentIdHasBeenSet = false;
85
86 Aws::String m_rollbackMessage;
87 bool m_rollbackMessageHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace CodeDeploy
92} // namespace Aws
void SetRollbackMessage(RollbackMessageT &&value)
const Aws::String & GetRollbackDeploymentId() const
const Aws::String & GetRollbackTriggeringDeploymentId() const
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRollbackDeploymentId(RollbackDeploymentIdT &&value)
AWS_CODEDEPLOY_API RollbackInfo()=default
RollbackInfo & WithRollbackMessage(RollbackMessageT &&value)
RollbackInfo & WithRollbackTriggeringDeploymentId(RollbackTriggeringDeploymentIdT &&value)
bool RollbackTriggeringDeploymentIdHasBeenSet() const
AWS_CODEDEPLOY_API RollbackInfo(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRollbackMessage() const
void SetRollbackTriggeringDeploymentId(RollbackTriggeringDeploymentIdT &&value)
RollbackInfo & WithRollbackDeploymentId(RollbackDeploymentIdT &&value)
AWS_CODEDEPLOY_API RollbackInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue