AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename SidewalkT = SidewalkUpdateAccount>
50 void SetSidewalk(SidewalkT&& value) { m_sidewalkHasBeenSet = true; m_sidewalk = std::forward<SidewalkT>(value); }
51 template<typename SidewalkT = SidewalkUpdateAccount>
52 UpdatePartnerAccountRequest& WithSidewalk(SidewalkT&& value) { SetSidewalk(std::forward<SidewalkT>(value)); return *this;}
54
56
59 inline const Aws::String& GetPartnerAccountId() const { return m_partnerAccountId; }
60 inline bool PartnerAccountIdHasBeenSet() const { return m_partnerAccountIdHasBeenSet; }
61 template<typename PartnerAccountIdT = Aws::String>
62 void SetPartnerAccountId(PartnerAccountIdT&& value) { m_partnerAccountIdHasBeenSet = true; m_partnerAccountId = std::forward<PartnerAccountIdT>(value); }
63 template<typename PartnerAccountIdT = Aws::String>
64 UpdatePartnerAccountRequest& WithPartnerAccountId(PartnerAccountIdT&& value) { SetPartnerAccountId(std::forward<PartnerAccountIdT>(value)); return *this;}
66
68
71 inline PartnerType GetPartnerType() const { return m_partnerType; }
72 inline bool PartnerTypeHasBeenSet() const { return m_partnerTypeHasBeenSet; }
73 inline void SetPartnerType(PartnerType value) { m_partnerTypeHasBeenSet = true; m_partnerType = value; }
76 private:
77
78 SidewalkUpdateAccount m_sidewalk;
79 bool m_sidewalkHasBeenSet = false;
80
81 Aws::String m_partnerAccountId;
82 bool m_partnerAccountIdHasBeenSet = false;
83
84 PartnerType m_partnerType{PartnerType::NOT_SET};
85 bool m_partnerTypeHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace IoTWireless
90} // 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