AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
PagerDutyIncidentDetail.h
1
6#pragma once
7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SSMIncidents
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SSMINCIDENTS_API PagerDutyIncidentDetail() = default;
36 AWS_SSMINCIDENTS_API PagerDutyIncidentDetail(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline bool GetAutoResolve() const { return m_autoResolve; }
47 inline bool AutoResolveHasBeenSet() const { return m_autoResolveHasBeenSet; }
48 inline void SetAutoResolve(bool value) { m_autoResolveHasBeenSet = true; m_autoResolve = value; }
49 inline PagerDutyIncidentDetail& WithAutoResolve(bool value) { SetAutoResolve(value); return *this;}
51
53
57 inline const Aws::String& GetId() const { return m_id; }
58 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
59 template<typename IdT = Aws::String>
60 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
61 template<typename IdT = Aws::String>
62 PagerDutyIncidentDetail& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
64
66
71 inline const Aws::String& GetSecretId() const { return m_secretId; }
72 inline bool SecretIdHasBeenSet() const { return m_secretIdHasBeenSet; }
73 template<typename SecretIdT = Aws::String>
74 void SetSecretId(SecretIdT&& value) { m_secretIdHasBeenSet = true; m_secretId = std::forward<SecretIdT>(value); }
75 template<typename SecretIdT = Aws::String>
76 PagerDutyIncidentDetail& WithSecretId(SecretIdT&& value) { SetSecretId(std::forward<SecretIdT>(value)); return *this;}
78 private:
79
80 bool m_autoResolve{false};
81 bool m_autoResolveHasBeenSet = false;
82
83 Aws::String m_id;
84 bool m_idHasBeenSet = false;
85
86 Aws::String m_secretId;
87 bool m_secretIdHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace SSMIncidents
92} // namespace Aws
PagerDutyIncidentDetail & WithSecretId(SecretIdT &&value)
AWS_SSMINCIDENTS_API PagerDutyIncidentDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
PagerDutyIncidentDetail & WithAutoResolve(bool value)
AWS_SSMINCIDENTS_API PagerDutyIncidentDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSMINCIDENTS_API PagerDutyIncidentDetail()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue