AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePartnershipResult.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 CreatePartnershipResult& WithProfileId(const Aws::String& value) { SetProfileId(value); return *this;}
48 inline CreatePartnershipResult& WithProfileId(Aws::String&& value) { SetProfileId(std::move(value)); return *this;}
49 inline CreatePartnershipResult& 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 CreatePartnershipResult& WithPartnershipId(const Aws::String& value) { SetPartnershipId(value); return *this;}
61 inline CreatePartnershipResult& WithPartnershipId(Aws::String&& value) { SetPartnershipId(std::move(value)); return *this;}
62 inline CreatePartnershipResult& 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 CreatePartnershipResult& WithPartnershipArn(const Aws::String& value) { SetPartnershipArn(value); return *this;}
75 inline CreatePartnershipResult& WithPartnershipArn(Aws::String&& value) { SetPartnershipArn(std::move(value)); return *this;}
76 inline CreatePartnershipResult& 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 CreatePartnershipResult& WithName(const Aws::String& value) { SetName(value); return *this;}
88 inline CreatePartnershipResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
89 inline CreatePartnershipResult& 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 CreatePartnershipResult& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
101 inline CreatePartnershipResult& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
102 inline CreatePartnershipResult& 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 CreatePartnershipResult& WithPhone(const Aws::String& value) { SetPhone(value); return *this;}
114 inline CreatePartnershipResult& WithPhone(Aws::String&& value) { SetPhone(std::move(value)); return *this;}
115 inline CreatePartnershipResult& 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 CreatePartnershipResult& WithCapabilities(Aws::Vector<Aws::String>&& value) { SetCapabilities(std::move(value)); return *this;}
127 inline CreatePartnershipResult& AddCapabilities(const Aws::String& value) { m_capabilities.push_back(value); return *this; }
128 inline CreatePartnershipResult& AddCapabilities(Aws::String&& value) { m_capabilities.push_back(std::move(value)); return *this; }
129 inline CreatePartnershipResult& 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 CreatePartnershipResult& 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 CreatePartnershipResult& WithTradingPartnerId(Aws::String&& value) { SetTradingPartnerId(std::move(value)); return *this;}
154 inline CreatePartnershipResult& WithTradingPartnerId(const char* value) { SetTradingPartnerId(value); return *this;}
156
158
161 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
162 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
163 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
164 inline CreatePartnershipResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
165 inline CreatePartnershipResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
167
169
170 inline const Aws::String& GetRequestId() const{ return m_requestId; }
171 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
172 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
173 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
174 inline CreatePartnershipResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
175 inline CreatePartnershipResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
176 inline CreatePartnershipResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
178 private:
179
180 Aws::String m_profileId;
181
182 Aws::String m_partnershipId;
183
184 Aws::String m_partnershipArn;
185
186 Aws::String m_name;
187
188 Aws::String m_email;
189
190 Aws::String m_phone;
191
192 Aws::Vector<Aws::String> m_capabilities;
193
194 CapabilityOptions m_capabilityOptions;
195
196 Aws::String m_tradingPartnerId;
197
198 Aws::Utils::DateTime m_createdAt;
199
200 Aws::String m_requestId;
201 };
202
203} // namespace Model
204} // namespace B2BI
205} // namespace Aws
const Aws::Utils::DateTime & GetCreatedAt() const
CreatePartnershipResult & WithCapabilityOptions(CapabilityOptions &&value)
CreatePartnershipResult & WithProfileId(Aws::String &&value)
void SetTradingPartnerId(const Aws::String &value)
CreatePartnershipResult & WithPhone(const Aws::String &value)
void SetCapabilityOptions(CapabilityOptions &&value)
CreatePartnershipResult & WithCapabilities(Aws::Vector< Aws::String > &&value)
void SetPartnershipArn(const Aws::String &value)
CreatePartnershipResult & WithName(const Aws::String &value)
CreatePartnershipResult & AddCapabilities(const char *value)
AWS_B2BI_API CreatePartnershipResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const CapabilityOptions & GetCapabilityOptions() const
CreatePartnershipResult & WithEmail(Aws::String &&value)
CreatePartnershipResult & WithRequestId(const Aws::String &value)
CreatePartnershipResult & WithTradingPartnerId(const Aws::String &value)
CreatePartnershipResult & WithPhone(const char *value)
CreatePartnershipResult & AddCapabilities(Aws::String &&value)
void SetPartnershipId(const Aws::String &value)
CreatePartnershipResult & WithPartnershipArn(const Aws::String &value)
CreatePartnershipResult & WithPartnershipArn(Aws::String &&value)
CreatePartnershipResult & WithCreatedAt(const Aws::Utils::DateTime &value)
CreatePartnershipResult & WithPartnershipId(const char *value)
CreatePartnershipResult & WithPartnershipId(const Aws::String &value)
CreatePartnershipResult & WithName(Aws::String &&value)
void SetCapabilities(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetCapabilities() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetCapabilities(const Aws::Vector< Aws::String > &value)
CreatePartnershipResult & WithProfileId(const Aws::String &value)
CreatePartnershipResult & WithEmail(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
CreatePartnershipResult & AddCapabilities(const Aws::String &value)
CreatePartnershipResult & WithPartnershipArn(const char *value)
CreatePartnershipResult & WithName(const char *value)
CreatePartnershipResult & WithEmail(const Aws::String &value)
CreatePartnershipResult & WithCapabilities(const Aws::Vector< Aws::String > &value)
CreatePartnershipResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetCapabilityOptions(const CapabilityOptions &value)
CreatePartnershipResult & WithCapabilityOptions(const CapabilityOptions &value)
CreatePartnershipResult & WithRequestId(const char *value)
CreatePartnershipResult & WithRequestId(Aws::String &&value)
CreatePartnershipResult & WithProfileId(const char *value)
AWS_B2BI_API CreatePartnershipResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePartnershipResult & WithPartnershipId(Aws::String &&value)
CreatePartnershipResult & WithTradingPartnerId(const char *value)
CreatePartnershipResult & WithTradingPartnerId(Aws::String &&value)
CreatePartnershipResult & WithPhone(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