AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
36
37
39
42 inline const Aws::String& GetContactArn() const{ return m_contactArn; }
43 inline void SetContactArn(const Aws::String& value) { m_contactArn = value; }
44 inline void SetContactArn(Aws::String&& value) { m_contactArn = std::move(value); }
45 inline void SetContactArn(const char* value) { m_contactArn.assign(value); }
46 inline GetContactChannelResult& WithContactArn(const Aws::String& value) { SetContactArn(value); return *this;}
47 inline GetContactChannelResult& WithContactArn(Aws::String&& value) { SetContactArn(std::move(value)); return *this;}
48 inline GetContactChannelResult& WithContactArn(const char* value) { SetContactArn(value); return *this;}
50
52
55 inline const Aws::String& GetContactChannelArn() const{ return m_contactChannelArn; }
56 inline void SetContactChannelArn(const Aws::String& value) { m_contactChannelArn = value; }
57 inline void SetContactChannelArn(Aws::String&& value) { m_contactChannelArn = std::move(value); }
58 inline void SetContactChannelArn(const char* value) { m_contactChannelArn.assign(value); }
60 inline GetContactChannelResult& WithContactChannelArn(Aws::String&& value) { SetContactChannelArn(std::move(value)); return *this;}
61 inline GetContactChannelResult& WithContactChannelArn(const char* value) { SetContactChannelArn(value); return *this;}
63
65
68 inline const Aws::String& GetName() const{ return m_name; }
69 inline void SetName(const Aws::String& value) { m_name = value; }
70 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
71 inline void SetName(const char* value) { m_name.assign(value); }
72 inline GetContactChannelResult& WithName(const Aws::String& value) { SetName(value); return *this;}
73 inline GetContactChannelResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
74 inline GetContactChannelResult& WithName(const char* value) { SetName(value); return *this;}
76
78
82 inline const ChannelType& GetType() const{ return m_type; }
83 inline void SetType(const ChannelType& value) { m_type = value; }
84 inline void SetType(ChannelType&& value) { m_type = std::move(value); }
85 inline GetContactChannelResult& WithType(const ChannelType& value) { SetType(value); return *this;}
86 inline GetContactChannelResult& WithType(ChannelType&& value) { SetType(std::move(value)); return *this;}
88
90
94 inline const ContactChannelAddress& GetDeliveryAddress() const{ return m_deliveryAddress; }
95 inline void SetDeliveryAddress(const ContactChannelAddress& value) { m_deliveryAddress = value; }
96 inline void SetDeliveryAddress(ContactChannelAddress&& value) { m_deliveryAddress = std::move(value); }
98 inline GetContactChannelResult& WithDeliveryAddress(ContactChannelAddress&& value) { SetDeliveryAddress(std::move(value)); return *this;}
100
102
106 inline const ActivationStatus& GetActivationStatus() const{ return m_activationStatus; }
107 inline void SetActivationStatus(const ActivationStatus& value) { m_activationStatus = value; }
108 inline void SetActivationStatus(ActivationStatus&& value) { m_activationStatus = std::move(value); }
110 inline GetContactChannelResult& WithActivationStatus(ActivationStatus&& value) { SetActivationStatus(std::move(value)); return *this;}
112
114
115 inline const Aws::String& GetRequestId() const{ return m_requestId; }
116 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
117 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
118 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
119 inline GetContactChannelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
120 inline GetContactChannelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
121 inline GetContactChannelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
123 private:
124
125 Aws::String m_contactArn;
126
127 Aws::String m_contactChannelArn;
128
129 Aws::String m_name;
130
131 ChannelType m_type;
132
133 ContactChannelAddress m_deliveryAddress;
134
135 ActivationStatus m_activationStatus;
136
137 Aws::String m_requestId;
138 };
139
140} // namespace Model
141} // namespace SSMContacts
142} // namespace Aws
GetContactChannelResult & WithType(ChannelType &&value)
GetContactChannelResult & WithContactChannelArn(Aws::String &&value)
GetContactChannelResult & WithName(Aws::String &&value)
GetContactChannelResult & WithContactArn(const Aws::String &value)
GetContactChannelResult & WithActivationStatus(ActivationStatus &&value)
GetContactChannelResult & WithContactArn(Aws::String &&value)
GetContactChannelResult & WithName(const Aws::String &value)
GetContactChannelResult & WithDeliveryAddress(const ContactChannelAddress &value)
const ContactChannelAddress & GetDeliveryAddress() const
GetContactChannelResult & WithRequestId(Aws::String &&value)
GetContactChannelResult & WithContactChannelArn(const Aws::String &value)
GetContactChannelResult & WithDeliveryAddress(ContactChannelAddress &&value)
AWS_SSMCONTACTS_API GetContactChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetContactChannelResult & WithActivationStatus(const ActivationStatus &value)
GetContactChannelResult & WithContactChannelArn(const char *value)
void SetActivationStatus(const ActivationStatus &value)
AWS_SSMCONTACTS_API GetContactChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetContactChannelResult & WithName(const char *value)
void SetDeliveryAddress(const ContactChannelAddress &value)
GetContactChannelResult & WithContactArn(const char *value)
void SetDeliveryAddress(ContactChannelAddress &&value)
GetContactChannelResult & WithRequestId(const char *value)
GetContactChannelResult & WithType(const ChannelType &value)
GetContactChannelResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue