AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
51 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
52 inline CloudFormationStackUpdate& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
53 inline CloudFormationStackUpdate& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
55
57
61 inline const Aws::String& GetStackArn() const{ return m_stackArn; }
62 inline bool StackArnHasBeenSet() const { return m_stackArnHasBeenSet; }
63 inline void SetStackArn(const Aws::String& value) { m_stackArnHasBeenSet = true; m_stackArn = value; }
64 inline void SetStackArn(Aws::String&& value) { m_stackArnHasBeenSet = true; m_stackArn = std::move(value); }
65 inline void SetStackArn(const char* value) { m_stackArnHasBeenSet = true; m_stackArn.assign(value); }
66 inline CloudFormationStackUpdate& WithStackArn(const Aws::String& value) { SetStackArn(value); return *this;}
67 inline CloudFormationStackUpdate& WithStackArn(Aws::String&& value) { SetStackArn(std::move(value)); return *this;}
68 inline CloudFormationStackUpdate& WithStackArn(const char* value) { SetStackArn(value); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
76 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
77 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
78 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
79 inline CloudFormationStackUpdate& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
80 inline CloudFormationStackUpdate& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
82 private:
83
84 Aws::Utils::DateTime m_endTime;
85 bool m_endTimeHasBeenSet = false;
86
87 Aws::String m_stackArn;
88 bool m_stackArnHasBeenSet = false;
89
90 Aws::Utils::DateTime m_startTime;
91 bool m_startTimeHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace SSMIncidents
96} // namespace Aws
CloudFormationStackUpdate & WithEndTime(Aws::Utils::DateTime &&value)
CloudFormationStackUpdate & WithStackArn(const char *value)
AWS_SSMINCIDENTS_API CloudFormationStackUpdate(Aws::Utils::Json::JsonView jsonValue)
AWS_SSMINCIDENTS_API CloudFormationStackUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
CloudFormationStackUpdate & WithEndTime(const Aws::Utils::DateTime &value)
CloudFormationStackUpdate & WithStartTime(Aws::Utils::DateTime &&value)
CloudFormationStackUpdate & WithStackArn(const Aws::String &value)
CloudFormationStackUpdate & WithStackArn(Aws::String &&value)
CloudFormationStackUpdate & WithStartTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue