AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdatePartnerAccountRequest.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/IoTWirelessRequest.h>
9#include <aws/iotwireless/model/SidewalkUpdateAccount.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/iotwireless/model/PartnerType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace IoTWireless
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_IOTWIRELESS_API UpdatePartnerAccountRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdatePartnerAccount"; }
37
38 AWS_IOTWIRELESS_API Aws::String SerializePayload() const override;
39
40 AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
47 inline const SidewalkUpdateAccount& GetSidewalk() const{ return m_sidewalk; }
48 inline bool SidewalkHasBeenSet() const { return m_sidewalkHasBeenSet; }
49 inline void SetSidewalk(const SidewalkUpdateAccount& value) { m_sidewalkHasBeenSet = true; m_sidewalk = value; }
50 inline void SetSidewalk(SidewalkUpdateAccount&& value) { m_sidewalkHasBeenSet = true; m_sidewalk = std::move(value); }
51 inline UpdatePartnerAccountRequest& WithSidewalk(const SidewalkUpdateAccount& value) { SetSidewalk(value); return *this;}
52 inline UpdatePartnerAccountRequest& WithSidewalk(SidewalkUpdateAccount&& value) { SetSidewalk(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetPartnerAccountId() const{ return m_partnerAccountId; }
60 inline bool PartnerAccountIdHasBeenSet() const { return m_partnerAccountIdHasBeenSet; }
61 inline void SetPartnerAccountId(const Aws::String& value) { m_partnerAccountIdHasBeenSet = true; m_partnerAccountId = value; }
62 inline void SetPartnerAccountId(Aws::String&& value) { m_partnerAccountIdHasBeenSet = true; m_partnerAccountId = std::move(value); }
63 inline void SetPartnerAccountId(const char* value) { m_partnerAccountIdHasBeenSet = true; m_partnerAccountId.assign(value); }
65 inline UpdatePartnerAccountRequest& WithPartnerAccountId(Aws::String&& value) { SetPartnerAccountId(std::move(value)); return *this;}
66 inline UpdatePartnerAccountRequest& WithPartnerAccountId(const char* value) { SetPartnerAccountId(value); return *this;}
68
70
73 inline const PartnerType& GetPartnerType() const{ return m_partnerType; }
74 inline bool PartnerTypeHasBeenSet() const { return m_partnerTypeHasBeenSet; }
75 inline void SetPartnerType(const PartnerType& value) { m_partnerTypeHasBeenSet = true; m_partnerType = value; }
76 inline void SetPartnerType(PartnerType&& value) { m_partnerTypeHasBeenSet = true; m_partnerType = std::move(value); }
77 inline UpdatePartnerAccountRequest& WithPartnerType(const PartnerType& value) { SetPartnerType(value); return *this;}
78 inline UpdatePartnerAccountRequest& WithPartnerType(PartnerType&& value) { SetPartnerType(std::move(value)); return *this;}
80 private:
81
82 SidewalkUpdateAccount m_sidewalk;
83 bool m_sidewalkHasBeenSet = false;
84
85 Aws::String m_partnerAccountId;
86 bool m_partnerAccountIdHasBeenSet = false;
87
88 PartnerType m_partnerType;
89 bool m_partnerTypeHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace IoTWireless
94} // namespace Aws
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
UpdatePartnerAccountRequest & WithSidewalk(const SidewalkUpdateAccount &value)
UpdatePartnerAccountRequest & WithSidewalk(SidewalkUpdateAccount &&value)
UpdatePartnerAccountRequest & WithPartnerType(const PartnerType &value)
UpdatePartnerAccountRequest & WithPartnerType(PartnerType &&value)
UpdatePartnerAccountRequest & WithPartnerAccountId(const char *value)
UpdatePartnerAccountRequest & WithPartnerAccountId(Aws::String &&value)
AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
UpdatePartnerAccountRequest & WithPartnerAccountId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String