AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetPartnerAccountRequest.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/IoTWirelessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotwireless/model/PartnerType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace IoTWireless
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_IOTWIRELESS_API GetPartnerAccountRequest();
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 "GetPartnerAccount"; }
36
37 AWS_IOTWIRELESS_API Aws::String SerializePayload() const override;
38
39 AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetPartnerAccountId() const{ return m_partnerAccountId; }
47 inline bool PartnerAccountIdHasBeenSet() const { return m_partnerAccountIdHasBeenSet; }
48 inline void SetPartnerAccountId(const Aws::String& value) { m_partnerAccountIdHasBeenSet = true; m_partnerAccountId = value; }
49 inline void SetPartnerAccountId(Aws::String&& value) { m_partnerAccountIdHasBeenSet = true; m_partnerAccountId = std::move(value); }
50 inline void SetPartnerAccountId(const char* value) { m_partnerAccountIdHasBeenSet = true; m_partnerAccountId.assign(value); }
52 inline GetPartnerAccountRequest& WithPartnerAccountId(Aws::String&& value) { SetPartnerAccountId(std::move(value)); return *this;}
53 inline GetPartnerAccountRequest& WithPartnerAccountId(const char* value) { SetPartnerAccountId(value); return *this;}
55
57
60 inline const PartnerType& GetPartnerType() const{ return m_partnerType; }
61 inline bool PartnerTypeHasBeenSet() const { return m_partnerTypeHasBeenSet; }
62 inline void SetPartnerType(const PartnerType& value) { m_partnerTypeHasBeenSet = true; m_partnerType = value; }
63 inline void SetPartnerType(PartnerType&& value) { m_partnerTypeHasBeenSet = true; m_partnerType = std::move(value); }
64 inline GetPartnerAccountRequest& WithPartnerType(const PartnerType& value) { SetPartnerType(value); return *this;}
65 inline GetPartnerAccountRequest& WithPartnerType(PartnerType&& value) { SetPartnerType(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_partnerAccountId;
70 bool m_partnerAccountIdHasBeenSet = false;
71
72 PartnerType m_partnerType;
73 bool m_partnerTypeHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace IoTWireless
78} // namespace Aws
GetPartnerAccountRequest & WithPartnerAccountId(const char *value)
GetPartnerAccountRequest & WithPartnerAccountId(Aws::String &&value)
GetPartnerAccountRequest & WithPartnerType(const PartnerType &value)
GetPartnerAccountRequest & WithPartnerAccountId(const Aws::String &value)
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
GetPartnerAccountRequest & WithPartnerType(PartnerType &&value)
AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String