AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetContactResult.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 <aws/ssm-contacts/model/Plan.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SSMContacts
26{
27namespace Model
28{
30 {
31 public:
32 AWS_SSMCONTACTS_API GetContactResult();
35
36
38
41 inline const Aws::String& GetContactArn() const{ return m_contactArn; }
42 inline void SetContactArn(const Aws::String& value) { m_contactArn = value; }
43 inline void SetContactArn(Aws::String&& value) { m_contactArn = std::move(value); }
44 inline void SetContactArn(const char* value) { m_contactArn.assign(value); }
45 inline GetContactResult& WithContactArn(const Aws::String& value) { SetContactArn(value); return *this;}
46 inline GetContactResult& WithContactArn(Aws::String&& value) { SetContactArn(std::move(value)); return *this;}
47 inline GetContactResult& WithContactArn(const char* value) { SetContactArn(value); return *this;}
49
51
55 inline const Aws::String& GetAlias() const{ return m_alias; }
56 inline void SetAlias(const Aws::String& value) { m_alias = value; }
57 inline void SetAlias(Aws::String&& value) { m_alias = std::move(value); }
58 inline void SetAlias(const char* value) { m_alias.assign(value); }
59 inline GetContactResult& WithAlias(const Aws::String& value) { SetAlias(value); return *this;}
60 inline GetContactResult& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;}
61 inline GetContactResult& WithAlias(const char* value) { SetAlias(value); return *this;}
63
65
68 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
69 inline void SetDisplayName(const Aws::String& value) { m_displayName = value; }
70 inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); }
71 inline void SetDisplayName(const char* value) { m_displayName.assign(value); }
72 inline GetContactResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
73 inline GetContactResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
74 inline GetContactResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
76
78
82 inline const ContactType& GetType() const{ return m_type; }
83 inline void SetType(const ContactType& value) { m_type = value; }
84 inline void SetType(ContactType&& value) { m_type = std::move(value); }
85 inline GetContactResult& WithType(const ContactType& value) { SetType(value); return *this;}
86 inline GetContactResult& WithType(ContactType&& value) { SetType(std::move(value)); return *this;}
88
90
94 inline const Plan& GetPlan() const{ return m_plan; }
95 inline void SetPlan(const Plan& value) { m_plan = value; }
96 inline void SetPlan(Plan&& value) { m_plan = std::move(value); }
97 inline GetContactResult& WithPlan(const Plan& value) { SetPlan(value); return *this;}
98 inline GetContactResult& WithPlan(Plan&& value) { SetPlan(std::move(value)); return *this;}
100
102
103 inline const Aws::String& GetRequestId() const{ return m_requestId; }
104 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
105 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
106 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
107 inline GetContactResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
108 inline GetContactResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
109 inline GetContactResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
111 private:
112
113 Aws::String m_contactArn;
114
115 Aws::String m_alias;
116
117 Aws::String m_displayName;
118
119 ContactType m_type;
120
121 Plan m_plan;
122
123 Aws::String m_requestId;
124 };
125
126} // namespace Model
127} // namespace SSMContacts
128} // namespace Aws
GetContactResult & WithAlias(Aws::String &&value)
void SetType(const ContactType &value)
AWS_SSMCONTACTS_API GetContactResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetContactResult & WithContactArn(Aws::String &&value)
GetContactResult & WithType(const ContactType &value)
GetContactResult & WithRequestId(const char *value)
GetContactResult & WithDisplayName(const Aws::String &value)
GetContactResult & WithContactArn(const char *value)
const Aws::String & GetDisplayName() const
void SetContactArn(const Aws::String &value)
GetContactResult & WithType(ContactType &&value)
GetContactResult & WithAlias(const char *value)
GetContactResult & WithRequestId(const Aws::String &value)
void SetAlias(const Aws::String &value)
GetContactResult & WithContactArn(const Aws::String &value)
GetContactResult & WithDisplayName(Aws::String &&value)
void SetDisplayName(const Aws::String &value)
GetContactResult & WithPlan(const Plan &value)
AWS_SSMCONTACTS_API GetContactResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetContactResult & WithDisplayName(const char *value)
GetContactResult & WithAlias(const Aws::String &value)
void SetRequestId(const Aws::String &value)
GetContactResult & WithPlan(Plan &&value)
const Aws::String & GetContactArn() const
GetContactResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue