AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetContactArn(const Aws::String& value) { m_contactArnHasBeenSet = true; m_contactArn = value; }
55 inline void SetContactArn(Aws::String&& value) { m_contactArnHasBeenSet = true; m_contactArn = std::move(value); }
56 inline void SetContactArn(const char* value) { m_contactArnHasBeenSet = true; m_contactArn.assign(value); }
57 inline ResolutionContact& WithContactArn(const Aws::String& value) { SetContactArn(value); return *this;}
58 inline ResolutionContact& WithContactArn(Aws::String&& value) { SetContactArn(std::move(value)); return *this;}
59 inline ResolutionContact& WithContactArn(const char* value) { SetContactArn(value); return *this;}
61
63
66 inline const ContactType& GetType() const{ return m_type; }
67 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
68 inline void SetType(const ContactType& value) { m_typeHasBeenSet = true; m_type = value; }
69 inline void SetType(ContactType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
70 inline ResolutionContact& WithType(const ContactType& value) { SetType(value); return *this;}
71 inline ResolutionContact& WithType(ContactType&& value) { SetType(std::move(value)); return *this;}
73
75
78 inline int GetStageIndex() const{ return m_stageIndex; }
79 inline bool StageIndexHasBeenSet() const { return m_stageIndexHasBeenSet; }
80 inline void SetStageIndex(int value) { m_stageIndexHasBeenSet = true; m_stageIndex = value; }
81 inline ResolutionContact& WithStageIndex(int value) { SetStageIndex(value); return *this;}
83 private:
84
85 Aws::String m_contactArn;
86 bool m_contactArnHasBeenSet = false;
87
88 ContactType m_type;
89 bool m_typeHasBeenSet = false;
90
91 int m_stageIndex;
92 bool m_stageIndexHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace SSMContacts
97} // namespace Aws
AWS_SSMCONTACTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SSMCONTACTS_API ResolutionContact & operator=(Aws::Utils::Json::JsonView jsonValue)
ResolutionContact & WithContactArn(const Aws::String &value)
ResolutionContact & WithContactArn(const char *value)
void SetType(const ContactType &value)
ResolutionContact & WithStageIndex(int value)
AWS_SSMCONTACTS_API ResolutionContact(Aws::Utils::Json::JsonView jsonValue)
void SetContactArn(const Aws::String &value)
ResolutionContact & WithType(const ContactType &value)
ResolutionContact & WithContactArn(Aws::String &&value)
ResolutionContact & WithType(ContactType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue