AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CodeDeployDeployment.h
1
6#pragma once
7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SSMIncidents
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_SSMINCIDENTS_API CodeDeployDeployment();
38 AWS_SSMINCIDENTS_API CodeDeployDeployment(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetDeploymentGroupArn() const{ return m_deploymentGroupArn; }
49 inline bool DeploymentGroupArnHasBeenSet() const { return m_deploymentGroupArnHasBeenSet; }
50 inline void SetDeploymentGroupArn(const Aws::String& value) { m_deploymentGroupArnHasBeenSet = true; m_deploymentGroupArn = value; }
51 inline void SetDeploymentGroupArn(Aws::String&& value) { m_deploymentGroupArnHasBeenSet = true; m_deploymentGroupArn = std::move(value); }
52 inline void SetDeploymentGroupArn(const char* value) { m_deploymentGroupArnHasBeenSet = true; m_deploymentGroupArn.assign(value); }
54 inline CodeDeployDeployment& WithDeploymentGroupArn(Aws::String&& value) { SetDeploymentGroupArn(std::move(value)); return *this;}
55 inline CodeDeployDeployment& WithDeploymentGroupArn(const char* value) { SetDeploymentGroupArn(value); return *this;}
57
59
62 inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; }
63 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
64 inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
65 inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::move(value); }
66 inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); }
67 inline CodeDeployDeployment& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;}
68 inline CodeDeployDeployment& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;}
69 inline CodeDeployDeployment& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
71
73
77 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
78 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
79 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
80 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
81 inline CodeDeployDeployment& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
82 inline CodeDeployDeployment& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
90 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
91 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
92 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
93 inline CodeDeployDeployment& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
94 inline CodeDeployDeployment& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
96 private:
97
98 Aws::String m_deploymentGroupArn;
99 bool m_deploymentGroupArnHasBeenSet = false;
100
101 Aws::String m_deploymentId;
102 bool m_deploymentIdHasBeenSet = false;
103
104 Aws::Utils::DateTime m_endTime;
105 bool m_endTimeHasBeenSet = false;
106
107 Aws::Utils::DateTime m_startTime;
108 bool m_startTimeHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace SSMIncidents
113} // namespace Aws
CodeDeployDeployment & WithDeploymentGroupArn(const char *value)
void SetEndTime(Aws::Utils::DateTime &&value)
CodeDeployDeployment & WithDeploymentId(const Aws::String &value)
CodeDeployDeployment & WithDeploymentId(const char *value)
void SetDeploymentGroupArn(const Aws::String &value)
const Aws::Utils::DateTime & GetEndTime() const
AWS_SSMINCIDENTS_API CodeDeployDeployment(Aws::Utils::Json::JsonView jsonValue)
CodeDeployDeployment & WithStartTime(const Aws::Utils::DateTime &value)
CodeDeployDeployment & WithDeploymentGroupArn(Aws::String &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
CodeDeployDeployment & WithEndTime(const Aws::Utils::DateTime &value)
AWS_SSMINCIDENTS_API CodeDeployDeployment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEndTime(const Aws::Utils::DateTime &value)
CodeDeployDeployment & WithStartTime(Aws::Utils::DateTime &&value)
CodeDeployDeployment & WithDeploymentId(Aws::String &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetStartTime(Aws::Utils::DateTime &&value)
CodeDeployDeployment & WithEndTime(Aws::Utils::DateTime &&value)
CodeDeployDeployment & WithDeploymentGroupArn(const Aws::String &value)
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue