AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
60 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
61 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
62 inline PagerDutyIncidentDetail& WithId(const Aws::String& value) { SetId(value); return *this;}
63 inline PagerDutyIncidentDetail& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
64 inline PagerDutyIncidentDetail& WithId(const char* value) { SetId(value); return *this;}
66
68
73 inline const Aws::String& GetSecretId() const{ return m_secretId; }
74 inline bool SecretIdHasBeenSet() const { return m_secretIdHasBeenSet; }
75 inline void SetSecretId(const Aws::String& value) { m_secretIdHasBeenSet = true; m_secretId = value; }
76 inline void SetSecretId(Aws::String&& value) { m_secretIdHasBeenSet = true; m_secretId = std::move(value); }
77 inline void SetSecretId(const char* value) { m_secretIdHasBeenSet = true; m_secretId.assign(value); }
78 inline PagerDutyIncidentDetail& WithSecretId(const Aws::String& value) { SetSecretId(value); return *this;}
79 inline PagerDutyIncidentDetail& WithSecretId(Aws::String&& value) { SetSecretId(std::move(value)); return *this;}
80 inline PagerDutyIncidentDetail& WithSecretId(const char* value) { SetSecretId(value); return *this;}
82 private:
83
84 bool m_autoResolve;
85 bool m_autoResolveHasBeenSet = false;
86
87 Aws::String m_id;
88 bool m_idHasBeenSet = false;
89
90 Aws::String m_secretId;
91 bool m_secretIdHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace SSMIncidents
96} // namespace Aws
PagerDutyIncidentDetail & WithId(const Aws::String &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)
PagerDutyIncidentDetail & WithSecretId(const char *value)
PagerDutyIncidentDetail & WithSecretId(const Aws::String &value)
PagerDutyIncidentDetail & WithSecretId(Aws::String &&value)
PagerDutyIncidentDetail & WithId(const char *value)
PagerDutyIncidentDetail & WithId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue