AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRollbackDeploymentId(const Aws::String& value) { m_rollbackDeploymentIdHasBeenSet = true; m_rollbackDeploymentId = value; }
47 inline void SetRollbackDeploymentId(Aws::String&& value) { m_rollbackDeploymentIdHasBeenSet = true; m_rollbackDeploymentId = std::move(value); }
48 inline void SetRollbackDeploymentId(const char* value) { m_rollbackDeploymentIdHasBeenSet = true; m_rollbackDeploymentId.assign(value); }
49 inline RollbackInfo& WithRollbackDeploymentId(const Aws::String& value) { SetRollbackDeploymentId(value); return *this;}
50 inline RollbackInfo& WithRollbackDeploymentId(Aws::String&& value) { SetRollbackDeploymentId(std::move(value)); return *this;}
51 inline RollbackInfo& WithRollbackDeploymentId(const char* value) { SetRollbackDeploymentId(value); return *this;}
53
55
59 inline const Aws::String& GetRollbackTriggeringDeploymentId() const{ return m_rollbackTriggeringDeploymentId; }
60 inline bool RollbackTriggeringDeploymentIdHasBeenSet() const { return m_rollbackTriggeringDeploymentIdHasBeenSet; }
61 inline void SetRollbackTriggeringDeploymentId(const Aws::String& value) { m_rollbackTriggeringDeploymentIdHasBeenSet = true; m_rollbackTriggeringDeploymentId = value; }
62 inline void SetRollbackTriggeringDeploymentId(Aws::String&& value) { m_rollbackTriggeringDeploymentIdHasBeenSet = true; m_rollbackTriggeringDeploymentId = std::move(value); }
63 inline void SetRollbackTriggeringDeploymentId(const char* value) { m_rollbackTriggeringDeploymentIdHasBeenSet = true; m_rollbackTriggeringDeploymentId.assign(value); }
66 inline RollbackInfo& WithRollbackTriggeringDeploymentId(const char* value) { SetRollbackTriggeringDeploymentId(value); return *this;}
68
70
75 inline const Aws::String& GetRollbackMessage() const{ return m_rollbackMessage; }
76 inline bool RollbackMessageHasBeenSet() const { return m_rollbackMessageHasBeenSet; }
77 inline void SetRollbackMessage(const Aws::String& value) { m_rollbackMessageHasBeenSet = true; m_rollbackMessage = value; }
78 inline void SetRollbackMessage(Aws::String&& value) { m_rollbackMessageHasBeenSet = true; m_rollbackMessage = std::move(value); }
79 inline void SetRollbackMessage(const char* value) { m_rollbackMessageHasBeenSet = true; m_rollbackMessage.assign(value); }
80 inline RollbackInfo& WithRollbackMessage(const Aws::String& value) { SetRollbackMessage(value); return *this;}
81 inline RollbackInfo& WithRollbackMessage(Aws::String&& value) { SetRollbackMessage(std::move(value)); return *this;}
82 inline RollbackInfo& WithRollbackMessage(const char* value) { SetRollbackMessage(value); return *this;}
84 private:
85
86 Aws::String m_rollbackDeploymentId;
87 bool m_rollbackDeploymentIdHasBeenSet = false;
88
89 Aws::String m_rollbackTriggeringDeploymentId;
90 bool m_rollbackTriggeringDeploymentIdHasBeenSet = false;
91
92 Aws::String m_rollbackMessage;
93 bool m_rollbackMessageHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace CodeDeploy
98} // namespace Aws
RollbackInfo & WithRollbackMessage(const Aws::String &value)
void SetRollbackDeploymentId(const char *value)
RollbackInfo & WithRollbackDeploymentId(const Aws::String &value)
RollbackInfo & WithRollbackMessage(const char *value)
const Aws::String & GetRollbackDeploymentId() const
const Aws::String & GetRollbackTriggeringDeploymentId() const
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
RollbackInfo & WithRollbackTriggeringDeploymentId(const Aws::String &value)
bool RollbackTriggeringDeploymentIdHasBeenSet() const
void SetRollbackMessage(const char *value)
void SetRollbackTriggeringDeploymentId(const Aws::String &value)
RollbackInfo & WithRollbackDeploymentId(const char *value)
RollbackInfo & WithRollbackMessage(Aws::String &&value)
void SetRollbackDeploymentId(const Aws::String &value)
RollbackInfo & WithRollbackTriggeringDeploymentId(Aws::String &&value)
AWS_CODEDEPLOY_API RollbackInfo(Aws::Utils::Json::JsonView jsonValue)
void SetRollbackTriggeringDeploymentId(const char *value)
void SetRollbackMessage(Aws::String &&value)
void SetRollbackDeploymentId(Aws::String &&value)
const Aws::String & GetRollbackMessage() const
RollbackInfo & WithRollbackTriggeringDeploymentId(const char *value)
void SetRollbackTriggeringDeploymentId(Aws::String &&value)
RollbackInfo & WithRollbackDeploymentId(Aws::String &&value)
AWS_CODEDEPLOY_API RollbackInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRollbackMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue