AWS SDK for C++  1.9.108
AWS SDK for C++
UpdatePartnerAccountRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Http
17 {
18  class URI;
19 } //namespace Http
20 namespace IoTWireless
21 {
22 namespace Model
23 {
24 
28  {
29  public:
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::String SerializePayload() const override;
39 
40  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41 
42 
46  inline const SidewalkUpdateAccount& GetSidewalk() const{ return m_sidewalk; }
47 
51  inline bool SidewalkHasBeenSet() const { return m_sidewalkHasBeenSet; }
52 
56  inline void SetSidewalk(const SidewalkUpdateAccount& value) { m_sidewalkHasBeenSet = true; m_sidewalk = value; }
57 
61  inline void SetSidewalk(SidewalkUpdateAccount&& value) { m_sidewalkHasBeenSet = true; m_sidewalk = std::move(value); }
62 
66  inline UpdatePartnerAccountRequest& WithSidewalk(const SidewalkUpdateAccount& value) { SetSidewalk(value); return *this;}
67 
71  inline UpdatePartnerAccountRequest& WithSidewalk(SidewalkUpdateAccount&& value) { SetSidewalk(std::move(value)); return *this;}
72 
73 
77  inline const Aws::String& GetPartnerAccountId() const{ return m_partnerAccountId; }
78 
82  inline bool PartnerAccountIdHasBeenSet() const { return m_partnerAccountIdHasBeenSet; }
83 
87  inline void SetPartnerAccountId(const Aws::String& value) { m_partnerAccountIdHasBeenSet = true; m_partnerAccountId = value; }
88 
92  inline void SetPartnerAccountId(Aws::String&& value) { m_partnerAccountIdHasBeenSet = true; m_partnerAccountId = std::move(value); }
93 
97  inline void SetPartnerAccountId(const char* value) { m_partnerAccountIdHasBeenSet = true; m_partnerAccountId.assign(value); }
98 
102  inline UpdatePartnerAccountRequest& WithPartnerAccountId(const Aws::String& value) { SetPartnerAccountId(value); return *this;}
103 
107  inline UpdatePartnerAccountRequest& WithPartnerAccountId(Aws::String&& value) { SetPartnerAccountId(std::move(value)); return *this;}
108 
112  inline UpdatePartnerAccountRequest& WithPartnerAccountId(const char* value) { SetPartnerAccountId(value); return *this;}
113 
114 
118  inline const PartnerType& GetPartnerType() const{ return m_partnerType; }
119 
123  inline bool PartnerTypeHasBeenSet() const { return m_partnerTypeHasBeenSet; }
124 
128  inline void SetPartnerType(const PartnerType& value) { m_partnerTypeHasBeenSet = true; m_partnerType = value; }
129 
133  inline void SetPartnerType(PartnerType&& value) { m_partnerTypeHasBeenSet = true; m_partnerType = std::move(value); }
134 
138  inline UpdatePartnerAccountRequest& WithPartnerType(const PartnerType& value) { SetPartnerType(value); return *this;}
139 
143  inline UpdatePartnerAccountRequest& WithPartnerType(PartnerType&& value) { SetPartnerType(std::move(value)); return *this;}
144 
145  private:
146 
147  SidewalkUpdateAccount m_sidewalk;
148  bool m_sidewalkHasBeenSet;
149 
150  Aws::String m_partnerAccountId;
151  bool m_partnerAccountIdHasBeenSet;
152 
153  PartnerType m_partnerType;
154  bool m_partnerTypeHasBeenSet;
155  };
156 
157 } // namespace Model
158 } // namespace IoTWireless
159 } // namespace Aws
Aws::IoTWireless::Model::UpdatePartnerAccountRequest::GetPartnerType
const PartnerType & GetPartnerType() const
Definition: UpdatePartnerAccountRequest.h:118
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::UpdatePartnerAccountRequest::SetPartnerAccountId
void SetPartnerAccountId(const Aws::String &value)
Definition: UpdatePartnerAccountRequest.h:87
Aws::IoTWireless::Model::UpdatePartnerAccountRequest::SetPartnerType
void SetPartnerType(const PartnerType &value)
Definition: UpdatePartnerAccountRequest.h:128
Aws::Http::URI
Definition: URI.h:32
Aws::IoTWireless::Model::UpdatePartnerAccountRequest::WithSidewalk
UpdatePartnerAccountRequest & WithSidewalk(SidewalkUpdateAccount &&value)
Definition: UpdatePartnerAccountRequest.h:71
Aws::IoTWireless::Model::UpdatePartnerAccountRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTWireless::Model::UpdatePartnerAccountRequest::WithPartnerAccountId
UpdatePartnerAccountRequest & WithPartnerAccountId(const char *value)
Definition: UpdatePartnerAccountRequest.h:112
Aws::IoTWireless::Model::UpdatePartnerAccountRequest::SetSidewalk
void SetSidewalk(const SidewalkUpdateAccount &value)
Definition: UpdatePartnerAccountRequest.h:56
Aws::IoTWireless::Model::UpdatePartnerAccountRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoTWireless::Model::UpdatePartnerAccountRequest::SetPartnerType
void SetPartnerType(PartnerType &&value)
Definition: UpdatePartnerAccountRequest.h:133
Aws::IoTWireless::Model::PartnerType
PartnerType
Definition: PartnerType.h:17
Aws::IoTWireless::Model::UpdatePartnerAccountRequest
Definition: UpdatePartnerAccountRequest.h:28
Aws::IoTWireless::Model::UpdatePartnerAccountRequest::WithPartnerAccountId
UpdatePartnerAccountRequest & WithPartnerAccountId(Aws::String &&value)
Definition: UpdatePartnerAccountRequest.h:107
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::UpdatePartnerAccountRequest::WithSidewalk
UpdatePartnerAccountRequest & WithSidewalk(const SidewalkUpdateAccount &value)
Definition: UpdatePartnerAccountRequest.h:66
Aws::IoTWireless::Model::UpdatePartnerAccountRequest::UpdatePartnerAccountRequest
UpdatePartnerAccountRequest()
Aws::IoTWireless::Model::UpdatePartnerAccountRequest::WithPartnerAccountId
UpdatePartnerAccountRequest & WithPartnerAccountId(const Aws::String &value)
Definition: UpdatePartnerAccountRequest.h:102
Aws::IoTWireless::Model::UpdatePartnerAccountRequest::WithPartnerType
UpdatePartnerAccountRequest & WithPartnerType(PartnerType &&value)
Definition: UpdatePartnerAccountRequest.h:143
SidewalkUpdateAccount.h
Aws::IoTWireless::Model::UpdatePartnerAccountRequest::PartnerTypeHasBeenSet
bool PartnerTypeHasBeenSet() const
Definition: UpdatePartnerAccountRequest.h:123
PartnerType.h
Aws::IoTWireless::Model::UpdatePartnerAccountRequest::GetSidewalk
const SidewalkUpdateAccount & GetSidewalk() const
Definition: UpdatePartnerAccountRequest.h:46
Aws::IoTWireless::IoTWirelessRequest
Definition: IoTWirelessRequest.h:17
AWSString.h
Aws::IoTWireless::Model::UpdatePartnerAccountRequest::SetSidewalk
void SetSidewalk(SidewalkUpdateAccount &&value)
Definition: UpdatePartnerAccountRequest.h:61
Aws::IoTWireless::Model::UpdatePartnerAccountRequest::SetPartnerAccountId
void SetPartnerAccountId(Aws::String &&value)
Definition: UpdatePartnerAccountRequest.h:92
Aws::IoTWireless::Model::UpdatePartnerAccountRequest::WithPartnerType
UpdatePartnerAccountRequest & WithPartnerType(const PartnerType &value)
Definition: UpdatePartnerAccountRequest.h:138
Aws::IoTWireless::Model::UpdatePartnerAccountRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdatePartnerAccountRequest.h:36
Aws::IoTWireless::Model::UpdatePartnerAccountRequest::GetPartnerAccountId
const Aws::String & GetPartnerAccountId() const
Definition: UpdatePartnerAccountRequest.h:77
Aws::IoTWireless::Model::UpdatePartnerAccountRequest::SetPartnerAccountId
void SetPartnerAccountId(const char *value)
Definition: UpdatePartnerAccountRequest.h:97
Aws
Definition: AccessManagementClient.h:15
IoTWirelessRequest.h
Aws::IoTWireless::Model::SidewalkUpdateAccount
Definition: SidewalkUpdateAccount.h:32
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::UpdatePartnerAccountRequest::PartnerAccountIdHasBeenSet
bool PartnerAccountIdHasBeenSet() const
Definition: UpdatePartnerAccountRequest.h:82
Aws::IoTWireless::Model::UpdatePartnerAccountRequest::SidewalkHasBeenSet
bool SidewalkHasBeenSet() const
Definition: UpdatePartnerAccountRequest.h:51