AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ResolutionContact.h
1
6#pragma once
7#include <aws/ssm-contacts/SSMContacts_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm-contacts/model/ContactType.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 SSMContacts
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_SSMCONTACTS_API ResolutionContact() = default;
42 AWS_SSMCONTACTS_API ResolutionContact(Aws::Utils::Json::JsonView jsonValue);
44 AWS_SSMCONTACTS_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline const Aws::String& GetContactArn() const { return m_contactArn; }
53 inline bool ContactArnHasBeenSet() const { return m_contactArnHasBeenSet; }
54 template<typename ContactArnT = Aws::String>
55 void SetContactArn(ContactArnT&& value) { m_contactArnHasBeenSet = true; m_contactArn = std::forward<ContactArnT>(value); }
56 template<typename ContactArnT = Aws::String>
57 ResolutionContact& WithContactArn(ContactArnT&& value) { SetContactArn(std::forward<ContactArnT>(value)); return *this;}
59
61
64 inline ContactType GetType() const { return m_type; }
65 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
66 inline void SetType(ContactType value) { m_typeHasBeenSet = true; m_type = value; }
67 inline ResolutionContact& WithType(ContactType value) { SetType(value); return *this;}
69
71
74 inline int GetStageIndex() const { return m_stageIndex; }
75 inline bool StageIndexHasBeenSet() const { return m_stageIndexHasBeenSet; }
76 inline void SetStageIndex(int value) { m_stageIndexHasBeenSet = true; m_stageIndex = value; }
77 inline ResolutionContact& WithStageIndex(int value) { SetStageIndex(value); return *this;}
79 private:
80
81 Aws::String m_contactArn;
82 bool m_contactArnHasBeenSet = false;
83
85 bool m_typeHasBeenSet = false;
86
87 int m_stageIndex{0};
88 bool m_stageIndexHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace SSMContacts
93} // namespace Aws
ResolutionContact & WithType(ContactType value)
AWS_SSMCONTACTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SSMCONTACTS_API ResolutionContact & operator=(Aws::Utils::Json::JsonView jsonValue)
ResolutionContact & WithContactArn(ContactArnT &&value)
ResolutionContact & WithStageIndex(int value)
AWS_SSMCONTACTS_API ResolutionContact(Aws::Utils::Json::JsonView jsonValue)
AWS_SSMCONTACTS_API ResolutionContact()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue