AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetPartnershipResult.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/b2bi/model/CapabilityOptions.h>
11#include <aws/core/utils/DateTime.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 B2BI
27{
28namespace Model
29{
31 {
32 public:
33 AWS_B2BI_API GetPartnershipResult();
36
37
39
43 inline const Aws::String& GetProfileId() const{ return m_profileId; }
44 inline void SetProfileId(const Aws::String& value) { m_profileId = value; }
45 inline void SetProfileId(Aws::String&& value) { m_profileId = std::move(value); }
46 inline void SetProfileId(const char* value) { m_profileId.assign(value); }
47 inline GetPartnershipResult& WithProfileId(const Aws::String& value) { SetProfileId(value); return *this;}
48 inline GetPartnershipResult& WithProfileId(Aws::String&& value) { SetProfileId(std::move(value)); return *this;}
49 inline GetPartnershipResult& WithProfileId(const char* value) { SetProfileId(value); return *this;}
51
53
56 inline const Aws::String& GetPartnershipId() const{ return m_partnershipId; }
57 inline void SetPartnershipId(const Aws::String& value) { m_partnershipId = value; }
58 inline void SetPartnershipId(Aws::String&& value) { m_partnershipId = std::move(value); }
59 inline void SetPartnershipId(const char* value) { m_partnershipId.assign(value); }
60 inline GetPartnershipResult& WithPartnershipId(const Aws::String& value) { SetPartnershipId(value); return *this;}
61 inline GetPartnershipResult& WithPartnershipId(Aws::String&& value) { SetPartnershipId(std::move(value)); return *this;}
62 inline GetPartnershipResult& WithPartnershipId(const char* value) { SetPartnershipId(value); return *this;}
64
66
70 inline const Aws::String& GetPartnershipArn() const{ return m_partnershipArn; }
71 inline void SetPartnershipArn(const Aws::String& value) { m_partnershipArn = value; }
72 inline void SetPartnershipArn(Aws::String&& value) { m_partnershipArn = std::move(value); }
73 inline void SetPartnershipArn(const char* value) { m_partnershipArn.assign(value); }
74 inline GetPartnershipResult& WithPartnershipArn(const Aws::String& value) { SetPartnershipArn(value); return *this;}
75 inline GetPartnershipResult& WithPartnershipArn(Aws::String&& value) { SetPartnershipArn(std::move(value)); return *this;}
76 inline GetPartnershipResult& WithPartnershipArn(const char* value) { SetPartnershipArn(value); return *this;}
78
80
83 inline const Aws::String& GetName() const{ return m_name; }
84 inline void SetName(const Aws::String& value) { m_name = value; }
85 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
86 inline void SetName(const char* value) { m_name.assign(value); }
87 inline GetPartnershipResult& WithName(const Aws::String& value) { SetName(value); return *this;}
88 inline GetPartnershipResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
89 inline GetPartnershipResult& WithName(const char* value) { SetName(value); return *this;}
91
93
96 inline const Aws::String& GetEmail() const{ return m_email; }
97 inline void SetEmail(const Aws::String& value) { m_email = value; }
98 inline void SetEmail(Aws::String&& value) { m_email = std::move(value); }
99 inline void SetEmail(const char* value) { m_email.assign(value); }
100 inline GetPartnershipResult& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
101 inline GetPartnershipResult& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
102 inline GetPartnershipResult& WithEmail(const char* value) { SetEmail(value); return *this;}
104
106
109 inline const Aws::String& GetPhone() const{ return m_phone; }
110 inline void SetPhone(const Aws::String& value) { m_phone = value; }
111 inline void SetPhone(Aws::String&& value) { m_phone = std::move(value); }
112 inline void SetPhone(const char* value) { m_phone.assign(value); }
113 inline GetPartnershipResult& WithPhone(const Aws::String& value) { SetPhone(value); return *this;}
114 inline GetPartnershipResult& WithPhone(Aws::String&& value) { SetPhone(std::move(value)); return *this;}
115 inline GetPartnershipResult& WithPhone(const char* value) { SetPhone(value); return *this;}
117
119
122 inline const Aws::Vector<Aws::String>& GetCapabilities() const{ return m_capabilities; }
123 inline void SetCapabilities(const Aws::Vector<Aws::String>& value) { m_capabilities = value; }
124 inline void SetCapabilities(Aws::Vector<Aws::String>&& value) { m_capabilities = std::move(value); }
126 inline GetPartnershipResult& WithCapabilities(Aws::Vector<Aws::String>&& value) { SetCapabilities(std::move(value)); return *this;}
127 inline GetPartnershipResult& AddCapabilities(const Aws::String& value) { m_capabilities.push_back(value); return *this; }
128 inline GetPartnershipResult& AddCapabilities(Aws::String&& value) { m_capabilities.push_back(std::move(value)); return *this; }
129 inline GetPartnershipResult& AddCapabilities(const char* value) { m_capabilities.push_back(value); return *this; }
131
133
134 inline const CapabilityOptions& GetCapabilityOptions() const{ return m_capabilityOptions; }
135 inline void SetCapabilityOptions(const CapabilityOptions& value) { m_capabilityOptions = value; }
136 inline void SetCapabilityOptions(CapabilityOptions&& value) { m_capabilityOptions = std::move(value); }
138 inline GetPartnershipResult& WithCapabilityOptions(CapabilityOptions&& value) { SetCapabilityOptions(std::move(value)); return *this;}
140
142
145 inline const Aws::String& GetTradingPartnerId() const{ return m_tradingPartnerId; }
146 inline void SetTradingPartnerId(const Aws::String& value) { m_tradingPartnerId = value; }
147 inline void SetTradingPartnerId(Aws::String&& value) { m_tradingPartnerId = std::move(value); }
148 inline void SetTradingPartnerId(const char* value) { m_tradingPartnerId.assign(value); }
149 inline GetPartnershipResult& WithTradingPartnerId(const Aws::String& value) { SetTradingPartnerId(value); return *this;}
150 inline GetPartnershipResult& WithTradingPartnerId(Aws::String&& value) { SetTradingPartnerId(std::move(value)); return *this;}
151 inline GetPartnershipResult& WithTradingPartnerId(const char* value) { SetTradingPartnerId(value); return *this;}
153
155
158 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
159 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
160 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
161 inline GetPartnershipResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
162 inline GetPartnershipResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
164
166
170 inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; }
171 inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAt = value; }
172 inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAt = std::move(value); }
173 inline GetPartnershipResult& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;}
174 inline GetPartnershipResult& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;}
176
178
179 inline const Aws::String& GetRequestId() const{ return m_requestId; }
180 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
181 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
182 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
183 inline GetPartnershipResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
184 inline GetPartnershipResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
185 inline GetPartnershipResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
187 private:
188
189 Aws::String m_profileId;
190
191 Aws::String m_partnershipId;
192
193 Aws::String m_partnershipArn;
194
195 Aws::String m_name;
196
197 Aws::String m_email;
198
199 Aws::String m_phone;
200
201 Aws::Vector<Aws::String> m_capabilities;
202
203 CapabilityOptions m_capabilityOptions;
204
205 Aws::String m_tradingPartnerId;
206
207 Aws::Utils::DateTime m_createdAt;
208
209 Aws::Utils::DateTime m_modifiedAt;
210
211 Aws::String m_requestId;
212 };
213
214} // namespace Model
215} // namespace B2BI
216} // namespace Aws
GetPartnershipResult & WithName(const Aws::String &value)
GetPartnershipResult & WithPartnershipArn(const Aws::String &value)
GetPartnershipResult & WithTradingPartnerId(const Aws::String &value)
void SetCapabilityOptions(CapabilityOptions &&value)
const Aws::Utils::DateTime & GetModifiedAt() const
const Aws::String & GetPartnershipArn() const
AWS_B2BI_API GetPartnershipResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPartnershipResult & WithCapabilities(Aws::Vector< Aws::String > &&value)
GetPartnershipResult & WithPartnershipId(const char *value)
const Aws::String & GetTradingPartnerId() const
GetPartnershipResult & WithCapabilities(const Aws::Vector< Aws::String > &value)
GetPartnershipResult & WithPhone(const char *value)
GetPartnershipResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetPartnershipResult & WithEmail(Aws::String &&value)
GetPartnershipResult & AddCapabilities(const Aws::String &value)
void SetPhone(const Aws::String &value)
void SetName(const Aws::String &value)
GetPartnershipResult & AddCapabilities(Aws::String &&value)
void SetProfileId(const Aws::String &value)
void SetModifiedAt(Aws::Utils::DateTime &&value)
void SetPartnershipId(const Aws::String &value)
GetPartnershipResult & WithName(const char *value)
GetPartnershipResult & WithRequestId(const Aws::String &value)
void SetCapabilities(Aws::Vector< Aws::String > &&value)
GetPartnershipResult & WithPartnershipId(Aws::String &&value)
AWS_B2BI_API GetPartnershipResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPartnershipResult & WithPhone(const Aws::String &value)
GetPartnershipResult & WithPhone(Aws::String &&value)
GetPartnershipResult & WithName(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetPartnershipResult & WithTradingPartnerId(const char *value)
GetPartnershipResult & WithPartnershipArn(const char *value)
GetPartnershipResult & WithModifiedAt(Aws::Utils::DateTime &&value)
void SetModifiedAt(const Aws::Utils::DateTime &value)
GetPartnershipResult & AddCapabilities(const char *value)
GetPartnershipResult & WithProfileId(Aws::String &&value)
void SetTradingPartnerId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetCapabilities() const
void SetEmail(const Aws::String &value)
void SetPartnershipArn(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetPartnershipResult & WithProfileId(const char *value)
GetPartnershipResult & WithCapabilityOptions(const CapabilityOptions &value)
GetPartnershipResult & WithPartnershipId(const Aws::String &value)
void SetCapabilityOptions(const CapabilityOptions &value)
const CapabilityOptions & GetCapabilityOptions() const
GetPartnershipResult & WithCapabilityOptions(CapabilityOptions &&value)
GetPartnershipResult & WithRequestId(const char *value)
const Aws::String & GetPartnershipId() const
GetPartnershipResult & WithTradingPartnerId(Aws::String &&value)
GetPartnershipResult & WithEmail(const Aws::String &value)
GetPartnershipResult & WithEmail(const char *value)
void SetRequestId(const Aws::String &value)
GetPartnershipResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetPartnershipResult & WithPartnershipArn(Aws::String &&value)
void SetCapabilities(const Aws::Vector< Aws::String > &value)
GetPartnershipResult & WithRequestId(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetPartnershipResult & WithModifiedAt(const Aws::Utils::DateTime &value)
GetPartnershipResult & WithProfileId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue