AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PagerDutyConfiguration.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/PagerDutyIncidentConfiguration.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
34 {
35 public:
36 AWS_SSMINCIDENTS_API PagerDutyConfiguration();
37 AWS_SSMINCIDENTS_API PagerDutyConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline PagerDutyConfiguration& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline PagerDutyConfiguration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline PagerDutyConfiguration& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const PagerDutyIncidentConfiguration& GetPagerDutyIncidentConfiguration() const{ return m_pagerDutyIncidentConfiguration; }
61 inline bool PagerDutyIncidentConfigurationHasBeenSet() const { return m_pagerDutyIncidentConfigurationHasBeenSet; }
62 inline void SetPagerDutyIncidentConfiguration(const PagerDutyIncidentConfiguration& value) { m_pagerDutyIncidentConfigurationHasBeenSet = true; m_pagerDutyIncidentConfiguration = value; }
63 inline void SetPagerDutyIncidentConfiguration(PagerDutyIncidentConfiguration&& value) { m_pagerDutyIncidentConfigurationHasBeenSet = true; m_pagerDutyIncidentConfiguration = std::move(value); }
67
69
74 inline const Aws::String& GetSecretId() const{ return m_secretId; }
75 inline bool SecretIdHasBeenSet() const { return m_secretIdHasBeenSet; }
76 inline void SetSecretId(const Aws::String& value) { m_secretIdHasBeenSet = true; m_secretId = value; }
77 inline void SetSecretId(Aws::String&& value) { m_secretIdHasBeenSet = true; m_secretId = std::move(value); }
78 inline void SetSecretId(const char* value) { m_secretIdHasBeenSet = true; m_secretId.assign(value); }
79 inline PagerDutyConfiguration& WithSecretId(const Aws::String& value) { SetSecretId(value); return *this;}
80 inline PagerDutyConfiguration& WithSecretId(Aws::String&& value) { SetSecretId(std::move(value)); return *this;}
81 inline PagerDutyConfiguration& WithSecretId(const char* value) { SetSecretId(value); return *this;}
83 private:
84
85 Aws::String m_name;
86 bool m_nameHasBeenSet = false;
87
88 PagerDutyIncidentConfiguration m_pagerDutyIncidentConfiguration;
89 bool m_pagerDutyIncidentConfigurationHasBeenSet = false;
90
91 Aws::String m_secretId;
92 bool m_secretIdHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace SSMIncidents
97} // namespace Aws
void SetPagerDutyIncidentConfiguration(const PagerDutyIncidentConfiguration &value)
PagerDutyConfiguration & WithSecretId(Aws::String &&value)
PagerDutyConfiguration & WithPagerDutyIncidentConfiguration(const PagerDutyIncidentConfiguration &value)
PagerDutyConfiguration & WithName(const char *value)
PagerDutyConfiguration & WithName(const Aws::String &value)
PagerDutyConfiguration & WithSecretId(const char *value)
AWS_SSMINCIDENTS_API PagerDutyConfiguration(Aws::Utils::Json::JsonView jsonValue)
PagerDutyConfiguration & WithSecretId(const Aws::String &value)
void SetPagerDutyIncidentConfiguration(PagerDutyIncidentConfiguration &&value)
PagerDutyConfiguration & WithName(Aws::String &&value)
AWS_SSMINCIDENTS_API PagerDutyConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const PagerDutyIncidentConfiguration & GetPagerDutyIncidentConfiguration() const
PagerDutyConfiguration & WithPagerDutyIncidentConfiguration(PagerDutyIncidentConfiguration &&value)
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue