AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegionInfo.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/ssm-incidents/model/RegionStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SSMIncidents
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SSMINCIDENTS_API RegionInfo();
38 AWS_SSMINCIDENTS_API RegionInfo(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SSMINCIDENTS_API RegionInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetSseKmsKeyId() const{ return m_sseKmsKeyId; }
49 inline bool SseKmsKeyIdHasBeenSet() const { return m_sseKmsKeyIdHasBeenSet; }
50 inline void SetSseKmsKeyId(const Aws::String& value) { m_sseKmsKeyIdHasBeenSet = true; m_sseKmsKeyId = value; }
51 inline void SetSseKmsKeyId(Aws::String&& value) { m_sseKmsKeyIdHasBeenSet = true; m_sseKmsKeyId = std::move(value); }
52 inline void SetSseKmsKeyId(const char* value) { m_sseKmsKeyIdHasBeenSet = true; m_sseKmsKeyId.assign(value); }
53 inline RegionInfo& WithSseKmsKeyId(const Aws::String& value) { SetSseKmsKeyId(value); return *this;}
54 inline RegionInfo& WithSseKmsKeyId(Aws::String&& value) { SetSseKmsKeyId(std::move(value)); return *this;}
55 inline RegionInfo& WithSseKmsKeyId(const char* value) { SetSseKmsKeyId(value); return *this;}
57
59
62 inline const RegionStatus& GetStatus() const{ return m_status; }
63 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
64 inline void SetStatus(const RegionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
65 inline void SetStatus(RegionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
66 inline RegionInfo& WithStatus(const RegionStatus& value) { SetStatus(value); return *this;}
67 inline RegionInfo& WithStatus(RegionStatus&& value) { SetStatus(std::move(value)); return *this;}
69
71
74 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
75 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
76 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
77 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
78 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
79 inline RegionInfo& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
80 inline RegionInfo& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
81 inline RegionInfo& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
83
85
89 inline const Aws::Utils::DateTime& GetStatusUpdateDateTime() const{ return m_statusUpdateDateTime; }
90 inline bool StatusUpdateDateTimeHasBeenSet() const { return m_statusUpdateDateTimeHasBeenSet; }
91 inline void SetStatusUpdateDateTime(const Aws::Utils::DateTime& value) { m_statusUpdateDateTimeHasBeenSet = true; m_statusUpdateDateTime = value; }
92 inline void SetStatusUpdateDateTime(Aws::Utils::DateTime&& value) { m_statusUpdateDateTimeHasBeenSet = true; m_statusUpdateDateTime = std::move(value); }
94 inline RegionInfo& WithStatusUpdateDateTime(Aws::Utils::DateTime&& value) { SetStatusUpdateDateTime(std::move(value)); return *this;}
96 private:
97
98 Aws::String m_sseKmsKeyId;
99 bool m_sseKmsKeyIdHasBeenSet = false;
100
101 RegionStatus m_status;
102 bool m_statusHasBeenSet = false;
103
104 Aws::String m_statusMessage;
105 bool m_statusMessageHasBeenSet = false;
106
107 Aws::Utils::DateTime m_statusUpdateDateTime;
108 bool m_statusUpdateDateTimeHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace SSMIncidents
113} // namespace Aws
RegionInfo & WithSseKmsKeyId(const char *value)
Definition RegionInfo.h:55
void SetStatusMessage(Aws::String &&value)
Definition RegionInfo.h:77
void SetStatus(RegionStatus &&value)
Definition RegionInfo.h:65
RegionInfo & WithSseKmsKeyId(const Aws::String &value)
Definition RegionInfo.h:53
RegionInfo & WithStatusMessage(const Aws::String &value)
Definition RegionInfo.h:79
const RegionStatus & GetStatus() const
Definition RegionInfo.h:62
void SetStatusUpdateDateTime(Aws::Utils::DateTime &&value)
Definition RegionInfo.h:92
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
RegionInfo & WithStatus(RegionStatus &&value)
Definition RegionInfo.h:67
const Aws::String & GetStatusMessage() const
Definition RegionInfo.h:74
RegionInfo & WithStatusUpdateDateTime(const Aws::Utils::DateTime &value)
Definition RegionInfo.h:93
void SetStatusUpdateDateTime(const Aws::Utils::DateTime &value)
Definition RegionInfo.h:91
RegionInfo & WithStatusMessage(Aws::String &&value)
Definition RegionInfo.h:80
RegionInfo & WithStatusUpdateDateTime(Aws::Utils::DateTime &&value)
Definition RegionInfo.h:94
void SetStatusMessage(const char *value)
Definition RegionInfo.h:78
RegionInfo & WithStatus(const RegionStatus &value)
Definition RegionInfo.h:66
const Aws::String & GetSseKmsKeyId() const
Definition RegionInfo.h:48
void SetSseKmsKeyId(const char *value)
Definition RegionInfo.h:52
AWS_SSMINCIDENTS_API RegionInfo(Aws::Utils::Json::JsonView jsonValue)
void SetSseKmsKeyId(const Aws::String &value)
Definition RegionInfo.h:50
RegionInfo & WithSseKmsKeyId(Aws::String &&value)
Definition RegionInfo.h:54
const Aws::Utils::DateTime & GetStatusUpdateDateTime() const
Definition RegionInfo.h:89
void SetSseKmsKeyId(Aws::String &&value)
Definition RegionInfo.h:51
AWS_SSMINCIDENTS_API RegionInfo()
AWS_SSMINCIDENTS_API RegionInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
RegionInfo & WithStatusMessage(const char *value)
Definition RegionInfo.h:81
void SetStatusMessage(const Aws::String &value)
Definition RegionInfo.h:76
void SetStatus(const RegionStatus &value)
Definition RegionInfo.h:64
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue