AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdatePartnershipRequest.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/B2BIRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/b2bi/model/CapabilityOptions.h>
12#include <utility>
13
14namespace Aws
15{
16namespace B2BI
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdatePartnership"; }
33
34 AWS_B2BI_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetPartnershipId() const{ return m_partnershipId; }
44 inline bool PartnershipIdHasBeenSet() const { return m_partnershipIdHasBeenSet; }
45 inline void SetPartnershipId(const Aws::String& value) { m_partnershipIdHasBeenSet = true; m_partnershipId = value; }
46 inline void SetPartnershipId(Aws::String&& value) { m_partnershipIdHasBeenSet = true; m_partnershipId = std::move(value); }
47 inline void SetPartnershipId(const char* value) { m_partnershipIdHasBeenSet = true; m_partnershipId.assign(value); }
48 inline UpdatePartnershipRequest& WithPartnershipId(const Aws::String& value) { SetPartnershipId(value); return *this;}
49 inline UpdatePartnershipRequest& WithPartnershipId(Aws::String&& value) { SetPartnershipId(std::move(value)); return *this;}
50 inline UpdatePartnershipRequest& WithPartnershipId(const char* value) { SetPartnershipId(value); return *this;}
52
54
57 inline const Aws::String& GetName() const{ return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
60 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
62 inline UpdatePartnershipRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
63 inline UpdatePartnershipRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
64 inline UpdatePartnershipRequest& WithName(const char* value) { SetName(value); return *this;}
66
68
71 inline const Aws::Vector<Aws::String>& GetCapabilities() const{ return m_capabilities; }
72 inline bool CapabilitiesHasBeenSet() const { return m_capabilitiesHasBeenSet; }
73 inline void SetCapabilities(const Aws::Vector<Aws::String>& value) { m_capabilitiesHasBeenSet = true; m_capabilities = value; }
74 inline void SetCapabilities(Aws::Vector<Aws::String>&& value) { m_capabilitiesHasBeenSet = true; m_capabilities = std::move(value); }
76 inline UpdatePartnershipRequest& WithCapabilities(Aws::Vector<Aws::String>&& value) { SetCapabilities(std::move(value)); return *this;}
77 inline UpdatePartnershipRequest& AddCapabilities(const Aws::String& value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(value); return *this; }
78 inline UpdatePartnershipRequest& AddCapabilities(Aws::String&& value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(std::move(value)); return *this; }
79 inline UpdatePartnershipRequest& AddCapabilities(const char* value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(value); return *this; }
81
83
87 inline const CapabilityOptions& GetCapabilityOptions() const{ return m_capabilityOptions; }
88 inline bool CapabilityOptionsHasBeenSet() const { return m_capabilityOptionsHasBeenSet; }
89 inline void SetCapabilityOptions(const CapabilityOptions& value) { m_capabilityOptionsHasBeenSet = true; m_capabilityOptions = value; }
90 inline void SetCapabilityOptions(CapabilityOptions&& value) { m_capabilityOptionsHasBeenSet = true; m_capabilityOptions = std::move(value); }
92 inline UpdatePartnershipRequest& WithCapabilityOptions(CapabilityOptions&& value) { SetCapabilityOptions(std::move(value)); return *this;}
94 private:
95
96 Aws::String m_partnershipId;
97 bool m_partnershipIdHasBeenSet = false;
98
99 Aws::String m_name;
100 bool m_nameHasBeenSet = false;
101
102 Aws::Vector<Aws::String> m_capabilities;
103 bool m_capabilitiesHasBeenSet = false;
104
105 CapabilityOptions m_capabilityOptions;
106 bool m_capabilityOptionsHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace B2BI
111} // namespace Aws
UpdatePartnershipRequest & WithName(const Aws::String &value)
void SetCapabilities(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetCapabilities() const
UpdatePartnershipRequest & WithPartnershipId(const char *value)
UpdatePartnershipRequest & WithName(const char *value)
AWS_B2BI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdatePartnershipRequest & WithCapabilities(const Aws::Vector< Aws::String > &value)
UpdatePartnershipRequest & AddCapabilities(Aws::String &&value)
UpdatePartnershipRequest & WithPartnershipId(Aws::String &&value)
const CapabilityOptions & GetCapabilityOptions() const
UpdatePartnershipRequest & WithCapabilities(Aws::Vector< Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
void SetCapabilities(const Aws::Vector< Aws::String > &value)
AWS_B2BI_API Aws::String SerializePayload() const override
UpdatePartnershipRequest & WithCapabilityOptions(CapabilityOptions &&value)
UpdatePartnershipRequest & WithCapabilityOptions(const CapabilityOptions &value)
UpdatePartnershipRequest & AddCapabilities(const char *value)
UpdatePartnershipRequest & AddCapabilities(const Aws::String &value)
void SetCapabilityOptions(CapabilityOptions &&value)
void SetCapabilityOptions(const CapabilityOptions &value)
UpdatePartnershipRequest & WithName(Aws::String &&value)
UpdatePartnershipRequest & WithPartnershipId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector