AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
GetContactChannelResult.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/ChannelType.h>
10#include <aws/ssm-contacts/model/ContactChannelAddress.h>
11#include <aws/ssm-contacts/model/ActivationStatus.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SSMContacts
27{
28namespace Model
29{
31 {
32 public:
33 AWS_SSMCONTACTS_API GetContactChannelResult() = default;
36
37
39
42 inline const Aws::String& GetContactArn() const { return m_contactArn; }
43 template<typename ContactArnT = Aws::String>
44 void SetContactArn(ContactArnT&& value) { m_contactArnHasBeenSet = true; m_contactArn = std::forward<ContactArnT>(value); }
45 template<typename ContactArnT = Aws::String>
46 GetContactChannelResult& WithContactArn(ContactArnT&& value) { SetContactArn(std::forward<ContactArnT>(value)); return *this;}
48
50
53 inline const Aws::String& GetContactChannelArn() const { return m_contactChannelArn; }
54 template<typename ContactChannelArnT = Aws::String>
55 void SetContactChannelArn(ContactChannelArnT&& value) { m_contactChannelArnHasBeenSet = true; m_contactChannelArn = std::forward<ContactChannelArnT>(value); }
56 template<typename ContactChannelArnT = Aws::String>
57 GetContactChannelResult& WithContactChannelArn(ContactChannelArnT&& value) { SetContactChannelArn(std::forward<ContactChannelArnT>(value)); return *this;}
59
61
64 inline const Aws::String& GetName() const { return m_name; }
65 template<typename NameT = Aws::String>
66 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
67 template<typename NameT = Aws::String>
68 GetContactChannelResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
70
72
76 inline ChannelType GetType() const { return m_type; }
77 inline void SetType(ChannelType value) { m_typeHasBeenSet = true; m_type = value; }
78 inline GetContactChannelResult& WithType(ChannelType value) { SetType(value); return *this;}
80
82
86 inline const ContactChannelAddress& GetDeliveryAddress() const { return m_deliveryAddress; }
87 template<typename DeliveryAddressT = ContactChannelAddress>
88 void SetDeliveryAddress(DeliveryAddressT&& value) { m_deliveryAddressHasBeenSet = true; m_deliveryAddress = std::forward<DeliveryAddressT>(value); }
89 template<typename DeliveryAddressT = ContactChannelAddress>
90 GetContactChannelResult& WithDeliveryAddress(DeliveryAddressT&& value) { SetDeliveryAddress(std::forward<DeliveryAddressT>(value)); return *this;}
92
94
98 inline ActivationStatus GetActivationStatus() const { return m_activationStatus; }
99 inline void SetActivationStatus(ActivationStatus value) { m_activationStatusHasBeenSet = true; m_activationStatus = value; }
102
104
105 inline const Aws::String& GetRequestId() const { return m_requestId; }
106 template<typename RequestIdT = Aws::String>
107 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
108 template<typename RequestIdT = Aws::String>
109 GetContactChannelResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
111 private:
112
113 Aws::String m_contactArn;
114 bool m_contactArnHasBeenSet = false;
115
116 Aws::String m_contactChannelArn;
117 bool m_contactChannelArnHasBeenSet = false;
118
119 Aws::String m_name;
120 bool m_nameHasBeenSet = false;
121
123 bool m_typeHasBeenSet = false;
124
125 ContactChannelAddress m_deliveryAddress;
126 bool m_deliveryAddressHasBeenSet = false;
127
129 bool m_activationStatusHasBeenSet = false;
130
131 Aws::String m_requestId;
132 bool m_requestIdHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace SSMContacts
137} // namespace Aws
GetContactChannelResult & WithActivationStatus(ActivationStatus value)
GetContactChannelResult & WithContactArn(ContactArnT &&value)
const ContactChannelAddress & GetDeliveryAddress() const
GetContactChannelResult & WithDeliveryAddress(DeliveryAddressT &&value)
GetContactChannelResult & WithRequestId(RequestIdT &&value)
AWS_SSMCONTACTS_API GetContactChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SSMCONTACTS_API GetContactChannelResult()=default
GetContactChannelResult & WithName(NameT &&value)
GetContactChannelResult & WithContactChannelArn(ContactChannelArnT &&value)
AWS_SSMCONTACTS_API GetContactChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetContactChannelResult & WithType(ChannelType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue