AWS SDK for C++  1.9.109
AWS SDK for C++
DisassociateAwsAccountFromPartnerAccountRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace IoTWireless
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "DisassociateAwsAccountFromPartnerAccount"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
45  inline const Aws::String& GetPartnerAccountId() const{ return m_partnerAccountId; }
46 
50  inline bool PartnerAccountIdHasBeenSet() const { return m_partnerAccountIdHasBeenSet; }
51 
55  inline void SetPartnerAccountId(const Aws::String& value) { m_partnerAccountIdHasBeenSet = true; m_partnerAccountId = value; }
56 
60  inline void SetPartnerAccountId(Aws::String&& value) { m_partnerAccountIdHasBeenSet = true; m_partnerAccountId = std::move(value); }
61 
65  inline void SetPartnerAccountId(const char* value) { m_partnerAccountIdHasBeenSet = true; m_partnerAccountId.assign(value); }
66 
70  inline DisassociateAwsAccountFromPartnerAccountRequest& WithPartnerAccountId(const Aws::String& value) { SetPartnerAccountId(value); return *this;}
71 
75  inline DisassociateAwsAccountFromPartnerAccountRequest& WithPartnerAccountId(Aws::String&& value) { SetPartnerAccountId(std::move(value)); return *this;}
76 
80  inline DisassociateAwsAccountFromPartnerAccountRequest& WithPartnerAccountId(const char* value) { SetPartnerAccountId(value); return *this;}
81 
82 
86  inline const PartnerType& GetPartnerType() const{ return m_partnerType; }
87 
91  inline bool PartnerTypeHasBeenSet() const { return m_partnerTypeHasBeenSet; }
92 
96  inline void SetPartnerType(const PartnerType& value) { m_partnerTypeHasBeenSet = true; m_partnerType = value; }
97 
101  inline void SetPartnerType(PartnerType&& value) { m_partnerTypeHasBeenSet = true; m_partnerType = std::move(value); }
102 
106  inline DisassociateAwsAccountFromPartnerAccountRequest& WithPartnerType(const PartnerType& value) { SetPartnerType(value); return *this;}
107 
111  inline DisassociateAwsAccountFromPartnerAccountRequest& WithPartnerType(PartnerType&& value) { SetPartnerType(std::move(value)); return *this;}
112 
113  private:
114 
115  Aws::String m_partnerAccountId;
116  bool m_partnerAccountIdHasBeenSet;
117 
118  PartnerType m_partnerType;
119  bool m_partnerTypeHasBeenSet;
120  };
121 
122 } // namespace Model
123 } // namespace IoTWireless
124 } // namespace Aws
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::DisassociateAwsAccountFromPartnerAccountRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DisassociateAwsAccountFromPartnerAccountRequest.h:35
Aws::Http::URI
Definition: URI.h:32
Aws::IoTWireless::Model::DisassociateAwsAccountFromPartnerAccountRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTWireless::Model::DisassociateAwsAccountFromPartnerAccountRequest::WithPartnerType
DisassociateAwsAccountFromPartnerAccountRequest & WithPartnerType(PartnerType &&value)
Definition: DisassociateAwsAccountFromPartnerAccountRequest.h:111
Aws::IoTWireless::Model::PartnerType
PartnerType
Definition: PartnerType.h:17
Aws::IoTWireless::Model::DisassociateAwsAccountFromPartnerAccountRequest::SetPartnerAccountId
void SetPartnerAccountId(Aws::String &&value)
Definition: DisassociateAwsAccountFromPartnerAccountRequest.h:60
Aws::IoTWireless::Model::DisassociateAwsAccountFromPartnerAccountRequest::SetPartnerAccountId
void SetPartnerAccountId(const char *value)
Definition: DisassociateAwsAccountFromPartnerAccountRequest.h:65
Aws::IoTWireless::Model::DisassociateAwsAccountFromPartnerAccountRequest::PartnerAccountIdHasBeenSet
bool PartnerAccountIdHasBeenSet() const
Definition: DisassociateAwsAccountFromPartnerAccountRequest.h:50
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::DisassociateAwsAccountFromPartnerAccountRequest::WithPartnerAccountId
DisassociateAwsAccountFromPartnerAccountRequest & WithPartnerAccountId(const char *value)
Definition: DisassociateAwsAccountFromPartnerAccountRequest.h:80
Aws::IoTWireless::Model::DisassociateAwsAccountFromPartnerAccountRequest::GetPartnerType
const PartnerType & GetPartnerType() const
Definition: DisassociateAwsAccountFromPartnerAccountRequest.h:86
PartnerType.h
Aws::IoTWireless::IoTWirelessRequest
Definition: IoTWirelessRequest.h:17
AWSString.h
Aws::IoTWireless::Model::DisassociateAwsAccountFromPartnerAccountRequest::WithPartnerType
DisassociateAwsAccountFromPartnerAccountRequest & WithPartnerType(const PartnerType &value)
Definition: DisassociateAwsAccountFromPartnerAccountRequest.h:106
Aws::IoTWireless::Model::DisassociateAwsAccountFromPartnerAccountRequest::SetPartnerType
void SetPartnerType(PartnerType &&value)
Definition: DisassociateAwsAccountFromPartnerAccountRequest.h:101
Aws::IoTWireless::Model::DisassociateAwsAccountFromPartnerAccountRequest::DisassociateAwsAccountFromPartnerAccountRequest
DisassociateAwsAccountFromPartnerAccountRequest()
Aws::IoTWireless::Model::DisassociateAwsAccountFromPartnerAccountRequest::WithPartnerAccountId
DisassociateAwsAccountFromPartnerAccountRequest & WithPartnerAccountId(const Aws::String &value)
Definition: DisassociateAwsAccountFromPartnerAccountRequest.h:70
Aws::IoTWireless::Model::DisassociateAwsAccountFromPartnerAccountRequest::PartnerTypeHasBeenSet
bool PartnerTypeHasBeenSet() const
Definition: DisassociateAwsAccountFromPartnerAccountRequest.h:91
Aws::IoTWireless::Model::DisassociateAwsAccountFromPartnerAccountRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoTWireless::Model::DisassociateAwsAccountFromPartnerAccountRequest::WithPartnerAccountId
DisassociateAwsAccountFromPartnerAccountRequest & WithPartnerAccountId(Aws::String &&value)
Definition: DisassociateAwsAccountFromPartnerAccountRequest.h:75
Aws::IoTWireless::Model::DisassociateAwsAccountFromPartnerAccountRequest::SetPartnerAccountId
void SetPartnerAccountId(const Aws::String &value)
Definition: DisassociateAwsAccountFromPartnerAccountRequest.h:55
Aws
Definition: AccessManagementClient.h:15
IoTWirelessRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::DisassociateAwsAccountFromPartnerAccountRequest::SetPartnerType
void SetPartnerType(const PartnerType &value)
Definition: DisassociateAwsAccountFromPartnerAccountRequest.h:96
Aws::IoTWireless::Model::DisassociateAwsAccountFromPartnerAccountRequest::GetPartnerAccountId
const Aws::String & GetPartnerAccountId() const
Definition: DisassociateAwsAccountFromPartnerAccountRequest.h:45
Aws::IoTWireless::Model::DisassociateAwsAccountFromPartnerAccountRequest
Definition: DisassociateAwsAccountFromPartnerAccountRequest.h:27