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>
52 template<
typename ProfileIdT = Aws::String>
53 void SetProfileId(ProfileIdT&& value) { m_profileIdHasBeenSet =
true; m_profileId = std::forward<ProfileIdT>(value); }
54 template<
typename ProfileIdT = Aws::String>
64 template<
typename PartnershipIdT = Aws::String>
65 void SetPartnershipId(PartnershipIdT&& value) { m_partnershipIdHasBeenSet =
true; m_partnershipId = std::forward<PartnershipIdT>(value); }
66 template<
typename PartnershipIdT = Aws::String>
76 template<
typename NameT = Aws::String>
77 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
78 template<
typename NameT = Aws::String>
88 template<
typename CapabilitiesT = Aws::Vector<Aws::String>>
89 void SetCapabilities(CapabilitiesT&& value) { m_capabilitiesHasBeenSet =
true; m_capabilities = std::forward<CapabilitiesT>(value); }
90 template<
typename CapabilitiesT = Aws::Vector<Aws::String>>
92 template<
typename CapabilitiesT = Aws::String>
93 PartnershipSummary&
AddCapabilities(CapabilitiesT&& value) { m_capabilitiesHasBeenSet =
true; m_capabilities.emplace_back(std::forward<CapabilitiesT>(value));
return *
this; }
100 template<
typename CapabilityOptionsT = CapabilityOptions>
101 void SetCapabilityOptions(CapabilityOptionsT&& value) { m_capabilityOptionsHasBeenSet =
true; m_capabilityOptions = std::forward<CapabilityOptionsT>(value); }
102 template<
typename CapabilityOptionsT = CapabilityOptions>
112 template<
typename TradingPartnerIdT = Aws::String>
113 void SetTradingPartnerId(TradingPartnerIdT&& value) { m_tradingPartnerIdHasBeenSet =
true; m_tradingPartnerId = std::forward<TradingPartnerIdT>(value); }
114 template<
typename TradingPartnerIdT = Aws::String>
124 template<
typename CreatedAtT = Aws::Utils::DateTime>
125 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
126 template<
typename CreatedAtT = Aws::Utils::DateTime>
137 template<
typename ModifiedAtT = Aws::Utils::DateTime>
138 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet =
true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
139 template<
typename ModifiedAtT = Aws::Utils::DateTime>
145 bool m_profileIdHasBeenSet =
false;
148 bool m_partnershipIdHasBeenSet =
false;
151 bool m_nameHasBeenSet =
false;
154 bool m_capabilitiesHasBeenSet =
false;
157 bool m_capabilityOptionsHasBeenSet =
false;
160 bool m_tradingPartnerIdHasBeenSet =
false;
163 bool m_createdAtHasBeenSet =
false;
166 bool m_modifiedAtHasBeenSet =
false;
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
PartnershipSummary & WithCapabilities(CapabilitiesT &&value)
bool CapabilitiesHasBeenSet() const
void SetCapabilityOptions(CapabilityOptionsT &&value)
bool ProfileIdHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
PartnershipSummary & WithName(NameT &&value)
const Aws::String & GetPartnershipId() const
void SetTradingPartnerId(TradingPartnerIdT &&value)
bool PartnershipIdHasBeenSet() const
bool CreatedAtHasBeenSet() const
PartnershipSummary & WithTradingPartnerId(TradingPartnerIdT &&value)
void SetName(NameT &&value)
const Aws::Utils::DateTime & GetModifiedAt() const
void SetModifiedAt(ModifiedAtT &&value)
const Aws::String & GetProfileId() const
bool TradingPartnerIdHasBeenSet() const
AWS_B2BI_API PartnershipSummary()=default
void SetProfileId(ProfileIdT &&value)
PartnershipSummary & WithModifiedAt(ModifiedAtT &&value)
const Aws::String & GetName() const
PartnershipSummary & WithCreatedAt(CreatedAtT &&value)
bool CapabilityOptionsHasBeenSet() const
AWS_B2BI_API PartnershipSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const CapabilityOptions & GetCapabilityOptions() const
PartnershipSummary & AddCapabilities(CapabilitiesT &&value)
const Aws::Vector< Aws::String > & GetCapabilities() const
PartnershipSummary & WithProfileId(ProfileIdT &&value)
PartnershipSummary & WithCapabilityOptions(CapabilityOptionsT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool NameHasBeenSet() const
PartnershipSummary & WithPartnershipId(PartnershipIdT &&value)
void SetPartnershipId(PartnershipIdT &&value)
AWS_B2BI_API PartnershipSummary(Aws::Utils::Json::JsonView jsonValue)
bool ModifiedAtHasBeenSet() const
void SetCapabilities(CapabilitiesT &&value)
const Aws::String & GetTradingPartnerId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue