AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
UpdatePartnerAccountRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotwireless/IoTWirelessRequest.h>
9#include <aws/iotwireless/IoTWireless_EXPORTS.h>
10#include <aws/iotwireless/model/PartnerType.h>
11#include <aws/iotwireless/model/SidewalkUpdateAccount.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Http {
17class URI;
18} // namespace Http
19namespace IoTWireless {
20namespace Model {
21
25 public:
26 AWS_IOTWIRELESS_API UpdatePartnerAccountRequest() = default;
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 "UpdatePartnerAccount"; }
33
34 AWS_IOTWIRELESS_API Aws::String SerializePayload() const override;
35
36 AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
37
39
42 inline const SidewalkUpdateAccount& GetSidewalk() const { return m_sidewalk; }
43 inline bool SidewalkHasBeenSet() const { return m_sidewalkHasBeenSet; }
44 template <typename SidewalkT = SidewalkUpdateAccount>
45 void SetSidewalk(SidewalkT&& value) {
46 m_sidewalkHasBeenSet = true;
47 m_sidewalk = std::forward<SidewalkT>(value);
48 }
49 template <typename SidewalkT = SidewalkUpdateAccount>
51 SetSidewalk(std::forward<SidewalkT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetPartnerAccountId() const { return m_partnerAccountId; }
61 inline bool PartnerAccountIdHasBeenSet() const { return m_partnerAccountIdHasBeenSet; }
62 template <typename PartnerAccountIdT = Aws::String>
63 void SetPartnerAccountId(PartnerAccountIdT&& value) {
64 m_partnerAccountIdHasBeenSet = true;
65 m_partnerAccountId = std::forward<PartnerAccountIdT>(value);
66 }
67 template <typename PartnerAccountIdT = Aws::String>
69 SetPartnerAccountId(std::forward<PartnerAccountIdT>(value));
70 return *this;
71 }
73
75
78 inline PartnerType GetPartnerType() const { return m_partnerType; }
79 inline bool PartnerTypeHasBeenSet() const { return m_partnerTypeHasBeenSet; }
80 inline void SetPartnerType(PartnerType value) {
81 m_partnerTypeHasBeenSet = true;
82 m_partnerType = value;
83 }
85 SetPartnerType(value);
86 return *this;
87 }
89 private:
90 SidewalkUpdateAccount m_sidewalk;
91
92 Aws::String m_partnerAccountId;
93
94 PartnerType m_partnerType{PartnerType::NOT_SET};
95 bool m_sidewalkHasBeenSet = false;
96 bool m_partnerAccountIdHasBeenSet = false;
97 bool m_partnerTypeHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace IoTWireless
102} // namespace Aws
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
UpdatePartnerAccountRequest & WithSidewalk(SidewalkT &&value)
AWS_IOTWIRELESS_API UpdatePartnerAccountRequest()=default
UpdatePartnerAccountRequest & WithPartnerAccountId(PartnerAccountIdT &&value)
UpdatePartnerAccountRequest & WithPartnerType(PartnerType value)
AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String