AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PartnershipSummary.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{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace B2BI
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_B2BI_API PartnershipSummary();
43
44
46
50 inline const Aws::String& GetProfileId() const{ return m_profileId; }
51 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
52 inline void SetProfileId(const Aws::String& value) { m_profileIdHasBeenSet = true; m_profileId = value; }
53 inline void SetProfileId(Aws::String&& value) { m_profileIdHasBeenSet = true; m_profileId = std::move(value); }
54 inline void SetProfileId(const char* value) { m_profileIdHasBeenSet = true; m_profileId.assign(value); }
55 inline PartnershipSummary& WithProfileId(const Aws::String& value) { SetProfileId(value); return *this;}
56 inline PartnershipSummary& WithProfileId(Aws::String&& value) { SetProfileId(std::move(value)); return *this;}
57 inline PartnershipSummary& WithProfileId(const char* value) { SetProfileId(value); return *this;}
59
61
64 inline const Aws::String& GetPartnershipId() const{ return m_partnershipId; }
65 inline bool PartnershipIdHasBeenSet() const { return m_partnershipIdHasBeenSet; }
66 inline void SetPartnershipId(const Aws::String& value) { m_partnershipIdHasBeenSet = true; m_partnershipId = value; }
67 inline void SetPartnershipId(Aws::String&& value) { m_partnershipIdHasBeenSet = true; m_partnershipId = std::move(value); }
68 inline void SetPartnershipId(const char* value) { m_partnershipIdHasBeenSet = true; m_partnershipId.assign(value); }
69 inline PartnershipSummary& WithPartnershipId(const Aws::String& value) { SetPartnershipId(value); return *this;}
70 inline PartnershipSummary& WithPartnershipId(Aws::String&& value) { SetPartnershipId(std::move(value)); return *this;}
71 inline PartnershipSummary& WithPartnershipId(const char* value) { SetPartnershipId(value); return *this;}
73
75
78 inline const Aws::String& GetName() const{ return m_name; }
79 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
80 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
81 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
82 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
83 inline PartnershipSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
84 inline PartnershipSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
85 inline PartnershipSummary& WithName(const char* value) { SetName(value); return *this;}
87
89
92 inline const Aws::Vector<Aws::String>& GetCapabilities() const{ return m_capabilities; }
93 inline bool CapabilitiesHasBeenSet() const { return m_capabilitiesHasBeenSet; }
94 inline void SetCapabilities(const Aws::Vector<Aws::String>& value) { m_capabilitiesHasBeenSet = true; m_capabilities = value; }
95 inline void SetCapabilities(Aws::Vector<Aws::String>&& value) { m_capabilitiesHasBeenSet = true; m_capabilities = std::move(value); }
96 inline PartnershipSummary& WithCapabilities(const Aws::Vector<Aws::String>& value) { SetCapabilities(value); return *this;}
97 inline PartnershipSummary& WithCapabilities(Aws::Vector<Aws::String>&& value) { SetCapabilities(std::move(value)); return *this;}
98 inline PartnershipSummary& AddCapabilities(const Aws::String& value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(value); return *this; }
99 inline PartnershipSummary& AddCapabilities(Aws::String&& value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(std::move(value)); return *this; }
100 inline PartnershipSummary& AddCapabilities(const char* value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(value); return *this; }
102
104
105 inline const CapabilityOptions& GetCapabilityOptions() const{ return m_capabilityOptions; }
106 inline bool CapabilityOptionsHasBeenSet() const { return m_capabilityOptionsHasBeenSet; }
107 inline void SetCapabilityOptions(const CapabilityOptions& value) { m_capabilityOptionsHasBeenSet = true; m_capabilityOptions = value; }
108 inline void SetCapabilityOptions(CapabilityOptions&& value) { m_capabilityOptionsHasBeenSet = true; m_capabilityOptions = std::move(value); }
110 inline PartnershipSummary& WithCapabilityOptions(CapabilityOptions&& value) { SetCapabilityOptions(std::move(value)); return *this;}
112
114
117 inline const Aws::String& GetTradingPartnerId() const{ return m_tradingPartnerId; }
118 inline bool TradingPartnerIdHasBeenSet() const { return m_tradingPartnerIdHasBeenSet; }
119 inline void SetTradingPartnerId(const Aws::String& value) { m_tradingPartnerIdHasBeenSet = true; m_tradingPartnerId = value; }
120 inline void SetTradingPartnerId(Aws::String&& value) { m_tradingPartnerIdHasBeenSet = true; m_tradingPartnerId = std::move(value); }
121 inline void SetTradingPartnerId(const char* value) { m_tradingPartnerIdHasBeenSet = true; m_tradingPartnerId.assign(value); }
122 inline PartnershipSummary& WithTradingPartnerId(const Aws::String& value) { SetTradingPartnerId(value); return *this;}
123 inline PartnershipSummary& WithTradingPartnerId(Aws::String&& value) { SetTradingPartnerId(std::move(value)); return *this;}
124 inline PartnershipSummary& WithTradingPartnerId(const char* value) { SetTradingPartnerId(value); return *this;}
126
128
131 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
132 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
133 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
134 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
135 inline PartnershipSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
136 inline PartnershipSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
138
140
144 inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; }
145 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
146 inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = value; }
147 inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::move(value); }
148 inline PartnershipSummary& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;}
149 inline PartnershipSummary& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;}
151 private:
152
153 Aws::String m_profileId;
154 bool m_profileIdHasBeenSet = false;
155
156 Aws::String m_partnershipId;
157 bool m_partnershipIdHasBeenSet = false;
158
159 Aws::String m_name;
160 bool m_nameHasBeenSet = false;
161
162 Aws::Vector<Aws::String> m_capabilities;
163 bool m_capabilitiesHasBeenSet = false;
164
165 CapabilityOptions m_capabilityOptions;
166 bool m_capabilityOptionsHasBeenSet = false;
167
168 Aws::String m_tradingPartnerId;
169 bool m_tradingPartnerIdHasBeenSet = false;
170
171 Aws::Utils::DateTime m_createdAt;
172 bool m_createdAtHasBeenSet = false;
173
174 Aws::Utils::DateTime m_modifiedAt;
175 bool m_modifiedAtHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace B2BI
180} // namespace Aws
PartnershipSummary & WithTradingPartnerId(Aws::String &&value)
PartnershipSummary & WithModifiedAt(Aws::Utils::DateTime &&value)
PartnershipSummary & AddCapabilities(const char *value)
PartnershipSummary & AddCapabilities(Aws::String &&value)
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
PartnershipSummary & WithPartnershipId(Aws::String &&value)
void SetTradingPartnerId(const Aws::String &value)
PartnershipSummary & WithTradingPartnerId(const char *value)
void SetCapabilityOptions(const CapabilityOptions &value)
PartnershipSummary & WithPartnershipId(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
PartnershipSummary & WithModifiedAt(const Aws::Utils::DateTime &value)
void SetName(const Aws::String &value)
PartnershipSummary & WithCapabilities(const Aws::Vector< Aws::String > &value)
PartnershipSummary & WithCapabilityOptions(const CapabilityOptions &value)
PartnershipSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetPartnershipId() const
PartnershipSummary & WithName(const Aws::String &value)
void SetTradingPartnerId(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetCapabilities(const Aws::Vector< Aws::String > &value)
const Aws::Utils::DateTime & GetModifiedAt() const
const Aws::String & GetProfileId() const
PartnershipSummary & AddCapabilities(const Aws::String &value)
void SetModifiedAt(Aws::Utils::DateTime &&value)
PartnershipSummary & WithProfileId(const char *value)
void SetModifiedAt(const Aws::Utils::DateTime &value)
void SetCapabilities(Aws::Vector< Aws::String > &&value)
void SetTradingPartnerId(const char *value)
PartnershipSummary & WithName(Aws::String &&value)
void SetPartnershipId(const Aws::String &value)
const Aws::String & GetName() const
PartnershipSummary & WithCapabilityOptions(CapabilityOptions &&value)
PartnershipSummary & WithPartnershipId(const Aws::String &value)
PartnershipSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_B2BI_API PartnershipSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const CapabilityOptions & GetCapabilityOptions() const
void SetCapabilityOptions(CapabilityOptions &&value)
const Aws::Vector< Aws::String > & GetCapabilities() const
void SetProfileId(const Aws::String &value)
PartnershipSummary & WithProfileId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
PartnershipSummary & WithName(const char *value)
PartnershipSummary & WithProfileId(const Aws::String &value)
PartnershipSummary & WithTradingPartnerId(const Aws::String &value)
void SetProfileId(Aws::String &&value)
PartnershipSummary & WithCapabilities(Aws::Vector< Aws::String > &&value)
AWS_B2BI_API PartnershipSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTradingPartnerId() const
void SetPartnershipId(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