AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename DeploymentGroupArnT = Aws::String>
51 void SetDeploymentGroupArn(DeploymentGroupArnT&& value) { m_deploymentGroupArnHasBeenSet = true; m_deploymentGroupArn = std::forward<DeploymentGroupArnT>(value); }
52 template<typename DeploymentGroupArnT = Aws::String>
53 CodeDeployDeployment& WithDeploymentGroupArn(DeploymentGroupArnT&& value) { SetDeploymentGroupArn(std::forward<DeploymentGroupArnT>(value)); return *this;}
55
57
60 inline const Aws::String& GetDeploymentId() const { return m_deploymentId; }
61 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
62 template<typename DeploymentIdT = Aws::String>
63 void SetDeploymentId(DeploymentIdT&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::forward<DeploymentIdT>(value); }
64 template<typename DeploymentIdT = Aws::String>
65 CodeDeployDeployment& WithDeploymentId(DeploymentIdT&& value) { SetDeploymentId(std::forward<DeploymentIdT>(value)); return *this;}
67
69
73 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
74 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
75 template<typename EndTimeT = Aws::Utils::DateTime>
76 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
77 template<typename EndTimeT = Aws::Utils::DateTime>
78 CodeDeployDeployment& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
86 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
87 template<typename StartTimeT = Aws::Utils::DateTime>
88 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
89 template<typename StartTimeT = Aws::Utils::DateTime>
90 CodeDeployDeployment& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
92 private:
93
94 Aws::String m_deploymentGroupArn;
95 bool m_deploymentGroupArnHasBeenSet = false;
96
97 Aws::String m_deploymentId;
98 bool m_deploymentIdHasBeenSet = false;
99
100 Aws::Utils::DateTime m_endTime{};
101 bool m_endTimeHasBeenSet = false;
102
103 Aws::Utils::DateTime m_startTime{};
104 bool m_startTimeHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace SSMIncidents
109} // namespace Aws
CodeDeployDeployment & WithDeploymentId(DeploymentIdT &&value)
AWS_SSMINCIDENTS_API CodeDeployDeployment()=default
const Aws::Utils::DateTime & GetEndTime() const
CodeDeployDeployment & WithEndTime(EndTimeT &&value)
AWS_SSMINCIDENTS_API CodeDeployDeployment(Aws::Utils::Json::JsonView jsonValue)
AWS_SSMINCIDENTS_API CodeDeployDeployment & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetStartTime() const
CodeDeployDeployment & WithDeploymentGroupArn(DeploymentGroupArnT &&value)
void SetDeploymentGroupArn(DeploymentGroupArnT &&value)
CodeDeployDeployment & WithStartTime(StartTimeT &&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