AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetPartnerAccountRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotwireless/IoTWirelessRequest.h>
9#include <aws/iotwireless/IoTWireless_EXPORTS.h>
10#include <aws/iotwireless/model/PartnerType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace IoTWireless {
19namespace Model {
20
24 public:
25 AWS_IOTWIRELESS_API GetPartnerAccountRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetPartnerAccount"; }
32
33 AWS_IOTWIRELESS_API Aws::String SerializePayload() const override;
34
35 AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
41 inline const Aws::String& GetPartnerAccountId() const { return m_partnerAccountId; }
42 inline bool PartnerAccountIdHasBeenSet() const { return m_partnerAccountIdHasBeenSet; }
43 template <typename PartnerAccountIdT = Aws::String>
44 void SetPartnerAccountId(PartnerAccountIdT&& value) {
45 m_partnerAccountIdHasBeenSet = true;
46 m_partnerAccountId = std::forward<PartnerAccountIdT>(value);
47 }
48 template <typename PartnerAccountIdT = Aws::String>
49 GetPartnerAccountRequest& WithPartnerAccountId(PartnerAccountIdT&& value) {
50 SetPartnerAccountId(std::forward<PartnerAccountIdT>(value));
51 return *this;
52 }
54
56
59 inline PartnerType GetPartnerType() const { return m_partnerType; }
60 inline bool PartnerTypeHasBeenSet() const { return m_partnerTypeHasBeenSet; }
61 inline void SetPartnerType(PartnerType value) {
62 m_partnerTypeHasBeenSet = true;
63 m_partnerType = value;
64 }
66 SetPartnerType(value);
67 return *this;
68 }
70 private:
71 Aws::String m_partnerAccountId;
72
73 PartnerType m_partnerType{PartnerType::NOT_SET};
74 bool m_partnerAccountIdHasBeenSet = false;
75 bool m_partnerTypeHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace IoTWireless
80} // 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