AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdatePartnershipResult.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:
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 UpdatePartnershipResult& WithProfileId(const Aws::String& value) { SetProfileId(value); return *this;}
48 inline UpdatePartnershipResult& WithProfileId(Aws::String&& value) { SetProfileId(std::move(value)); return *this;}
49 inline UpdatePartnershipResult& 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 UpdatePartnershipResult& WithPartnershipId(const Aws::String& value) { SetPartnershipId(value); return *this;}
61 inline UpdatePartnershipResult& WithPartnershipId(Aws::String&& value) { SetPartnershipId(std::move(value)); return *this;}
62 inline UpdatePartnershipResult& 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 UpdatePartnershipResult& WithPartnershipArn(const Aws::String& value) { SetPartnershipArn(value); return *this;}
75 inline UpdatePartnershipResult& WithPartnershipArn(Aws::String&& value) { SetPartnershipArn(std::move(value)); return *this;}
76 inline UpdatePartnershipResult& 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 UpdatePartnershipResult& WithName(const Aws::String& value) { SetName(value); return *this;}
88 inline UpdatePartnershipResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
89 inline UpdatePartnershipResult& 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 UpdatePartnershipResult& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
101 inline UpdatePartnershipResult& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
102 inline UpdatePartnershipResult& 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 UpdatePartnershipResult& WithPhone(const Aws::String& value) { SetPhone(value); return *this;}
114 inline UpdatePartnershipResult& WithPhone(Aws::String&& value) { SetPhone(std::move(value)); return *this;}
115 inline UpdatePartnershipResult& 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 UpdatePartnershipResult& WithCapabilities(Aws::Vector<Aws::String>&& value) { SetCapabilities(std::move(value)); return *this;}
127 inline UpdatePartnershipResult& AddCapabilities(const Aws::String& value) { m_capabilities.push_back(value); return *this; }
128 inline UpdatePartnershipResult& AddCapabilities(Aws::String&& value) { m_capabilities.push_back(std::move(value)); return *this; }
129 inline UpdatePartnershipResult& AddCapabilities(const char* value) { m_capabilities.push_back(value); return *this; }
131
133
137 inline const CapabilityOptions& GetCapabilityOptions() const{ return m_capabilityOptions; }
138 inline void SetCapabilityOptions(const CapabilityOptions& value) { m_capabilityOptions = value; }
139 inline void SetCapabilityOptions(CapabilityOptions&& value) { m_capabilityOptions = std::move(value); }
141 inline UpdatePartnershipResult& WithCapabilityOptions(CapabilityOptions&& value) { SetCapabilityOptions(std::move(value)); return *this;}
143
145
148 inline const Aws::String& GetTradingPartnerId() const{ return m_tradingPartnerId; }
149 inline void SetTradingPartnerId(const Aws::String& value) { m_tradingPartnerId = value; }
150 inline void SetTradingPartnerId(Aws::String&& value) { m_tradingPartnerId = std::move(value); }
151 inline void SetTradingPartnerId(const char* value) { m_tradingPartnerId.assign(value); }
153 inline UpdatePartnershipResult& WithTradingPartnerId(Aws::String&& value) { SetTradingPartnerId(std::move(value)); return *this;}
154 inline UpdatePartnershipResult& WithTradingPartnerId(const char* value) { SetTradingPartnerId(value); return *this;}
156
158
162 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
163 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
164 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
165 inline UpdatePartnershipResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
166 inline UpdatePartnershipResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
168
170
174 inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; }
175 inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAt = value; }
176 inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAt = std::move(value); }
177 inline UpdatePartnershipResult& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;}
178 inline UpdatePartnershipResult& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;}
180
182
183 inline const Aws::String& GetRequestId() const{ return m_requestId; }
184 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
185 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
186 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
187 inline UpdatePartnershipResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
188 inline UpdatePartnershipResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
189 inline UpdatePartnershipResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
191 private:
192
193 Aws::String m_profileId;
194
195 Aws::String m_partnershipId;
196
197 Aws::String m_partnershipArn;
198
199 Aws::String m_name;
200
201 Aws::String m_email;
202
203 Aws::String m_phone;
204
205 Aws::Vector<Aws::String> m_capabilities;
206
207 CapabilityOptions m_capabilityOptions;
208
209 Aws::String m_tradingPartnerId;
210
211 Aws::Utils::DateTime m_createdAt;
212
213 Aws::Utils::DateTime m_modifiedAt;
214
215 Aws::String m_requestId;
216 };
217
218} // namespace Model
219} // namespace B2BI
220} // namespace Aws
UpdatePartnershipResult & WithEmail(const char *value)
UpdatePartnershipResult & WithTradingPartnerId(Aws::String &&value)
UpdatePartnershipResult & WithPartnershipArn(const Aws::String &value)
void SetPartnershipId(const Aws::String &value)
UpdatePartnershipResult & AddCapabilities(const char *value)
UpdatePartnershipResult & WithName(Aws::String &&value)
UpdatePartnershipResult & WithModifiedAt(const Aws::Utils::DateTime &value)
void SetCapabilityOptions(const CapabilityOptions &value)
void SetTradingPartnerId(const Aws::String &value)
UpdatePartnershipResult & AddCapabilities(Aws::String &&value)
UpdatePartnershipResult & WithName(const Aws::String &value)
UpdatePartnershipResult & WithProfileId(Aws::String &&value)
void SetCapabilityOptions(CapabilityOptions &&value)
UpdatePartnershipResult & WithCapabilities(Aws::Vector< Aws::String > &&value)
UpdatePartnershipResult & WithPhone(const Aws::String &value)
UpdatePartnershipResult & WithRequestId(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
AWS_B2BI_API UpdatePartnershipResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePartnershipResult & WithCreatedAt(Aws::Utils::DateTime &&value)
UpdatePartnershipResult & WithTradingPartnerId(const char *value)
void SetModifiedAt(Aws::Utils::DateTime &&value)
UpdatePartnershipResult & WithProfileId(const char *value)
void SetCapabilities(const Aws::Vector< Aws::String > &value)
UpdatePartnershipResult & WithEmail(Aws::String &&value)
UpdatePartnershipResult & WithCapabilityOptions(CapabilityOptions &&value)
UpdatePartnershipResult & WithEmail(const Aws::String &value)
UpdatePartnershipResult & WithTradingPartnerId(const Aws::String &value)
UpdatePartnershipResult & AddCapabilities(const Aws::String &value)
UpdatePartnershipResult & WithCreatedAt(const Aws::Utils::DateTime &value)
UpdatePartnershipResult & WithCapabilityOptions(const CapabilityOptions &value)
UpdatePartnershipResult & WithPhone(Aws::String &&value)
UpdatePartnershipResult & WithRequestId(const char *value)
UpdatePartnershipResult & WithCapabilities(const Aws::Vector< Aws::String > &value)
UpdatePartnershipResult & WithModifiedAt(Aws::Utils::DateTime &&value)
UpdatePartnershipResult & WithPartnershipId(const Aws::String &value)
void SetCapabilities(Aws::Vector< Aws::String > &&value)
UpdatePartnershipResult & WithRequestId(const Aws::String &value)
void SetPartnershipArn(const Aws::String &value)
UpdatePartnershipResult & WithPartnershipId(const char *value)
const Aws::Vector< Aws::String > & GetCapabilities() const
const CapabilityOptions & GetCapabilityOptions() const
UpdatePartnershipResult & WithPartnershipArn(const char *value)
UpdatePartnershipResult & WithPhone(const char *value)
void SetModifiedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetModifiedAt() const
UpdatePartnershipResult & WithPartnershipArn(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
UpdatePartnershipResult & WithName(const char *value)
UpdatePartnershipResult & WithProfileId(const Aws::String &value)
UpdatePartnershipResult & WithPartnershipId(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
AWS_B2BI_API UpdatePartnershipResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue