AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename PartnerAccountIdT = Aws::String>
49 void SetPartnerAccountId(PartnerAccountIdT&& value) { m_partnerAccountIdHasBeenSet = true; m_partnerAccountId = std::forward<PartnerAccountIdT>(value); }
50 template<typename PartnerAccountIdT = Aws::String>
51 GetPartnerAccountRequest& WithPartnerAccountId(PartnerAccountIdT&& value) { SetPartnerAccountId(std::forward<PartnerAccountIdT>(value)); return *this;}
53
55
58 inline PartnerType GetPartnerType() const { return m_partnerType; }
59 inline bool PartnerTypeHasBeenSet() const { return m_partnerTypeHasBeenSet; }
60 inline void SetPartnerType(PartnerType value) { m_partnerTypeHasBeenSet = true; m_partnerType = value; }
63 private:
64
65 Aws::String m_partnerAccountId;
66 bool m_partnerAccountIdHasBeenSet = false;
67
68 PartnerType m_partnerType{PartnerType::NOT_SET};
69 bool m_partnerTypeHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace IoTWireless
74} // namespace Aws
GetPartnerAccountRequest & WithPartnerType(PartnerType value)
AWS_IOTWIRELESS_API GetPartnerAccountRequest()=default
GetPartnerAccountRequest & WithPartnerAccountId(PartnerAccountIdT &&value)
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
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