AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
CloudFormationStackUpdate.h
1
6#pragma once
7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.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 CloudFormationStackUpdate() = default;
40 AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
49 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
50 template<typename EndTimeT = Aws::Utils::DateTime>
51 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
52 template<typename EndTimeT = Aws::Utils::DateTime>
53 CloudFormationStackUpdate& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
55
57
61 inline const Aws::String& GetStackArn() const { return m_stackArn; }
62 inline bool StackArnHasBeenSet() const { return m_stackArnHasBeenSet; }
63 template<typename StackArnT = Aws::String>
64 void SetStackArn(StackArnT&& value) { m_stackArnHasBeenSet = true; m_stackArn = std::forward<StackArnT>(value); }
65 template<typename StackArnT = Aws::String>
66 CloudFormationStackUpdate& WithStackArn(StackArnT&& value) { SetStackArn(std::forward<StackArnT>(value)); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
74 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
75 template<typename StartTimeT = Aws::Utils::DateTime>
76 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
77 template<typename StartTimeT = Aws::Utils::DateTime>
78 CloudFormationStackUpdate& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
80 private:
81
82 Aws::Utils::DateTime m_endTime{};
83 bool m_endTimeHasBeenSet = false;
84
85 Aws::String m_stackArn;
86 bool m_stackArnHasBeenSet = false;
87
88 Aws::Utils::DateTime m_startTime{};
89 bool m_startTimeHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace SSMIncidents
94} // namespace Aws
CloudFormationStackUpdate & WithEndTime(EndTimeT &&value)
AWS_SSMINCIDENTS_API CloudFormationStackUpdate(Aws::Utils::Json::JsonView jsonValue)
AWS_SSMINCIDENTS_API CloudFormationStackUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSMINCIDENTS_API CloudFormationStackUpdate()=default
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
CloudFormationStackUpdate & WithStartTime(StartTimeT &&value)
CloudFormationStackUpdate & WithStackArn(StackArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue